aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Filter-GenericChunk
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-07-26 12:25:46 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-07-26 12:25:46 +0000
commitab098bfa3d001f187e0db9889ddee496074b6b8f (patch)
treeb435d6f78aad5f535f16b879583ccc2c1f8aa552 /textproc/p5-XML-Filter-GenericChunk
parent519dacca72eb1640b13f1a75f4c2f331c9cd49f6 (diff)
downloadports-ab098bfa3d001f187e0db9889ddee496074b6b8f.tar.gz
ports-ab098bfa3d001f187e0db9889ddee496074b6b8f.zip
- switch simple inline replacement from perl to sed
and remove where is no need in this anymore. - trim Makefile header Approved by: bapt@ (portmrg@)
Notes
Notes: svn path=/head/; revision=323714
Diffstat (limited to 'textproc/p5-XML-Filter-GenericChunk')
-rw-r--r--textproc/p5-XML-Filter-GenericChunk/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/textproc/p5-XML-Filter-GenericChunk/Makefile b/textproc/p5-XML-Filter-GenericChunk/Makefile
index eb1735088e2b..dc95787a7f32 100644
--- a/textproc/p5-XML-Filter-GenericChunk/Makefile
+++ b/textproc/p5-XML-Filter-GenericChunk/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: XML::Filter::GenericChunk
-# Date created: 2.7.2003
-# Whom: Hansjoerg Pehofer <hansjoerg.pehofer@uibk.ac.at>
-#
+# Created by: Hansjoerg Pehofer <hansjoerg.pehofer@uibk.ac.at>
# $FreeBSD$
-#
PORTNAME= XML-Filter-GenericChunk
PORTVERSION= 0.07
@@ -24,9 +20,9 @@ MAN3= XML::Filter::CharacterChunk.3 \
XML::Filter::GenericChunk.3
post-patch:
- ${PERL} -pi -e '$$_="" if /use warnings/;' \
- ${WRKSRC}/t/02filter.t \
- ${WRKSRC}/CharacterChunk.pm \
- ${WRKSRC}/GenericChunk.pm
+ @${REINPLACE_CMD} -i '' '/use warnings/d' \
+ ${WRKSRC}/t/02filter.t \
+ ${WRKSRC}/CharacterChunk.pm \
+ ${WRKSRC}/GenericChunk.pm
.include <bsd.port.mk>