2002-06-10 01:45:36 +00:00
|
|
|
# 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
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 7
|
2006-01-30 21:36:28 +00:00
|
|
|
CATEGORIES= net-p2p
|
2005-07-13 23:10:02 +00:00
|
|
|
MASTER_SITES= http://home.ircnet.de/cru/ed2k_urlslave/dist/
|
2002-06-10 01:45:36 +00:00
|
|
|
PKGNAMESUFFIX= -gui-gtk-urlslave
|
|
|
|
DISTNAME= ed2k_urlslave-v2
|
|
|
|
|
2005-03-13 01:21:03 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-23 19:58:35 +00:00
|
|
|
COMMENT= GTK+ enabled Perl script for adding ed2k:// links to ed2k GTK+ GUI
|
2002-06-10 01:45:36 +00:00
|
|
|
|
2003-10-24 12:05:09 +00:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
|
2006-01-30 21:36:28 +00:00
|
|
|
RUN_DEPENDS= ed2k_gui:${PORTSDIR}/net-p2p/edonkey-gui-gtk
|
2002-06-10 01:45:36 +00:00
|
|
|
|
|
|
|
USE_PERL5= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
BINARY_NAME= ed2k_urlslave
|
|
|
|
|
|
|
|
post-extract:
|
2003-02-21 14:37:18 +00:00
|
|
|
@${GREP} '^#' ${WRKSRC}/${BINARY_NAME} | ${GREP} -v '/usr/bin/perl' > ${WRKDIR}/README
|
2002-06-10 01:45:36 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2003-02-21 14:37:18 +00:00
|
|
|
post-install:
|
|
|
|
@${SED} -e 's|/usr/local/|${PREFIX}/|' ${PKGMESSAGE}
|
|
|
|
|
2002-06-10 01:45:36 +00:00
|
|
|
.include <bsd.port.mk>
|