svn commit: r323797 - in head: textproc/p5-RDF-Notation3 www/bkmrkconv x11-fonts/mkitalic
Andrej Zverev
az at FreeBSD.org
Sat Jul 27 17:05:17 UTC 2013
Author: az
Date: Sat Jul 27 17:05:15 2013
New Revision: 323797
URL: http://svnweb.freebsd.org/changeset/ports/323797
Log:
- switch simple inline replacement from perl to sed
and remove where is no need in this anymore.
- trim Makefile header
Approved by: bapt@ (portmrg@)
Modified:
head/textproc/p5-RDF-Notation3/Makefile (contents, props changed)
head/www/bkmrkconv/Makefile (contents, props changed)
head/x11-fonts/mkitalic/Makefile (contents, props changed)
Modified: head/textproc/p5-RDF-Notation3/Makefile
==============================================================================
--- head/textproc/p5-RDF-Notation3/Makefile Sat Jul 27 16:45:26 2013 (r323796)
+++ head/textproc/p5-RDF-Notation3/Makefile Sat Jul 27 17:05:15 2013 (r323797)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: RDF::Notation3
-# Date created: 21 Nov 2001
-# Whom: Sergey Skvortsov <skv at protey.ru>
-#
+# Created by: Sergey Skvortsov <skv at protey.ru>
# $FreeBSD$
-#
PORTNAME= RDF-Notation3
PORTVERSION= 0.91
@@ -32,7 +28,7 @@ MAN3= RDF::Notation3.3 RDF::Notation3::
post-patch:
@${FIND} ${WRKSRC} -name "*.pm" | \
- ${XARGS} ${PERL} -pi -e 's!^require 5.005_62;!!'
+ ${XARGS} ${REINPLACE_CMD} -i '' -e 's!^require 5.005_62;!!'
${MV} ${WRKSRC}/doc/*.pod ${WRKSRC}/lib/RDF
.include <bsd.port.mk>
Modified: head/www/bkmrkconv/Makefile
==============================================================================
--- head/www/bkmrkconv/Makefile Sat Jul 27 16:45:26 2013 (r323796)
+++ head/www/bkmrkconv/Makefile Sat Jul 27 17:05:15 2013 (r323797)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: bkmrkconv
-# Date created: 18 Dec 1999
-# Whom: Will Andrews <andrews at technologist.com>
-#
+# Created by: Will Andrews <andrews at technologist.com>
# $FreeBSD$
-#
PORTNAME= bkmrkconv
PORTVERSION= 1.12
@@ -17,7 +13,7 @@ USE_PERL5= yes
NO_BUILD= yes
post-patch:
- @${FIND} ${WRKSRC} -name '*.pl' | ${XARGS} ${PERL} -pi -e \
+ @${FIND} ${WRKSRC} -name '*.pl' | ${XARGS} ${REINPLACE_CMD} -i '' -e \
's|/usr/bin/perl|${PERL}|g ; \
s|%%PREFIX%%|${PREFIX}|g'
Modified: head/x11-fonts/mkitalic/Makefile
==============================================================================
--- head/x11-fonts/mkitalic/Makefile Sat Jul 27 16:45:26 2013 (r323796)
+++ head/x11-fonts/mkitalic/Makefile Sat Jul 27 17:05:15 2013 (r323797)
@@ -20,9 +20,8 @@ EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= > ${WRKSRC}/mkitalic
NO_WRKSUBDIR= yes
USE_BZIP2= yes
-
-do-build:
- ${PERL} -pi.orig -e 's|^#!/usr/bin/perl|#! ${PERL}|' ${WRKSRC}/mkitalic
+USES= shebangfix
+SHEBANG_FILES= mkitalic
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mkitalic ${PREFIX}/bin
More information about the svn-ports-head
mailing list