From corecode@corecode.ath.cx  Wed Jan 29 16:14:25 2003
Return-Path: <corecode@corecode.ath.cx>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 628F937B401; Wed, 29 Jan 2003 16:14:25 -0800 (PST)
Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 780A143F3F; Wed, 29 Jan 2003 16:14:24 -0800 (PST)
	(envelope-from corecode@corecode.ath.cx)
Received: from fwd08.sul.t-online.de 
	by mailout08.sul.t-online.com with smtp 
	id 18e2LU-0004iK-02; Thu, 30 Jan 2003 01:14:20 +0100
Received: from pride.uni.stoert.net (320050403952-0001@[80.128.123.145]) by fmrl08.sul.t-online.com
	with esmtp id 18e2LH-29vMo4C; Thu, 30 Jan 2003 01:14:07 +0100
Received: from terrorfish.uni.stoert.net (terrorfish.uni.stoert.net [10.150.180.178])
	by pride.uni.stoert.net (Postfix) with ESMTP
	id EF8F012F05B; Thu, 30 Jan 2003 01:14:06 +0100 (CET)
Received: from terrorfish.uni.stoert.net (localhost [127.0.0.1])
	by terrorfish.uni.stoert.net (8.12.6/8.12.6) with ESMTP id h0U0Es2g013368;
	Thu, 30 Jan 2003 01:14:54 +0100 (CET)
	(envelope-from corecode@terrorfish.uni.stoert.net)
Received: (from corecode@localhost)
	by terrorfish.uni.stoert.net (8.12.6/8.12.6/Submit) id h0U0Ep4Q013367;
	Thu, 30 Jan 2003 01:14:51 +0100 (CET)
	(envelope-from corecode)
Message-Id: <200301300014.h0U0Ep4Q013367@terrorfish.uni.stoert.net>
Date: Thu, 30 Jan 2003 01:14:51 +0100 (CET)
From: "Simon 'portlint' Schubert" <corecode@corecode.ath.cx>
Reply-To: "Simon 'portlint' Schubert" <corecode@corecode.ath.cx>
To: FreeBSD-gnats-submit@freebsd.org
Cc: jeremy@external.org, wjv@freebsd.org
Subject: unPERLify ports/biology
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47654
>Category:       ports
>Synopsis:       unPERLify ports/biology
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 29 16:20:17 PST 2003
>Closed-Date:    Sat Nov 15 12:13:37 PST 2003
>Last-Modified:  Sat Nov 15 12:13:37 PST 2003
>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: emboss/Makefile
===================================================================
RCS file: /home/ncvs/ports/biology/emboss/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- emboss/Makefile	27 Sep 2002 08:58:19 -0000	1.30
+++ emboss/Makefile	29 Jan 2003 21:47:28 -0000
@@ -19,6 +19,7 @@
 
 LIB_DEPENDS=	gd.2:${PORTSDIR}/graphics/gd
 
+USE_REINPLACE=	yes
 USE_SUBMAKE=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
@@ -88,8 +89,8 @@
 
 post-patch:
 .for DIR in ${DOC_DIRS}
-	@ ${PERL} -pi.orig -e \
-	  's#\$$\(prefix\)/share/\$$\(PACKAGE\)/doc#\$$\(datadir\)/doc/\$$\(PACKAGE\)#' \
+	@ ${REINPLACE_CMD} -e \
+	  's#\$$(prefix)/share/\$$(PACKAGE)/doc#$$(datadir)/doc/$$(PACKAGE)#' \
 	  ${WRKSRC}/${DIR}/Makefile.in
 .endfor
 
@@ -123,12 +124,12 @@
 	  ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \
 	  ${MAKE_ARGS} ${INSTALL_TARGET}
 .endfor
-	@ ${PERL} -pe 's#%%PREFIX%%#${PREFIX}#' \
+	@ ${SED} -e 's#%%PREFIX%%#${PREFIX}#' \
 	  ${CONFIG_FILE} > ${PREFIX}/etc/emboss.default.sample && \
 	  ${CHOWN} ${SHAREOWN}:${SHAREGRP} \
 	  ${PREFIX}/etc/emboss.default.sample
-	@ ${PERL} -pe 's#%%PREFIX%%#${PREFIX}#' \
-	  pkg-message > ${PKGMESSAGE}
+	@ ${SED} -e 's#%%PREFIX%%#${PREFIX}#' \
+	  ${.CURDIR}/pkg-message > ${PKGMESSAGE}
 .if !defined(BATCH)
 	@ ${CAT} ${PKGMESSAGE}
 .endif
