aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-SWF-File
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 /graphics/p5-SWF-File
parentfc366adb105b7bb2dc40e2a7e3e8c2022e37efe2 (diff)
downloadports-ddcc0de9218039c78eb34c7bc64fadb4dfe7a707.tar.gz
ports-ddcc0de9218039c78eb34c7bc64fadb4dfe7a707.zip
Notes
Diffstat (limited to 'graphics/p5-SWF-File')
-rw-r--r--graphics/p5-SWF-File/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/graphics/p5-SWF-File/Makefile b/graphics/p5-SWF-File/Makefile
index 1093783d0bee..faccb60514ae 100644
--- a/graphics/p5-SWF-File/Makefile
+++ b/graphics/p5-SWF-File/Makefile
@@ -7,6 +7,7 @@
PORTNAME= SWF-File
PORTVERSION= 0.42
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics www perl5
MASTER_SITES= CPAN
@@ -15,9 +16,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Manipulating Flash movie (SWF) files
-BUILD_DEPENDS= ${SITE_PERL}/Data/TemporaryBag.pm:${PORTSDIR}/devel/p5-Data-TemporaryBag \
- ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= ${SITE_PERL}/Data/TemporaryBag.pm:${PORTSDIR}/devel/p5-Data-TemporaryBag
+BUILD_DEPENDS= ${SITE_PERL}/Data/TemporaryBag.pm:${PORTSDIR}/devel/p5-Data-TemporaryBag
PERL_CONFIGURE= yes
@@ -32,4 +32,11 @@ post-patch:
post-configure:
@${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile
-.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
+BUILD_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>