diff options
author | oliver <oliver@FreeBSD.org> | 2003-07-06 10:14:34 +0000 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2003-07-06 10:14:34 +0000 |
commit | 4fd1c8e689a9d3cc2704d2554c776a145816cbe6 (patch) | |
tree | 89d178a7a7b70336fed9683257d9d0468c703f8f /x11 | |
parent | 567625c791ff8e5b2f312d4caf8e561f1dc99f52 (diff) | |
download | FreeBSD-ports-4fd1c8e689a9d3cc2704d2554c776a145816cbe6.zip FreeBSD-ports-4fd1c8e689a9d3cc2704d2554c776a145816cbe6.tar.gz |
replace ${PERL} with ${REINPLACE_CMD}
PR: 47406
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xcolorsel/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
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 <malloc.h>||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 <malloc.h>||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 <bsd.port.mk> |