aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/aewm/Makefile
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-09-25 22:09:40 +0800
committertrevor <trevor@FreeBSD.org>2002-09-25 22:09:40 +0800
commit4f5538198c90f3155d77ac551d20c7f70a711e1b (patch)
tree279f07a65834e63bdbcd86fa72e03fdf77a9053e /x11-wm/aewm/Makefile
parent37192f4c864fb7b13757ee317b12c9512b8f630d (diff)
downloadfreebsd-ports-gnome-4f5538198c90f3155d77ac551d20c7f70a711e1b.tar.gz
freebsd-ports-gnome-4f5538198c90f3155d77ac551d20c7f70a711e1b.tar.zst
freebsd-ports-gnome-4f5538198c90f3155d77ac551d20c7f70a711e1b.zip
s/perl/sed/
Diffstat (limited to 'x11-wm/aewm/Makefile')
-rw-r--r--x11-wm/aewm/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11-wm/aewm/Makefile b/x11-wm/aewm/Makefile
index 8fc9f2e0ca74..c7e29d04d5b0 100644
--- a/x11-wm/aewm/Makefile
+++ b/x11-wm/aewm/Makefile
@@ -27,6 +27,8 @@ USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOMENG= yes
WANT_GNOME= yes
+USE_REINPLACE= yes
+REINPLACE_ARGS= -i'' -E
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgtk12}!=""
@@ -35,13 +37,13 @@ PKGNAMESUFFIX= -gtk
.endif
do-patch:
- ${PERL} -pi -e 's:/etc/X11/aewm/aewmrc:${PREFIX}/etc/aewmrc:g' \
+ ${REINPLACE_CMD} 's:/etc/X11/aewm/aewmrc:${PREFIX}/etc/aewmrc:g' \
${WRKSRC}/aewm.h
- ${PERL} -pi -e 's:\+make:\+gmake:g' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} 's:\+make:\+gmake:g' ${WRKSRC}/Makefile
.if ${HAVE_GNOME:Mgtk12}!=""
- ${PERL} -pi -e 's:gtk-config:${GTK_CONFIG}:g' \
+ ${REINPLACE_CMD} 's:gtk-config:${GTK_CONFIG}:g' \
${WRKSRC}/clients/Makefile
- ${PERL} -pi -e 's:/etc/X11/aewm/clientsrc:${PREFIX}/etc/clientsrc:g' \
+ ${REINPLACE_CMD} 's:/etc/X11/aewm/clientsrc:${PREFIX}/etc/clientsrc:g' \
${WRKSRC}/clients/lib/aeclients.h
.endif