aboutsummaryrefslogtreecommitdiffstats
path: root/net/dctc/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-05-10 00:43:46 +0800
committerlioux <lioux@FreeBSD.org>2002-05-10 00:43:46 +0800
commit41a88262339c63043b9335517919289c31648d17 (patch)
treef98bbc48ff2b8b1452be3d83a39a2d679478f367 /net/dctc/Makefile
parent46b3773ca4d1e14f35d20271fe30d080a56b89d0 (diff)
downloadfreebsd-ports-gnome-41a88262339c63043b9335517919289c31648d17.tar.gz
freebsd-ports-gnome-41a88262339c63043b9335517919289c31648d17.tar.zst
freebsd-ports-gnome-41a88262339c63043b9335517919289c31648d17.zip
Update to 0.80.5
Diffstat (limited to 'net/dctc/Makefile')
-rw-r--r--net/dctc/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/dctc/Makefile b/net/dctc/Makefile
index 8f4b495396a3..56dd0beeb906 100644
--- a/net/dctc/Makefile
+++ b/net/dctc/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= dctc
-PORTVERSION= 0.80
+PORTVERSION= 0.80.5
CATEGORIES= net
MASTER_SITES= http://ac2i.tzo.com/dctc/
-DISTNAME= ${PORTNAME}-${PORTVERSION}.0
+DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
@@ -18,6 +18,7 @@ LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4 \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_GLIB= yes
+USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
${PTHREAD_CFLAGS}" \
@@ -55,6 +56,8 @@ post-patch:
s|<(db.h>)|<db4/\1|'
@${PERL} -pi -e 's|(db)-|\1|g;s|db4.0|db4|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+ @${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' \
+ ${WRKSRC}/ForcejoinGDL.pl
pre-build:
@${ECHO_CMD} '#ifndef MSG_NOSIGNAL' >> ${CONFIGURE_WRKSRC}/config.h
@@ -76,6 +79,9 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/${file}
.endfor
.endif
+ @${MKDIR} ${PREFIX}/share/${PORTNAME}
+ @${INSTALL_SCRIPT} ${WRKSRC}/ForcejoinGDL.pl \
+ ${PREFIX}/share/${PORTNAME}
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
@${INSTALL_PROGRAM} ${WRKSRC}/src/hublist ${PREFIX}/bin/dc_hublist
@${INSTALL_PROGRAM} ${WRKSRC}/src/dctc ${PREFIX}/bin