Index: fasta3/Makefile
===================================================================
RCS file: /home/ncvs/ports/biology/fasta3/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- fasta3/Makefile	3 Jul 2001 09:08:26 -0000	1.7
+++ fasta3/Makefile	29 Jan 2003 21:48:27 -0000
@@ -45,7 +45,7 @@
 .endfor
 .endif
 .if !defined(BATCH)
-	@ ${PERL} -pe 's#%%PREFIX%%#${PREFIX}#' pkg-message > ${PKGMESSAGE}
+	@ ${SED} -e 's#%%PREFIX%%#${PREFIX}#' ${.CURDIR}/pkg-message > ${PKGMESSAGE}
 	@ ${CAT} ${PKGMESSAGE}
 .endif
 
Index: kinemage/Makefile
===================================================================
RCS file: /home/ncvs/ports/biology/kinemage/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- kinemage/Makefile	11 Dec 2000 03:10:01 -0000	1.12
+++ kinemage/Makefile	29 Jan 2003 21:50:34 -0000
@@ -19,8 +19,6 @@
 
 MAINTAINER=	jeremy@external.org
 
-WRKSRC=		${WRKDIR}/${DISTNAME}
-
 USE_MOTIF=	YES
 
 ALL_TARGET=	mage
	


>Release-Note:
>Audit-Trail:

From: Fernan Aguero <fernan@iib.unsam.edu.ar>
To: "Simon 'portlint' Schubert" <corecode@corecode.ath.cx>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG, jeremy@external.org,
	wjv@FreeBSD.ORG
Subject: Re: ports/47654: unPERLify ports/biology
Date: Thu, 30 Jan 2003 10:37:28 -0300

 Simon,
 
 I'm working in the emboss port, and while updating it to
 2.6.0 I also took care of using REINPLACE_CMD instead of
 PERL. I still have some issues to resolve before submitting
 it, though.
 
 Fernan
 
 +----[ Simon 'portlint' Schubert <corecode@corecode.ath.cx> (29.Jan.2003 21:28):
 |
 | Index: emboss/Makefile
 | ===================================================================
 | RCS file: /home/ncvs/ports/biology/emboss/Makefile,v
 | retrieving revision 1.30
 | diff -u -r1.30 Makefile
 | --- emboss/Makefile	27 Sep 2002 08:58:19 -0000	1.30
 | +++ emboss/Makefile	29 Jan 2003 21:47:28 -0000
 | @@ -19,6 +19,7 @@
 |  
 |  LIB_DEPENDS=	gd.2:${PORTSDIR}/graphics/gd
 |  
 | +USE_REINPLACE=	yes
 |  USE_SUBMAKE=	yes
 |  USE_GMAKE=	yes
 |  GNU_CONFIGURE=	yes
 | @@ -88,8 +89,8 @@
 |  
 |  post-patch:
 |  .for DIR in ${DOC_DIRS}
 | -	@ ${PERL} -pi.orig -e \
 | -	  's#\$$\(prefix\)/share/\$$\(PACKAGE\)/doc#\$$\(datadir\)/doc/\$$\(PACKAGE\)#' \
 | +	@ ${REINPLACE_CMD} -e \
 | +	  's#\$$(prefix)/share/\$$(PACKAGE)/doc#$$(datadir)/doc/$$(PACKAGE)#' \
 |  	  ${WRKSRC}/${DIR}/Makefile.in
 |  .endfor
 |  
 | @@ -123,12 +124,12 @@
 |  	  ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \
 |  	  ${MAKE_ARGS} ${INSTALL_TARGET}
 |  .endfor
 | -	@ ${PERL} -pe 's#%%PREFIX%%#${PREFIX}#' \
 | +	@ ${SED} -e 's#%%PREFIX%%#${PREFIX}#' \
 |  	  ${CONFIG_FILE} > ${PREFIX}/etc/emboss.default.sample && \
 |  	  ${CHOWN} ${SHAREOWN}:${SHAREGRP} \
 |  	  ${PREFIX}/etc/emboss.default.sample
 | -	@ ${PERL} -pe 's#%%PREFIX%%#${PREFIX}#' \
 | -	  pkg-message > ${PKGMESSAGE}
 | +	@ ${SED} -e 's#%%PREFIX%%#${PREFIX}#' \
 | +	  ${.CURDIR}/pkg-message > ${PKGMESSAGE}
 |  .if !defined(BATCH)
 |  	@ ${CAT} ${PKGMESSAGE}
 |  .endif
 |
 +----]
 
 -- 
 F e r n a n   A g u e r o
 http://genoma.unsam.edu.ar/~fernan
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Sat Nov 15 12:13:26 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47654 
>Unformatted:
