aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/dctc
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/dctc')
-rw-r--r--net-p2p/dctc/Makefile10
-rw-r--r--net-p2p/dctc/distinfo2
-rw-r--r--net-p2p/dctc/pkg-plist2
3 files changed, 11 insertions, 3 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
diff --git a/net-p2p/dctc/distinfo b/net-p2p/dctc/distinfo
index a342421613f..b381a252e79 100644
--- a/net-p2p/dctc/distinfo
+++ b/net-p2p/dctc/distinfo
@@ -1 +1 @@
-MD5 (dctc-0.80.0.tar.gz) = 682843bf663a5c72ee57c6ef1c6a7c8c
+MD5 (dctc-0.80.5.tar.gz) = 3ad7828b3475e4f3b7e47fa9d0ed53a5
diff --git a/net-p2p/dctc/pkg-plist b/net-p2p/dctc/pkg-plist
index ce408983970..b6cec30010c 100644
--- a/net-p2p/dctc/pkg-plist
+++ b/net-p2p/dctc/pkg-plist
@@ -1,5 +1,6 @@
bin/dc_hublist
bin/dctc
+%%PORTDOCS%%share/dctc/ForcejoinGDL.pl
%%PORTDOCS%%share/doc/dctc/COPYING
%%PORTDOCS%%share/doc/dctc/ChangeLog
%%PORTDOCS%%share/doc/dctc/Documentation/BerkeleyDB
@@ -24,3 +25,4 @@ bin/dctc
%%PORTDOCS%%@dirrm share/doc/dctc/Documentation/DCextensions
%%PORTDOCS%%@dirrm share/doc/dctc/Documentation
%%PORTDOCS%%@dirrm share/doc/dctc
+%%PORTDOCS%%@dirrm share/dctc