diff options
Diffstat (limited to 'net-p2p/edonkey-gui-gtk-urlslave/Makefile')
-rw-r--r-- | net-p2p/edonkey-gui-gtk-urlslave/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net-p2p/edonkey-gui-gtk-urlslave/Makefile b/net-p2p/edonkey-gui-gtk-urlslave/Makefile new file mode 100644 index 0000000..4e9d735 --- /dev/null +++ b/net-p2p/edonkey-gui-gtk-urlslave/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: edonkey gtk gui link submitter +# Date created: Sat Feb 23 13:13:08 BRT 2002 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= edonkey +PORTVERSION= 0.0.2 +CATEGORIES= net +MASTER_SITES= http://ircnet.de/home/cru/ed2k_urlslave/dist/ +PKGNAMESUFFIX= -gui-gtk-urlslave +DISTNAME= ed2k_urlslave-v2 + +MAINTAINER= lioux@FreeBSD.org + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk +RUN_DEPENDS= ed2k_gui:${PORTSDIR}/net/edonkey-gui-gtk + +USE_PERL5= yes +NO_BUILD= yes + +BINARY_NAME= ed2k_urlslave + +post-extract: + @${GREP} '#' ${WRKSRC}/${BINARY_NAME} > ${WRKDIR}/README + +post-patch: + @${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/${BINARY_NAME} + +do-install: +.ifndef(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} + @${CHMOD} 0755 ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} + @${INSTALL_DATA} ${WRKDIR}/README ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} +.endif + @${INSTALL_SCRIPT} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin + +.include <bsd.port.mk> |