summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-04-17 21:14:44 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-04-17 21:14:44 +0000
commitcbe393afa38d779961b64ffaa42fc376b0f116ab (patch)
tree53e1d1e176fe6829bda8b2e7cfdbafe8426728a9 /net-p2p
parentChase checksum, tarball rerolled with no changes (diff)
Update to 0.79
Notes
Notes: svn path=/head/; revision=57829
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/dctc/Makefile29
-rw-r--r--net-p2p/dctc/distinfo2
-rw-r--r--net-p2p/dctc/pkg-plist2
3 files changed, 19 insertions, 14 deletions
diff --git a/net-p2p/dctc/Makefile b/net-p2p/dctc/Makefile
index ea24246cd4d3..316cc318fe4f 100644
--- a/net-p2p/dctc/Makefile
+++ b/net-p2p/dctc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dctc
-PORTVERSION= 0.77
+PORTVERSION= 0.79
CATEGORIES= net
MASTER_SITES= http://ac2i.tzo.com/dctc/
DISTNAME= ${PORTNAME}-${PORTVERSION}.0
@@ -15,16 +15,20 @@ MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4 \
- gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
- gthread-2.0.0:${PORTSDIR}/devel/glib20
+ gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+WRKSRC= ${WRKDIR}/${DISTNAME:S/0$/1/}
+
+USE_GLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
- ${PTHREAD_CFLAGS} \
- -I${LOCALBASE}/include/glib-2.0" \
+ ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt \
- ${PTHREAD_LIBS} \
- -lgthread-2.0"
+ ${PTHREAD_LIBS}"
+CONFIGURE_ARGS= --enable-manual-db-detect
+MANCOMPRESSED= no
+
+MAN1= dctc.1
DOC_DIRS= Documentation Documentation/DCextensions
DOC_FILES= COPYING ChangeLog INSTALL README \
@@ -35,6 +39,7 @@ DOC_FILES= COPYING ChangeLog INSTALL README \
Documentation/DCextensions/search_by_content \
Documentation/GDL.nl \
Documentation/GDL Documentation/VAR \
+ Documentation/UNODE Documentation/Vshare \
Documentation/commands \
Documentation/programs.nl \
Documentation/programs.pl \
@@ -47,13 +52,10 @@ post-patch:
@${PERL} -pi -e 's/(CK?\(std)(out\))/\1_\2/' ${WRKSRC}/src/*
@${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}|; \
- s|ldb-4.0|ldb4|' \
+ 's|include.+<linux/sem.h>|include <sys/ipc.h>\n#include <sys/sem.h>|; \
+ s|<(db.h>)|<db4/\1|'
+ @${PERL} -pi -e 's|(db)-|\1|g;s|db4.0|db4|' \
${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
@@ -75,6 +77,7 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/${file}
.endfor
.endif
+ @${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 accfc1e967f4..b29899bb3cf1 100644
--- a/net-p2p/dctc/distinfo
+++ b/net-p2p/dctc/distinfo
@@ -1 +1 @@
-MD5 (dctc-0.77.0.tar.gz) = def7e8864f858e02b16b33c5c5253373
+MD5 (dctc-0.79.0.tar.gz) = 3b770a0495a10ba0d075bbb8dae6be35
diff --git a/net-p2p/dctc/pkg-plist b/net-p2p/dctc/pkg-plist
index 5c34f8dfd99d..d4182f6c6840 100644
--- a/net-p2p/dctc/pkg-plist
+++ b/net-p2p/dctc/pkg-plist
@@ -8,7 +8,9 @@ bin/dctc
%%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/UNODE
%%PORTDOCS%%share/doc/dctc/Documentation/VAR
+%%PORTDOCS%%share/doc/dctc/Documentation/Vshare
%%PORTDOCS%%share/doc/dctc/Documentation/commands
%%PORTDOCS%%share/doc/dctc/Documentation/output
%%PORTDOCS%%share/doc/dctc/Documentation/programs