aboutsummaryrefslogtreecommitdiff
path: root/x11/xstroke
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
commit534fffca27bb18f7529d548c46ee3326505a89c7 (patch)
treea09ac440edd299d85a3517dea62caa2b115543fc /x11/xstroke
parent5bc499ce47fa1a8da853b36cc61cddf06075d203 (diff)
downloadports-534fffca27bb18f7529d548c46ee3326505a89c7.tar.gz
ports-534fffca27bb18f7529d548c46ee3326505a89c7.zip
Notes
Diffstat (limited to 'x11/xstroke')
-rw-r--r--x11/xstroke/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/xstroke/Makefile b/x11/xstroke/Makefile
index 3adb3c26fdaa..4dba512c6179 100644
--- a/x11/xstroke/Makefile
+++ b/x11/xstroke/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+USE_REINPLACE= yes
USE_BISON= yes
USE_IMAKE= yes
CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
@@ -24,10 +25,10 @@ LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lgnugetopt
MAN1= xstroke.1
post-patch:
- @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \
+ @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g ; \
s,%%CFLAGS%%,${CFLAGS},g ; \
s,%%LDFLAGS%%,${LDFLAGS},g" ${WRKSRC}/Imakefile
- @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile
- @${PERL} -pi -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h
+ @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile
+ @${REINPLACE_CMD} -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h
.include <bsd.port.mk>