aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Tie-ToObject
diff options
context:
space:
mode:
authorLars Balker Rasmussen <lbr@FreeBSD.org>2008-02-19 02:17:32 +0000
committerLars Balker Rasmussen <lbr@FreeBSD.org>2008-02-19 02:17:32 +0000
commit803e0c7aca2199fccfae2d1ae04874221c653439 (patch)
tree927e246c5031f9a10dbc65e415f1e9438d427977 /devel/p5-Tie-ToObject
parentc3f04774108b4f59d210e606782176b4dcc88e8e (diff)
downloadports-803e0c7aca2199fccfae2d1ae04874221c653439.tar.gz
ports-803e0c7aca2199fccfae2d1ae04874221c653439.zip
Notes
Diffstat (limited to 'devel/p5-Tie-ToObject')
-rw-r--r--devel/p5-Tie-ToObject/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/devel/p5-Tie-ToObject/Makefile b/devel/p5-Tie-ToObject/Makefile
index 633bb4c6d654..58ce35aa953d 100644
--- a/devel/p5-Tie-ToObject/Makefile
+++ b/devel/p5-Tie-ToObject/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Tie-ToObject
PORTVERSION= 0.03
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,17 +15,18 @@ PKGNAMEPREFIX= p5-
MAINTAINER= lippemail@gmail.com
COMMENT= Tie to an existing object
-BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
- ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
- ${SITE_PERL}/Test/use/ok.pm:${PORTSDIR}/devel/p5-Test-use-ok \
- ${SITE_PERL}/Tie/RefHash.pm:${PORTSDIR}/devel/p5-Tie-RefHash
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
- ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
- ${SITE_PERL}/Test/use/ok.pm:${PORTSDIR}/devel/p5-Test-use-ok \
- ${SITE_PERL}/Tie/RefHash.pm:${PORTSDIR}/devel/p5-Tie-RefHash
-
PERL_CONFIGURE= yes
MAN3= Tie::ToObject.3
-.include <bsd.port.mk>
+post-extract:
+ @${REINPLACE_CMD} -e '/Test::/d' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>