summaryrefslogtreecommitdiff
path: root/net-p2p/xmule/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-11-14 23:59:23 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-11-14 23:59:23 +0000
commite7b0462c0a2e86b95d6d83e21ce6b7ab9f323170 (patch)
tree9d3915f6c1b7b62ac97a0576e00a3de886a71ad4 /net-p2p/xmule/Makefile
parent- use Net::NNTP from p5-Net instead of system perl (diff)
Update to 1.9.4b
Notes
Notes: svn path=/head/; revision=121620
Diffstat (limited to 'net-p2p/xmule/Makefile')
-rw-r--r--net-p2p/xmule/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/net-p2p/xmule/Makefile b/net-p2p/xmule/Makefile
index 8f7d9c1814a3..1db99d72c1a9 100644
--- a/net-p2p/xmule/Makefile
+++ b/net-p2p/xmule/Makefile
@@ -6,11 +6,12 @@
#
PORTNAME= xmule
-PORTVERSION= 1.8.2
-PORTREVISION= 1
+PORTVERSION= 1.9.4.b
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES= http://download.berlios.de/%SUBDIR%/
MASTER_SITE_SUBDIR= xmule
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= lioux@FreeBSD.org
COMMENT= Port of eMule eDonkey P2P client using wxWindows class library
@@ -34,7 +35,7 @@ CONFIGURE_ARGS= --without-included-gettext \
--with-libintl-prefix=${LOCALBASE} \
--enable-debug \
--with-wx-config=${WX_CONFIG}
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
MAKE_ENV= CC="${CC}" CXX="${CXX}"
@@ -74,14 +75,19 @@ pre-configure:
${XARGS} -x -n 10 \
${REINPLACE_CMD} -E \
-e 's!^(AUTOCONF|AUTOHEADER|AUTOMAKE|ACLOCAL).*$$!\1=${TRUE}!'
+ @${REINPLACE_CMD} -E \
+ -e 's|^(CXXFLAGS.*)$$|\1 -I${LOCALBASE}/include|' \
+ ${WRKSRC}/xLibs/xrc/xrc.make.in
post-install:
# install xmule binary
- @${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \
+ @${INSTALL_PROGRAM} \
+ ${WRKSRC}/${PORTNAME} \
${PREFIX}/bin
# do not install a generic named ed2k binary
# install it under a more specific name
- @${INSTALL_PROGRAM} ${WRKSRC}/src/ed2k \
+ @${INSTALL_PROGRAM} \
+ ${WRKSRC}/ed2k \
${PREFIX}/bin/${PORTNAME}-ed2k-handler
.include <bsd.port.mk>