aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-07-26 01:45:09 +0800
committeraz <az@FreeBSD.org>2013-07-26 01:45:09 +0800
commita17aea5b36965f8ed6ecc0ca55f360944e3f46a8 (patch)
tree17b7739cec5c8bd24318f8970c77d5508f40b335 /devel
parent9bd11f4a568c740d3e38c88bf815647016ecdef7 (diff)
downloadfreebsd-ports-gnome-a17aea5b36965f8ed6ecc0ca55f360944e3f46a8.tar.gz
freebsd-ports-gnome-a17aea5b36965f8ed6ecc0ca55f360944e3f46a8.tar.zst
freebsd-ports-gnome-a17aea5b36965f8ed6ecc0ca55f360944e3f46a8.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@)
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Search-Binary/Makefile9
-rw-r--r--devel/p5-Storable/Makefile2
-rw-r--r--devel/p5-Test-SubCalls/Makefile9
-rw-r--r--devel/p5-Test-YAML-Valid/Makefile3
-rw-r--r--devel/p5-prefork/Makefile9
5 files changed, 8 insertions, 24 deletions
diff --git a/devel/p5-Search-Binary/Makefile b/devel/p5-Search-Binary/Makefile
index f2709e7c238b..24a0f46fab68 100644
--- a/devel/p5-Search-Binary/Makefile
+++ b/devel/p5-Search-Binary/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: devel/p5-Search-Binary
-# Date created: 03 January 2001
-# Whom: Anton Berezin <tobez@tobez.org>
-#
+# Created by: Anton Berezin <tobez@tobez.org>
# $FreeBSD$
-#
PORTNAME= Search-Binary
PORTVERSION= 0.95
@@ -19,6 +15,7 @@ PERL_CONFIGURE= yes
MAN3= Search::Binary.3
pre-patch:
- @${PERL} -pi -e 's|Seach|Search|' ${WRKSRC}/Binary.pm
+ @${REINPLACE_CMD} -i '' -e 's|Seach|Search|' \
+ ${WRKSRC}/Binary.pm
.include <bsd.port.mk>
diff --git a/devel/p5-Storable/Makefile b/devel/p5-Storable/Makefile
index 335b01d25faa..b18e0ef7c017 100644
--- a/devel/p5-Storable/Makefile
+++ b/devel/p5-Storable/Makefile
@@ -15,6 +15,6 @@ PERL_CONFIGURE= yes
MAN3= Storable.3
post-patch:
- @${PERL} -pi -e '$$_="" if /MAN3PODS|INSTALLDIRS/' ${WRKSRC}/Makefile.PL
+ @${REINPLACE_CMD} -i '' -e 's|INSTALLDIRS|' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>
diff --git a/devel/p5-Test-SubCalls/Makefile b/devel/p5-Test-SubCalls/Makefile
index 307aae76e090..ee8e6a2d08af 100644
--- a/devel/p5-Test-SubCalls/Makefile
+++ b/devel/p5-Test-SubCalls/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: devel/p5-Test-SubCalls
-# Date created: 08 October 2005
-# Whom: Lars Thegler <lth@FreeBSD.org>
-#
+# Created by: Lars Thegler <lth@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= Test-SubCalls
PORTVERSION= 1.09
@@ -23,7 +19,4 @@ PERL_CONFIGURE= yes
MAN3= Test::SubCalls.3
-post-patch:
- @${PERL} -pi -e '$$_="" if m/Test::More/' ${WRKSRC}/Makefile.PL
-
.include <bsd.port.mk>
diff --git a/devel/p5-Test-YAML-Valid/Makefile b/devel/p5-Test-YAML-Valid/Makefile
index 693e140434a3..38e26c38f7d0 100644
--- a/devel/p5-Test-YAML-Valid/Makefile
+++ b/devel/p5-Test-YAML-Valid/Makefile
@@ -22,7 +22,8 @@ OPTIONS_DEFINE= YAMLSYCK
YAMLSYCK_DESC= Use YAML::Syck for testing
post-patch:
- ${PERL} -pi -e '$$_="" if /auto_install/' ${WRKSRC}/Makefile.PL
+ @${REINPLACE_CMD} -i '' -e '/auto_install.*/d' \
+ ${WRKSRC}/Makefile.PL
.include <bsd.port.options.mk>
diff --git a/devel/p5-prefork/Makefile b/devel/p5-prefork/Makefile
index 890f72740ff8..cc7987cf663c 100644
--- a/devel/p5-prefork/Makefile
+++ b/devel/p5-prefork/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: prefork
-# Date created: 14 November 2004
-# Whom: Sergey Skvortsov <skv@protey.ru>
-#
+# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
-#
PORTNAME= prefork
PORTVERSION= 1.04
@@ -22,7 +18,4 @@ PERL_CONFIGURE= yes
MAN3= prefork.3
-post-patch:
- @${PERL} -pi -e 's/^auto_install.*$$//' ${WRKSRC}/Makefile.PL
-
.include <bsd.port.mk>