aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Test-Manifest
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-01-15 19:36:04 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-01-15 19:36:04 +0000
commitb4c1af929f2ee629ea8c16db2290771f47411ccd (patch)
tree22b2bc673e45dbf389d3d43cb4767f689773f4cf /devel/p5-Test-Manifest
parent07c7a5819633ed6a5f745426fc6bd064c7b1204b (diff)
downloadports-b4c1af929f2ee629ea8c16db2290771f47411ccd.tar.gz
ports-b4c1af929f2ee629ea8c16db2290771f47411ccd.zip
Notes
Diffstat (limited to 'devel/p5-Test-Manifest')
-rw-r--r--devel/p5-Test-Manifest/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/p5-Test-Manifest/Makefile b/devel/p5-Test-Manifest/Makefile
index 7c5a4ae2dff4..f35f3b2535ab 100644
--- a/devel/p5-Test-Manifest/Makefile
+++ b/devel/p5-Test-Manifest/Makefile
@@ -12,17 +12,21 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module to interact with a t/test_manifest file
+BUILD_DEPENDS= ${SITE_PERL}/Test/Simple.pm:${PORTSDIR}/devel/p5-Test-Simple
+
PERL_CONFIGURE= YES
MAN3= Test::Manifest.3
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} < 500601
-IGNORE= Requires perl 5.6.1 or above
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ ${PERL} -pi -e '$$_="" if m{5.006}' ${WRKSRC}/Makefile.PL ${WRKSRC}/lib/Manifest.pm
+ ${PERL} -pi -e 's/(my\( )?\$$fh( \))?/FH/' ${WRKSRC}/lib/Manifest.pm
.endif
.include <bsd.port.post.mk>