summaryrefslogtreecommitdiff
path: root/misc/gpt
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 /misc/gpt
parent- Update to 2009.12.27 (diff)
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 'misc/gpt')
-rw-r--r--misc/gpt/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/misc/gpt/Makefile b/misc/gpt/Makefile
index 441490d9a824..467856b24efa 100644
--- a/misc/gpt/Makefile
+++ b/misc/gpt/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gpt
PORTVERSION= 3.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= misc archivers devel parallel
MASTER_SITES= ftp://ftp.globus.org/pub/gt4/4.0/4.0.0/gpt/
DISTNAME= gpt-${PORTVERSION}autotools2004-src
@@ -18,7 +18,6 @@ COMMENT= Grid Packaging Tools (used to install Globus)
CONFLICTS= gpt-3.1*
RUN_DEPENDS+= ${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
- ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
${SITE_PERL}/IO/Zlib.pm:${PORTSDIR}/archivers/p5-IO-Zlib \
${LOCALBASE}/bin/gmake:${PORTSDIR}/devel/gmake \
${LOCALBASE}/bin/makepatch:${PORTSDIR}/textproc/makepatch
@@ -55,4 +54,10 @@ do-install:
@cd ${WRKSRC}; \
GPT_LOCATION=${PREFIX} ./build_gpt --with-perl=${PERL}
-.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>