aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-07-06 10:14:34 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-07-06 10:14:34 +0000
commit5d2b9f69d690d5e732cafd007156d3c9fefda57f (patch)
treefe7cd216e09a0c3e6028fcc0046dcfbda5883d68 /x11
parent0cb595fdf91604dc747a1bfaf47bdd1a6bcd7bfc (diff)
downloadports-5d2b9f69d690d5e732cafd007156d3c9fefda57f.tar.gz
ports-5d2b9f69d690d5e732cafd007156d3c9fefda57f.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/xcolorsel/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/x11/xcolorsel/Makefile b/x11/xcolorsel/Makefile
index 82352b13c137..65774de6825e 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>