Bug 39264

Summary: Update port: devel/tkcon ${PERL} -> ${REINPLACE_CMD}
Product: Ports & Packages Reporter: obraun <obraun>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description obraun 2002-06-14 10:10:01 UTC
Replace ${PERL} with ${REINPLACE_CMD}.

Regards,
         Olli
Comment 1 obraun 2002-06-19 23:21:09 UTC
add USE_REINPLACE= yes and fix RE for sed(1)

Regards,
         Olli


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/tkcon/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	2001/09/25 21:26:27	1.9
+++ Makefile	2002/06/19 22:20:23
@@ -15,11 +15,12 @@
 
 RUN_DEPENDS=	wish8.3:${PORTSDIR}/x11-toolkits/tk83
 
+USE_REINPLACE=	yes
 NO_BUILD=	yes
 
 post-patch:
-	@${PERL} -pi \
-		-e 's,docs\s+"([^"]+)",docs	"file:${PREFIX}/share/doc/tkcon/index.html\\n\1",' ${WRKSRC}/tkcon.tcl
+	@${REINPLACE_CMD} -E \
+		-e 's,docs[ 	]+"([^"]+)",docs	"file:${PREFIX}/share/doc/tkcon/index.html\\n\1",' ${WRKSRC}/tkcon.tcl
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/tkcon.tcl ${PREFIX}/bin/tkcon
Comment 2 Hye-Shik Chang freebsd_committer freebsd_triage 2002-06-27 14:33:22 UTC
State Changed
From-To: open->closed

Committed, Thanks!