aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfoxfair <foxfair@FreeBSD.org>2003-09-07 12:42:35 +0800
committerfoxfair <foxfair@FreeBSD.org>2003-09-07 12:42:35 +0800
commit63fd8e197e59d45f7dbb551f51ee919ea556c488 (patch)
tree9b026626be8c3229d968651966867a818394a4ce
parentf81e9ae220e6bb301fd94aeaa8138f08ec75c063 (diff)
downloadfreebsd-ports-gnome-63fd8e197e59d45f7dbb551f51ee919ea556c488.tar.gz
freebsd-ports-gnome-63fd8e197e59d45f7dbb551f51ee919ea556c488.tar.zst
freebsd-ports-gnome-63fd8e197e59d45f7dbb551f51ee919ea556c488.zip
PR: 56531
Submitted by: Hansjoerg Pehofer <hansjoerg.pehofer@uibk.ac.at> Reviewed by: Approved by: Obtained from: MFC after: changed dependency from p5-XML-SAX-Base to p5-XML-SAX. let port remove "use warnings;" to allow perl < 5.6.0. Minor change with using SITE_PERL.
-rw-r--r--textproc/p5-XML-Filter-GenericChunk/Makefile19
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>
td>1-1/+1 * upgrade to ctwm 3.5.1 via patch (no distfile available)torstenb1999-05-032-1/+7 * Move manpages to the Makefile and use MAN* macros.steve1998-10-042-2/+4 * Roll back libXpm major to 4. Sorry, it wasn't a good idea to bump itasami1998-09-171-2/+2 * libXpm major is now 5. Also remove regexp support in preparation forasami1998-09-151-2/+2 * Move "afterstep-devel afterstep amiwm blackbox ctwm enlightenment fvwmasami1998-08-081-2/+2 * It ain't broken anymore. :-)obrien1997-11-282-6/+4 * Mark this port broken, not available anymore.asami1997-11-251-1/+2 * update to 3.5 beta 3torstenb1997-11-253-16/+19 * Upgrade to 3.5 beta 1torstenb1997-04-282-6/+5 * Compress a bunch of manpages. Remove unnecessary @ directives fromasami1996-11-181-1/+0 * Use MASTER_SITE_XCONTRIB. Use MAN? macros. CATEGORIES+= -> CATEGORIES.asami1996-11-181-4/+4 * Oh my goodness! Satoshi is finally fed up and decided to "clean up"asami1996-10-101-1/+1 * Fix xpm path so this thing actually packages.asami1996-09-151-89/+89 * Upgrade to 3.4 patchlevel 2torstenb1996-09-154-94/+103 * Add torstenb as maintainer.asami1995-11-091-1/+3