aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Test-MockObject/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-02-20 14:46:26 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-02-20 14:46:26 +0000
commit6d00ef537ca615d34efe9d6eb43c606dc1f4759a (patch)
tree462bc3f9a70f89ab84df0d138e969e271f9019e2 /devel/p5-Test-MockObject/Makefile
parenta44cfaa5ed94be6a4819494e92281b085d70f92b (diff)
downloadports-6d00ef537ca615d34efe9d6eb43c606dc1f4759a.tar.gz
ports-6d00ef537ca615d34efe9d6eb43c606dc1f4759a.zip
Notes
Diffstat (limited to 'devel/p5-Test-MockObject/Makefile')
-rw-r--r--devel/p5-Test-MockObject/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/devel/p5-Test-MockObject/Makefile b/devel/p5-Test-MockObject/Makefile
index f3afe55726e1..724e9c56b3ad 100644
--- a/devel/p5-Test-MockObject/Makefile
+++ b/devel/p5-Test-MockObject/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Test-MockObject
-PORTVERSION= 0.12
+PORTVERSION= 0.13
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Test
@@ -15,11 +15,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Tests remote URLs or local web files
-BUILD_DEPENDS= ${SITE_PERL}/Test/Builder.pm:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
+INSTALL_TARGET= pure_install
MAN3= Test::MockObject.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS= ${SITE_PERL}/Test/Builder.pm:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS= ${BUILD_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>