2013-07-27 18:06:25 +02:00
|
|
|
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
2003-02-21 15:32:44 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mldonkey
|
|
|
|
PORTVERSION= 0.0.1
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 4
|
2006-01-30 22:36:28 +01:00
|
|
|
CATEGORIES= net-p2p perl5
|
2005-10-10 05:17:13 +02:00
|
|
|
MASTER_SITES= http://home.ircnet.de/cru/ed2k_urlslave/dist/
|
2003-02-21 15:32:44 +01:00
|
|
|
PKGNAMESUFFIX= -urlslave
|
|
|
|
DISTNAME= mlurlslave-v${PORTVERSION:S/^0.0.//}
|
|
|
|
|
2011-07-24 20:06:52 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 15:32:44 +01:00
|
|
|
COMMENT= GTK+ enabled Perl script for adding ed2k:// links to MLDonkey
|
|
|
|
|
2012-06-28 20:37:23 +02:00
|
|
|
BUILD_DEPENDS= p5-Gtk>=0:${PORTSDIR}/x11-toolkits/p5-Gtk
|
2003-02-21 15:32:44 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2013-08-03 10:45:51 +02:00
|
|
|
USES= shebangfix perl5
|
2013-07-27 18:06:25 +02:00
|
|
|
SHEBANG_FILES= ${BINARY_NAME}
|
2003-02-21 15:32:44 +01:00
|
|
|
|
|
|
|
BINARY_NAME= mlurlslave
|
|
|
|
|
2013-09-21 00:28:25 +02:00
|
|
|
NO_STAGE= yes
|
2003-02-21 15:32:44 +01:00
|
|
|
post-extract:
|
|
|
|
@${GREP} '^#' ${WRKSRC}/${BINARY_NAME} | ${GREP} -v '/usr/bin/perl' > ${WRKDIR}/README
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${SED} -e 's|/usr/local/|${PREFIX}/|' ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|