diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-01-08 10:17:01 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-01-08 10:17:01 +0000 |
commit | 216edfbe67cf8002ecb1c81330c08943d29ed412 (patch) | |
tree | edc518763bf621841d4816b3dacd71a452f0cbc8 /textproc | |
parent | a82d4b83716cd3981992e36b2316f27882138770 (diff) | |
download | ports-216edfbe67cf8002ecb1c81330c08943d29ed412.tar.gz ports-216edfbe67cf8002ecb1c81330c08943d29ed412.zip |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-Pod-POM/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/textproc/p5-Pod-POM/Makefile b/textproc/p5-Pod-POM/Makefile index dd55c69bd9e1..7b13b2e79c62 100644 --- a/textproc/p5-Pod-POM/Makefile +++ b/textproc/p5-Pod-POM/Makefile @@ -7,7 +7,7 @@ PORTNAME= Pod-POM PORTVERSION= 0.27 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= POD Object Model -BUILD_DEPENDS= p5-parent>=0:${PORTSDIR}/devel/p5-parent \ - p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp +BUILD_DEPENDS= p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp RUN_DEPENDS:= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -45,4 +44,11 @@ MAN3= Pod::POM.3 \ Pod::POM::View::Pod.3 \ Pod::POM::View::Text.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +.endif + +.include <bsd.port.post.mk> |