aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-01-08 18:17:01 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-01-08 18:17:01 +0800
commitf910b69bfa1f03246bbd275988ed1e8c20f594a0 (patch)
treeb31d4062785a8c1fd63e10f0ead6eddcf6d9a96b /textproc
parent17b5c3c110e28ec847d4462e097bcb49d183c9e5 (diff)
downloadfreebsd-ports-gnome-f910b69bfa1f03246bbd275988ed1e8c20f594a0.tar.gz
freebsd-ports-gnome-f910b69bfa1f03246bbd275988ed1e8c20f594a0.tar.zst
freebsd-ports-gnome-f910b69bfa1f03246bbd275988ed1e8c20f594a0.zip
- Update *_DEPENDS: p5-parent is already in perl >= 5.10.1
- Bump PORTREVISION for dependency change
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-Pod-POM/Makefile14
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>