Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2003 01:14:27 +0100 (CET)
From:      "Simon 'portlint' Schubert" <corecode@corecode.ath.cx>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kiri@pis.toba-cmt.ac.jp
Subject:   ports/47650: unPERLify ports/archivers
Message-ID:  <200301300014.h0U0ERdS013211@terrorfish.uni.stoert.net>

next in thread | raw e-mail | index | archive | help

>Number:         47650
>Category:       ports
>Synopsis:       unPERLify ports/archivers
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 29 16:20:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Simon 'portlint' Schubert
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD terrorfish.uni.stoert.net 5.0-CURRENT FreeBSD 5.0-CURRENT #43: Thu Jan 23 17:46:13 CET 2003 corecode@terrorfish.uni.stoert.net:/usr/obj/athlon/usr/src/sys/TERRORFISH i386


	
>Description:
	unPERLify
	
>How-To-Repeat:
	
>Fix:

Index: deepforest/Makefile
===================================================================
RCS file: /home/ncvs/ports/archivers/deepforest/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- deepforest/Makefile	8 Jan 2001 19:05:49 -0000	1.9
+++ deepforest/Makefile	29 Jan 2003 22:11:21 -0000
@@ -22,7 +22,9 @@
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 USE_X_PREFIX=	yes
-SCRIPTS_ENV=	LANG=C LN=${LN} PERL=${PERL} LANGUAGE=${LANGUAGE} VERSION=${TKSTEPVERSION}
+USE_REINPLACE=	yes
+SCRIPTS_ENV=	LANG=C LN=${LN} REINPLACE_CMD="${REINPLACE_CMD}" \
+	     	LANGUAGE=${LANGUAGE} VERSION=${TKSTEPVERSION}
 PLIST_SUB=	PIXMAP_PATH=${PIXMAPPATH:S@^${PREFIX}/@@}
 
 # This port is for both archivers/deepforest and japanese/deepforest.
Index: deepforest/scripts/post-install
===================================================================
RCS file: /home/ncvs/ports/archivers/deepforest/scripts/post-install,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 post-install
--- deepforest/scripts/post-install	6 May 1999 13:53:30 -0000	1.1.1.1
+++ deepforest/scripts/post-install	29 Jan 2003 22:11:21 -0000
@@ -3,9 +3,9 @@
 case ${LANGUAGE} in
     Japanese)
 	for f in DeepForest.app; do
-	    ${PERL} -pi -e '
-		s/^(exec[ \t]+)wishstep[^ \t]*([ \t]+.*)$/$1wishstep$ENV{VERSION}jp$2/
-		' ${PREFIX}/JDE/DeepForest/${f}
+	    ${REINPLACE_CMD} -E -e \
+	    	"s/^(exec[[:space:]]+)wishstep[^[:space:]]*([[:space:]]+.*)\$/\1wishstep${VERSION}jp\2/" \
+		${PREFIX}/JDE/DeepForest/${f}
 	done
     ;;
     *)
	


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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