Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2013 17:05:16 +0000 (UTC)
From:      Andrej Zverev <az@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323797 - in head: textproc/p5-RDF-Notation3 www/bkmrkconv x11-fonts/mkitalic
Message-ID:  <201307271705.r6RH5GFZ056215@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@protey.ru>
-#
+# Created by: Sergey Skvortsov <skv@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@technologist.com>
-#
+# Created by: Will Andrews <andrews@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307271705.r6RH5GFZ056215>