Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2003 01:14:51 +0100 (CET)
From:      "Simon 'portlint' Schubert" <corecode@corecode.ath.cx>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jeremy@external.org, wjv@FreeBSD.org
Subject:   ports/47654: unPERLify ports/biology
Message-ID:  <200301300014.h0U0Ep4Q013367@terrorfish.uni.stoert.net>

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

>Number:         47654
>Category:       ports
>Synopsis:       unPERLify ports/biology
>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:17 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: 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:
>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.h0U0Ep4Q013367>