diff options
author | Foxfair Hu <foxfair@FreeBSD.org> | 2003-09-07 04:42:35 +0000 |
---|---|---|
committer | Foxfair Hu <foxfair@FreeBSD.org> | 2003-09-07 04:42:35 +0000 |
commit | fd531a3a6aaaa48e22ef5acbda2f62e39ccd4314 (patch) | |
tree | 54be99c735be12c559658d1ca0a11db69e90c541 /textproc | |
parent | 275308e55ff8339e2b23332c2012fe5e1cf4c16f (diff) |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-XML-Filter-GenericChunk/Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/textproc/p5-XML-Filter-GenericChunk/Makefile b/textproc/p5-XML-Filter-GenericChunk/Makefile index db6da50b8977..1c4f7c7f67d3 100644 --- a/textproc/p5-XML-Filter-GenericChunk/Makefile +++ b/textproc/p5-XML-Filter-GenericChunk/Makefile @@ -7,31 +7,30 @@ PORTNAME= XML-Filter-GenericChunk PORTVERSION= 0.06 +PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -#MASTER_SITE_SUBDIR= XML MASTER_SITE_SUBDIR= ../by-authors/id/P/PH/PHISH PKGNAMEPREFIX= p5- MAINTAINER= hansjoerg.pehofer@uibk.ac.at COMMENT= "Base Class for SAX Filters parsing WellBallanced Chunks." -BUILD_DEPENDS= ${PERL_ABASE}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \ - ${SITE_PERL}/XML/SAX/Base.pm:${PORTSDIR}/textproc/p5-XML-SAX-Base +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \ + ${SITE_PERL}/XML/SAX.pm:${PORTSDIR}/textproc/p5-XML-SAX RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes -PERL_ABASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} MAN3= XML::Filter::CharacterChunk.3 \ XML::Filter::GenericChunk.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.pre.mk> +post-patch: + ${PERL} -pi -e '$$_="" if /use warnings/;' \ + ${WRKSRC}/t/02filter.t \ + ${WRKSRC}/CharacterChunk.pm \ + ${WRKSRC}/GenericChunk.pm -.if ${PERL_LEVEL} < 500600 -IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |