aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
commitb59621d3ae883bef429a8fae6073bfa293a55222 (patch)
treeb415c7b2903cf47ada68c5557c3c6ac33a25fc41 /print
parente93c09b8f3675471a176b72ae1e6f085f7a607ad (diff)
downloadports-b59621d3ae883bef429a8fae6073bfa293a55222.tar.gz
ports-b59621d3ae883bef429a8fae6073bfa293a55222.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/p5-PostScript-PPD/Makefile9
-rw-r--r--print/p5-Text-PDF/Makefile9
2 files changed, 16 insertions, 2 deletions
diff --git a/print/p5-PostScript-PPD/Makefile b/print/p5-PostScript-PPD/Makefile
index 8fe737e60578..7ef0c4755bfb 100644
--- a/print/p5-PostScript-PPD/Makefile
+++ b/print/p5-PostScript-PPD/Makefile
@@ -18,4 +18,11 @@ PERL_CONFIGURE= yes
MAN3= PostScript::PPD.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-IO-Compress>=2:${PORTSDIR}/archivers/p5-IO-Compress
+RUN_DEPENDS+= p5-IO-Compress>=2:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/print/p5-Text-PDF/Makefile b/print/p5-Text-PDF/Makefile
index c5abd0999c0a..57cc0c512910 100644
--- a/print/p5-Text-PDF/Makefile
+++ b/print/p5-Text-PDF/Makefile
@@ -26,6 +26,13 @@ MAN3= Text::PDF::Pages.3 Text::PDF::Page.3 Text::PDF::Name.3 \
Text::PDF::Utils.3 Text::PDF::TTFont.3 Text::PDF::Number.3 \
Text::PDF::Null.3 Text::PDF.3
+.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
+
post-patch:
@${RM} -f ${WRKSRC}/pm_to_blib
@@ -33,4 +40,4 @@ post-install:
@${MKDIR} ${SITE_PERL}/Text/PDF/examples
@${INSTALL_DATA} ${WRKSRC}/examples/* ${SITE_PERL}/Text/PDF/examples
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>