summaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-03-31 22:18:39 +0000
committerlioux <lioux@FreeBSD.org>2002-03-31 22:18:39 +0000
commitcec90517050eeb8af5a408c9046e4d087d66af29 (patch)
treea6db63d53c8ae8e15a179233de01b4a832cb74e1 /net-p2p
parenta914d6c97cfadd260769a4108b254d73ef13314f (diff)
downloadFreeBSD-ports-cec90517050eeb8af5a408c9046e4d087d66af29.zip
FreeBSD-ports-cec90517050eeb8af5a408c9046e4d087d66af29.tar.gz
Update to 0.77
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 4f2a150..ea24246 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 591db86..accfc1e 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 23efa33..5c34f8d 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
OpenPOWER on IntegriCloud