aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-09-21 15:56:43 +0800
committermm <mm@FreeBSD.org>2010-09-21 15:56:43 +0800
commita447d3207d987ddc5b4cb16345ffd07b474aea9c (patch)
tree740d2c4dbf9c6b5d7e0a621cb113b01436081f94 /sysutils
parent755a0561c300f159d88d880440dc70a9ae0425e2 (diff)
downloadfreebsd-ports-gnome-a447d3207d987ddc5b4cb16345ffd07b474aea9c.tar.gz
freebsd-ports-gnome-a447d3207d987ddc5b4cb16345ffd07b474aea9c.tar.zst
freebsd-ports-gnome-a447d3207d987ddc5b4cb16345ffd07b474aea9c.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
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cvsweb-converters/Makefile14
-rw-r--r--sysutils/googlog/Makefile6
-rw-r--r--sysutils/p5-MogileFS-Utils/Makefile12
-rw-r--r--sysutils/p5-arclog/Makefile15
-rw-r--r--sysutils/p5-reslog/Makefile15
5 files changed, 44 insertions, 18 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>
diff --git a/sysutils/googlog/Makefile b/sysutils/googlog/Makefile
index 610553711a6d..84ac41f8b98c 100644
--- a/sysutils/googlog/Makefile
+++ b/sysutils/googlog/Makefile
@@ -7,6 +7,7 @@
PORTNAME= googlog
PORTVERSION= 1.18
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.googlog.org/download/
DISTNAME= GoogLog-${PORTVERSION}
@@ -16,7 +17,6 @@ MAINTAINER= ports@eitanadler.com
COMMENT= GoogLog is a simple tool to search inside your syslog files
RUN_DEPENDS= ${SITE_PERL}/Config/Tiny.pm:${PORTSDIR}/devel/p5-Config-Tiny \
- ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template
NO_BUILD= yes
@@ -24,6 +24,10 @@ USE_PERL5= yes
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
do-install:
@${MKDIR} ${WWWDIR}
${INSTALL_SCRIPT} ${WRKSRC}/GoogLog_cgi.pl ${WWWDIR}/
diff --git a/sysutils/p5-MogileFS-Utils/Makefile b/sysutils/p5-MogileFS-Utils/Makefile
index 4bb9ea072b61..145416c68fc5 100644
--- a/sysutils/p5-MogileFS-Utils/Makefile
+++ b/sysutils/p5-MogileFS-Utils/Makefile
@@ -7,6 +7,7 @@
PORTNAME= MogileFS-Utils
PORTVERSION= 2.16
+PORTREVISION= 1
CATEGORIES= sysutils net perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/D/DO/DORMANDO
@@ -15,8 +16,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= MogileFS tools
-RUN_DEPENDS= ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
- ${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww \
+RUN_DEPENDS= ${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/MogileFS/Client.pm:${PORTSDIR}/sysutils/p5-MogileFS-Client
PERL_CONFIGURE= yes
@@ -24,4 +24,10 @@ PERL_CONFIGURE= yes
MAN1= mogadm.1 mogtool.1
MAN3= MogileFS::Utils.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/p5-arclog/Makefile b/sysutils/p5-arclog/Makefile
index cce3d2f47a90..324ec87f1f1e 100644
--- a/sysutils/p5-arclog/Makefile
+++ b/sysutils/p5-arclog/Makefile
@@ -7,7 +7,7 @@
PORTNAME= arclog
PORTVERSION= 3.04
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Locale/IMACAT
@@ -16,12 +16,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Archive the log files monthly
-BUILD_DEPENDS= p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \
+RUN_DEPENDS= p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \
p5-Compress-Bzip2>=0:${PORTSDIR}/archivers/p5-Compress-Bzip2 \
- p5-Compress-Zlib>=0:${PORTSDIR}/archivers/p5-Compress-Zlib \
p5-File-MMagic>=0:${PORTSDIR}/devel/p5-File-MMagic \
p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN1= arclog.1
@@ -30,4 +29,10 @@ PLIST_FILES= bin/arclog \
%%SITE_PERL%%/%%PERL_ARCH%%/auto/arclog/.packlist
PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/arclog
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/p5-reslog/Makefile b/sysutils/p5-reslog/Makefile
index 05843749f1af..18d922e207dd 100644
--- a/sysutils/p5-reslog/Makefile
+++ b/sysutils/p5-reslog/Makefile
@@ -7,7 +7,7 @@
PORTNAME= reslog
PORTVERSION= 3.16
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Locale/IMACAT
@@ -16,11 +16,10 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Reverse-resolve IP in Apache log files
-BUILD_DEPENDS= p5-Compress-Bzip2>=0:${PORTSDIR}/archivers/p5-Compress-Bzip2 \
- p5-Compress-Zlib>=0:${PORTSDIR}/archivers/p5-Compress-Zlib \
+RUN_DEPENDS= p5-Compress-Bzip2>=0:${PORTSDIR}/archivers/p5-Compress-Bzip2 \
p5-File-MMagic>=0:${PORTSDIR}/devel/p5-File-MMagic \
p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN1= reslog.1
@@ -29,4 +28,10 @@ PLIST_FILES= bin/reslog \
%%SITE_PERL%%/%%PERL_ARCH%%/auto/reslog/.packlist
PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/reslog
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>