From 4fd1c8e689a9d3cc2704d2554c776a145816cbe6 Mon Sep 17 00:00:00 2001 From: oliver Date: Sun, 6 Jul 2003 10:14:34 +0000 Subject: replace ${PERL} with ${REINPLACE_CMD} PR: 47406 --- x11/xcolorsel/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'x11') diff --git a/x11/xcolorsel/Makefile b/x11/xcolorsel/Makefile index 82352b1..65774de 100644 --- a/x11/xcolorsel/Makefile +++ b/x11/xcolorsel/Makefile @@ -18,15 +18,16 @@ COMMENT= X utility to translate rgb values into X color names LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d WRKSRC= $(WRKDIR)/xcolorsel +USE_REINPLACE= yes USE_IMAKE= yes USE_XPM= yes MAN1= xcolorsel.1 post-patch: - ${ECHO_CMD} "*.file: ${X11BASE}/lib/X11/rgb.txt" >> ${WRKSRC}/Xcolorsel.ad - ${PERL} -pi -e "s|#include ||g; s|/Xaw/|/Xaw3d/|g;" \ - ${WRKSRC}/*.[ch] - ${PERL} -pi -e "s|app2head|./app2head|g; \ - s|XawClientLibs|-lXaw3d \\$$\(XMULIBONLY\) \\$$\(XTOOLLIB\) \\$$\(XPMLIB) \\$$\(XLIB\)|g" ${WRKSRC}/Imakefile + @${ECHO_CMD} "*.file: ${X11BASE}/lib/X11/rgb.txt" >> ${WRKSRC}/Xcolorsel.ad + @${REINPLACE_CMD} -e 's|#include ||g' \ + -e 's|/Xaw/|/Xaw3d/|g' ${WRKSRC}/*.[ch] + @${REINPLACE_CMD} -e 's|app2head|./app2head|g' \ + -e 's|XawClientLibs|-lXaw3d $$(XMULIBONLY) $$(XTOOLLIB) $$(XPMLIB) $$(XLIB)|g' ${WRKSRC}/Imakefile .include -- cgit v1.1