summaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-04-17 21:14:44 +0000
committerlioux <lioux@FreeBSD.org>2002-04-17 21:14:44 +0000
commitc3c2180b285101557d1332c3d33a1637bf8a4120 (patch)
tree762ddf5b2140421d27500d5a164732f0b9effc4d /net-p2p
parent9919cd4779f8d3d9268d7437502ecfc41a12ebd8 (diff)
downloadFreeBSD-ports-c3c2180b285101557d1332c3d33a1637bf8a4120.zip
FreeBSD-ports-c3c2180b285101557d1332c3d33a1637bf8a4120.tar.gz
Update to 0.79
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 ea24246..316cc31 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 accfc1e..b29899b 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 5c34f8d..d4182f6 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
OpenPOWER on IntegriCloud