aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/amule-devel
diff options
context:
space:
mode:
authorBarbara Guida <bar@FreeBSD.org>2013-10-05 10:18:20 +0000
committerBarbara Guida <bar@FreeBSD.org>2013-10-05 10:18:20 +0000
commit83e0141ea6fe8baab2af6181739aa440cb0b1b68 (patch)
treeafbdffe8f9d5c0418a32eae18603b88bdde5fb35 /net-p2p/amule-devel
parentab775d63f58ab91df559f769e1cc44fa9f42eb5b (diff)
downloadports-83e0141ea6fe8baab2af6181739aa440cb0b1b68.tar.gz
ports-83e0141ea6fe8baab2af6181739aa440cb0b1b68.zip
Notes
Diffstat (limited to 'net-p2p/amule-devel')
-rw-r--r--net-p2p/amule-devel/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/net-p2p/amule-devel/Makefile b/net-p2p/amule-devel/Makefile
index d04cb978c7ef..399798ce25fc 100644
--- a/net-p2p/amule-devel/Makefile
+++ b/net-p2p/amule-devel/Makefile
@@ -3,7 +3,7 @@
PORTNAME= amule
PORTVERSION= 10802
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-p2p
MASTER_SITES= http://amule.sourceforge.net/tarballs/
PKGNAMESUFFIX= -devel
@@ -23,8 +23,8 @@ BUILD_DEPENDS= ${FLEX}:${PORTSDIR}/textproc/flex \
CONFLICTS= amule-[0-9]*
USE_BZIP2= yes
-USES= bison pkgconfig
-USE_GMAKE= yes
+USES= bison gmake pkgconfig perl5 shebangfix
+USE_PERL5= build
USE_WX= 2.8
WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
@@ -63,6 +63,8 @@ PORTDOCS= ABOUT-NLS Changelog EC_Protocol.txt INSTALL README TODO \
FLEX?= ${LOCALBASE}/bin/flex
+SHEBANG_FILES= src/utils/scripts/*.pl src/utils/xas/*.pl src/libs/ec/*.pl
+
NO_STAGE= yes
.include <bsd.port.options.mk>
@@ -121,7 +123,7 @@ PLIST_SUB+= AMULEGUI="@comment "
.if ${PORT_OPTIONS:MCAS}
CONFIGURE_ARGS+= --enable-cas
-LIB_DEPENDS+= gd:${PORTSDIR}/graphics/gd
+LIB_DEPENDS+= libgd.so:${PORTSDIR}/graphics/gd
PLIST_SUB+= CAS=""
.else
CONFIGURE_ARGS+= --disable-cas
@@ -147,7 +149,7 @@ PLIST_SUB+= FILEVIEW="@comment "
.if ${PORT_OPTIONS:MGEOIP}
CONFIGURE_ARGS+= --enable-geoip
-LIB_DEPENDS+= GeoIP:${PORTSDIR}/net/GeoIP
+LIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP
.else
CONFIGURE_ARGS+= --disable-geoip
.endif
@@ -184,7 +186,7 @@ PLIST_SUB+= PLASMAMULE="@comment "
.endif
.if ${PORT_OPTIONS:MUPNP}
-LIB_DEPENDS+= upnp:${PORTSDIR}/devel/upnp
+LIB_DEPENDS+= libupnp.so:${PORTSDIR}/devel/upnp
.else
CONFIGURE_ARGS+= --disable-upnp
.endif
@@ -210,6 +212,7 @@ WX_UNICODE= yes
.endif
.if ${PORT_OPTIONS:MXAS}
+USE_PERL5+= run
CONFIGURE_ARGS+= --enable-xas
PLIST_SUB+= XAS=""
.else
@@ -225,8 +228,6 @@ post-patch: .SILENT
-e 's/test.*-print-file-name.*`/true/' \
-e '/if.*test/s/==/=/' \
${WRKSRC}/configure
- ${FIND} ${WRKSRC} -name \*.pl -exec ${REINPLACE_CMD} \
- 's|/usr/bin/perl|${PERL}|' {} +
.if empty(PORT_OPTIONS:MDOCS)
${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' \
${WRKSRC}/docs/Makefile.in