aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cvsweb-converters
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-09-21 07:56:43 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-09-21 07:56:43 +0000
commitddcc0de9218039c78eb34c7bc64fadb4dfe7a707 (patch)
treebee4ba075b3a0b4d3276fe1e92c704118abdbfe3 /sysutils/cvsweb-converters
parentfc366adb105b7bb2dc40e2a7e3e8c2022e37efe2 (diff)
downloadports-ddcc0de9218039c78eb34c7bc64fadb4dfe7a707.tar.gz
ports-ddcc0de9218039c78eb34c7bc64fadb4dfe7a707.zip
Change dependency on old p5-Compress-Zlib, p5-IO-Compress-Base,
p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 modules to p5-IO-Compress. Explicitly depend on p5-IO-Compress only if PERL_LEVEL < 500903 Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=261530
Diffstat (limited to 'sysutils/cvsweb-converters')
-rw-r--r--sysutils/cvsweb-converters/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/sysutils/cvsweb-converters/Makefile b/sysutils/cvsweb-converters/Makefile
index fd0b979c4dda..7372d27e8c9d 100644
--- a/sysutils/cvsweb-converters/Makefile
+++ b/sysutils/cvsweb-converters/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cvsweb-converters
PORTVERSION= 0.3.4
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.sbox.TUGraz.at/home/d/dada/distfiles/ \
http://mitglied.lycos.de/mkamm/distfiles/
@@ -14,11 +15,10 @@ MASTER_SITES= http://www.sbox.TUGraz.at/home/d/dada/distfiles/ \
MAINTAINER= mkamm@gmx.net
COMMENT= Create hyperlinks to cvsweb from cvs[up] output or FreeBSD commitlogs
-BUILD_DEPENDS= ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
- ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
+RUN_DEPENDS= ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles \
${SITE_PERL}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time-modules
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
NO_BUILD= yes
USE_BZIP2= yes
@@ -29,9 +29,15 @@ PLIST_FILES= bin/commitlog2cvsweb bin/cvsrdiff2cvsweb \
bin/cvsuplog2cvsweb etc/cvsweb-converters.conf.sample
PKGMESSAGE= ${WRKDIR}/pkg-message
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
post-install:
@${SED} -e 's|$${PREFIX}|${PREFIX}|g' -- \
${.CURDIR}/pkg-message >${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>