aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2010-10-15 22:42:48 +0800
committerleeym <leeym@FreeBSD.org>2010-10-15 22:42:48 +0800
commit76f8115184860132a0550d6ea2a27ff871996f0d (patch)
treed247c3f2b9eb60d472e660ab0a1998840a76d18c /devel
parent9f3eb596c6ee33798896b6d1d4b8afd655702c15 (diff)
downloadfreebsd-ports-gnome-76f8115184860132a0550d6ea2a27ff871996f0d.tar.gz
freebsd-ports-gnome-76f8115184860132a0550d6ea2a27ff871996f0d.tar.zst
freebsd-ports-gnome-76f8115184860132a0550d6ea2a27ff871996f0d.zip
- simplify dependency
- bump PORTREVISION
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Test-Pod/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/devel/p5-Test-Pod/Makefile b/devel/p5-Test-Pod/Makefile
index 20f55df59248..9a1bb03a659a 100644
--- a/devel/p5-Test-Pod/Makefile
+++ b/devel/p5-Test-Pod/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Test-Pod
PORTVERSION= 1.44
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,11 +15,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Check for POD errors in files
-BUILD_DEPENDS= ${SITE_PERL}/Pod/Simple.pm:${PORTSDIR}/textproc/p5-Pod-Simple
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_MODBUILD= yes
MAN3= Test::Pod.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500905
+RUN_DEPENDS+= p5-Pod-Simple>=3.05:${PORTSDIR}/textproc/p5-Pod-Simple
+.endif
+
+.include <bsd.port.post.mk>