aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/dctc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/dctc/Makefile')
-rw-r--r--net-p2p/dctc/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/net-p2p/dctc/Makefile b/net-p2p/dctc/Makefile
index 8f4b495396a..56dd0beeb90 100644
--- a/net-p2p/dctc/Makefile
+++ b/net-p2p/dctc/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= dctc
-PORTVERSION= 0.80
+PORTVERSION= 0.80.5
CATEGORIES= net
MASTER_SITES= http://ac2i.tzo.com/dctc/
-DISTNAME= ${PORTNAME}-${PORTVERSION}.0
+DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
@@ -18,6 +18,7 @@ LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4 \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_GLIB= yes
+USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
${PTHREAD_CFLAGS}" \
@@ -55,6 +56,8 @@ post-patch:
s|<(db.h>)|<db4/\1|'
@${PERL} -pi -e 's|(db)-|\1|g;s|db4.0|db4|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+ @${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' \
+ ${WRKSRC}/ForcejoinGDL.pl
pre-build:
@${ECHO_CMD} '#ifndef MSG_NOSIGNAL' >> ${CONFIGURE_WRKSRC}/config.h
@@ -76,6 +79,9 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/${file}
.endfor
.endif
+ @${MKDIR} ${PREFIX}/share/${PORTNAME}
+ @${INSTALL_SCRIPT} ${WRKSRC}/ForcejoinGDL.pl \
+ ${PREFIX}/share/${PORTNAME}
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
@${INSTALL_PROGRAM} ${WRKSRC}/src/hublist ${PREFIX}/bin/dc_hublist
@${INSTALL_PROGRAM} ${WRKSRC}/src/dctc ${PREFIX}/bin