aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-03-31 22:18:39 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-03-31 22:18:39 +0000
commitd8974009ee938462830757db5f5a1d4c680e2005 (patch)
tree406edd4db655310963f897b0e617b3cf95f96a21 /net-p2p
parenta9e6322fdf39c861c39c1ee03e3418541133fbaa (diff)
downloadports-d8974009ee938462830757db5f5a1d4c680e2005.tar.gz
ports-d8974009ee938462830757db5f5a1d4c680e2005.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/dctc/Makefile14
-rw-r--r--net-p2p/dctc/distinfo2
-rw-r--r--net-p2p/dctc/pkg-plist3
3 files changed, 15 insertions, 4 deletions
diff --git a/net-p2p/dctc/Makefile b/net-p2p/dctc/Makefile
index 4f2a150d7dc3..ea24246cd4d3 100644
--- a/net-p2p/dctc/Makefile
+++ b/net-p2p/dctc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dctc
-PORTVERSION= 0.74
+PORTVERSION= 0.77
CATEGORIES= net
MASTER_SITES= http://ac2i.tzo.com/dctc/
DISTNAME= ${PORTNAME}-${PORTVERSION}.0
@@ -14,7 +14,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}.0
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
-LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
+LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4 \
+ gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
gthread-2.0.0:${PORTSDIR}/devel/glib20
GNU_CONFIGURE= yes
@@ -28,8 +29,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
DOC_DIRS= Documentation Documentation/DCextensions
DOC_FILES= COPYING ChangeLog INSTALL README \
KNOWN_BUGS TODO \
+ Documentation/BerkeleyDB \
+ Documentation/BerkeleyDB.nl \
Documentation/DCextensions/p2p_capabilities \
Documentation/DCextensions/search_by_content \
+ Documentation/GDL.nl \
Documentation/GDL Documentation/VAR \
Documentation/commands \
Documentation/programs.nl \
@@ -44,8 +48,12 @@ post-patch:
@${PERL} -pi -e 's/(CK?\()inet_ntoa(\))/\1shared_info\2/' ${WRKSRC}/src/*
@${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 ${PERL} -pi -e \
's|include.+<linux/sem.h>|include <sys/ipc.h>\n#include <sys/sem.h>|'
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_CFLAGS} -lgthread-1.3 ${PTHREAD_LIBS}|' \
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_CFLAGS} -lgthread-1.3 ${PTHREAD_LIBS}|; \
+ s|ldb-4.0|ldb4|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+.for file in bdb.c main.c user_manage.c
+ @${PERL} -pi -e 's|<(db.h>)|<db4/\1|' ${WRKSRC}/src/${file}
+.endfor
post-configure:
@${ECHO_CMD} '#ifndef MSG_NOSIGNAL' >> ${CONFIGURE_WRKSRC}/config.h
diff --git a/net-p2p/dctc/distinfo b/net-p2p/dctc/distinfo
index 591db863df99..accfc1e967f4 100644
--- a/net-p2p/dctc/distinfo
+++ b/net-p2p/dctc/distinfo
@@ -1 +1 @@
-MD5 (dctc-0.74.0.tar.gz) = dbb34963231322582bfcc15113e0584e
+MD5 (dctc-0.77.0.tar.gz) = def7e8864f858e02b16b33c5c5253373
diff --git a/net-p2p/dctc/pkg-plist b/net-p2p/dctc/pkg-plist
index 23efa334a7ca..5c34f8dfd99d 100644
--- a/net-p2p/dctc/pkg-plist
+++ b/net-p2p/dctc/pkg-plist
@@ -2,9 +2,12 @@ bin/dc_hublist
bin/dctc
%%PORTDOCS%%share/doc/dctc/COPYING
%%PORTDOCS%%share/doc/dctc/ChangeLog
+%%PORTDOCS%%share/doc/dctc/Documentation/BerkeleyDB
+%%PORTDOCS%%share/doc/dctc/Documentation/BerkeleyDB.nl
%%PORTDOCS%%share/doc/dctc/Documentation/DCextensions/p2p_capabilities
%%PORTDOCS%%share/doc/dctc/Documentation/DCextensions/search_by_content
%%PORTDOCS%%share/doc/dctc/Documentation/GDL
+%%PORTDOCS%%share/doc/dctc/Documentation/GDL.nl
%%PORTDOCS%%share/doc/dctc/Documentation/VAR
%%PORTDOCS%%share/doc/dctc/Documentation/commands
%%PORTDOCS%%share/doc/dctc/Documentation/output