aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/dctc
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-05-09 16:43:46 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-05-09 16:43:46 +0000
commitd06daf6bfd4d77e1340721632cbe2ec717d60ec3 (patch)
tree45d83bd61ae7294c96d4890626ac723d07e59a62 /net-p2p/dctc
parentefa7952a2b7e777017baf4723a9091e977e4ebfb (diff)
downloadports-d06daf6bfd4d77e1340721632cbe2ec717d60ec3.tar.gz
ports-d06daf6bfd4d77e1340721632cbe2ec717d60ec3.zip
Notes
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 8f4b495396a3..56dd0beeb906 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 a342421613f8..b381a252e792 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 ce4089839701..b6cec30010c7 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