Update to 0.77

This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-03-31 22:18:39 +00:00
parent a9e6322fdf
commit d8974009ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57091
6 changed files with 30 additions and 8 deletions

View File

@ -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

View File

@ -1 +1 @@
MD5 (dctc-0.74.0.tar.gz) = dbb34963231322582bfcc15113e0584e
MD5 (dctc-0.77.0.tar.gz) = def7e8864f858e02b16b33c5c5253373

View File

@ -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

View File

@ -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

View File

@ -1 +1 @@
MD5 (dctc-0.74.0.tar.gz) = dbb34963231322582bfcc15113e0584e
MD5 (dctc-0.77.0.tar.gz) = def7e8864f858e02b16b33c5c5253373

View File

@ -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