aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-04-18 05:14:44 +0800
committerlioux <lioux@FreeBSD.org>2002-04-18 05:14:44 +0800
commitc3c2180b285101557d1332c3d33a1637bf8a4120 (patch)
tree762ddf5b2140421d27500d5a164732f0b9effc4d /net
parent9919cd4779f8d3d9268d7437502ecfc41a12ebd8 (diff)
downloadfreebsd-ports-gnome-c3c2180b285101557d1332c3d33a1637bf8a4120.tar.gz
freebsd-ports-gnome-c3c2180b285101557d1332c3d33a1637bf8a4120.tar.zst
freebsd-ports-gnome-c3c2180b285101557d1332c3d33a1637bf8a4120.zip
Update to 0.79
Diffstat (limited to 'net')
-rw-r--r--net/dctc/Makefile29
-rw-r--r--net/dctc/distinfo2
-rw-r--r--net/dctc/pkg-plist2
3 files changed, 19 insertions, 14 deletions
diff --git a/net/dctc/Makefile b/net/dctc/Makefile
index ea24246cd4d3..316cc318fe4f 100644
--- a/net/dctc/Makefile
+++ b/net/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/dctc/distinfo b/net/dctc/distinfo
index accfc1e967f4..b29899bb3cf1 100644
--- a/net/dctc/distinfo
+++ b/net/dctc/distinfo
@@ -1 +1 @@
-MD5 (dctc-0.77.0.tar.gz) = def7e8864f858e02b16b33c5c5253373
+MD5 (dctc-0.79.0.tar.gz) = 3b770a0495a10ba0d075bbb8dae6be35
diff --git a/net/dctc/pkg-plist b/net/dctc/pkg-plist
index 5c34f8dfd99d..d4182f6c6840 100644
--- a/net/dctc/pkg-plist
+++ b/net/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