diff options
Diffstat (limited to 'print/p5-Text-PDF/Makefile')
-rw-r--r-- | print/p5-Text-PDF/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
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> |