diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2006-01-15 19:36:04 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2006-01-15 19:36:04 +0000 |
commit | b4c1af929f2ee629ea8c16db2290771f47411ccd (patch) | |
tree | 22b2bc673e45dbf389d3d43cb4767f689773f4cf /devel | |
parent | Update to 0.94.0 release (compatible with TB 1.5). (diff) |
- assign to perl@
- unbreak on old perl
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Test-Manifest/Makefile | 10 |
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> |