From sf@dsinw.com  Sun Jun 23 10:00:46 2002
Return-Path: <sf@dsinw.com>
Received: from innovations.dsinw.com (ns.dsinw.com [207.149.40.194])
	by hub.freebsd.org (Postfix) with ESMTP id 3703937B411
	for <freebsd-gnats-submit@freebsd.org>; Sun, 23 Jun 2002 10:00:26 -0700 (PDT)
Received: from ivymike.satan.kom (05-030.021.popsite.net [192.216.197.30])
	by innovations.dsinw.com (8.11.6/8.11.6) with ESMTP id g5NGwd616648
	for <freebsd-gnats-submit@freebsd.org>; Sun, 23 Jun 2002 09:58:40 -0700
Message-Id: <20020623100111.S99464-100000@ivymike.satan.kom>
Date: Sun, 23 Jun 2002 10:01:53 -0700 (PDT)
From: Scott Flatman <sf@dsinw.com>
To: freebsd-gnats-submit@freebsd.org
Subject: ports/print/pnm2ppa  ${SED} -> ${REINPLACE_CMD}

>Number:         39713
>Category:       ports
>Synopsis:       ${SED} -> ${REINPLACE_CMD}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 23 10:10:00 PDT 2002
>Closed-Date:    Sun Jun 23 13:43:51 PDT 2002
>Last-Modified:  Mon Jul 05 16:53:50 GMT 2004
>Originator:     Scott Flatman
>Release:        
>Organization:
>Environment:
>Description:
	${SED} -> ${REINPLACE_CMD}
>How-To-Repeat:
>Fix:

--- patch-pnm2ppa begins here ---
--- Makefile.orig	Tue Sep 11 13:52:32 2001
+++ Makefile	Sun Jun 23 09:59:46 2002
@@ -17,17 +17,18 @@
 RUN_DEPENDS=	gs:${PORTSDIR}/print/ghostscript-gnu \
 		enscript:${PORTSDIR}/print/enscript-letter

+USE_REINPLACE=	yes
 MAN1=		pnm2ppa.1

 post-patch:
-	@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
+	@${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" \
 		${WRKSRC}/pnm2ppa.conf > ${WRKSRC}/pnm2ppa.conf.sample
-	@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
+	@${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" \
 		${WRKSRC}/docs/en/pnm2ppa.1 > ${WRKSRC}/pnm2ppa.1
-	@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
+	@${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" \
 	        -e "s:%%LOCALBASE%%:${LOCALBASE}:g" \
 		${FILESDIR}/asciippafilter.SH > ${WRKSRC}/asciippafilter
-	@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
+	@${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" \
 	        -e "s:%%LOCALBASE%%:${LOCALBASE}:g" \
 		${FILESDIR}/ppafilter.SH > ${WRKSRC}/ppafilter
--- patch-pnm2ppa ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pat 
State-Changed-When: Sun Jun 23 13:43:20 PDT 2002 
State-Changed-Why:  
SED usage is fine. 

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