aboutsummaryrefslogtreecommitdiffstats
path: root/net/dctc
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-04-01 06:18:39 +0800
committerlioux <lioux@FreeBSD.org>2002-04-01 06:18:39 +0800
commitcec90517050eeb8af5a408c9046e4d087d66af29 (patch)
treea6db63d53c8ae8e15a179233de01b4a832cb74e1 /net/dctc
parenta914d6c97cfadd260769a4108b254d73ef13314f (diff)
downloadfreebsd-ports-gnome-cec90517050eeb8af5a408c9046e4d087d66af29.tar.gz
freebsd-ports-gnome-cec90517050eeb8af5a408c9046e4d087d66af29.tar.zst
freebsd-ports-gnome-cec90517050eeb8af5a408c9046e4d087d66af29.zip
Update to 0.77
Diffstat (limited to 'net/dctc')
-rw-r--r--net/dctc/Makefile14
-rw-r--r--net/dctc/distinfo2
-rw-r--r--net/dctc/pkg-plist3
3 files changed, 15 insertions, 4 deletions
diff --git a/net/dctc/Makefile b/net/dctc/Makefile
index 4f2a150d7dc3..ea24246cd4d3 100644
--- a/net/dctc/Makefile
+++ b/net/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/dctc/distinfo b/net/dctc/distinfo
index 591db863df99..accfc1e967f4 100644
--- a/net/dctc/distinfo
+++ b/net/dctc/distinfo
@@ -1 +1 @@
-MD5 (dctc-0.74.0.tar.gz) = dbb34963231322582bfcc15113e0584e
+MD5 (dctc-0.77.0.tar.gz) = def7e8864f858e02b16b33c5c5253373
diff --git a/net/dctc/pkg-plist b/net/dctc/pkg-plist
index 23efa334a7ca..5c34f8dfd99d 100644
--- a/net/dctc/pkg-plist
+++ b/net/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