summaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-09-25 14:42:29 +0000
committertrevor <trevor@FreeBSD.org>2002-09-25 14:42:29 +0000
commit26b140093d8f38994666353b5b874724c6fdbda9 (patch)
treeeb3116324d45c665190b91a560df219651028006 /x11-wm
parent8c6d9d0ab3b3aa702ca210656d79efdfda0613fb (diff)
downloadFreeBSD-ports-26b140093d8f38994666353b5b874724c6fdbda9.zip
FreeBSD-ports-26b140093d8f38994666353b5b874724c6fdbda9.tar.gz
s/perl/sed/
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/alloywm/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11-wm/alloywm/Makefile b/x11-wm/alloywm/Makefile
index dc747ab..ade4e18 100644
--- a/x11-wm/alloywm/Makefile
+++ b/x11-wm/alloywm/Makefile
@@ -18,11 +18,13 @@ USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOMENG= yes
WANT_GNOME= yes
+USE_REINPLACE= yes
+REINPLACE_ARGS= -i'' -E
SCRIPTS= ${WRKSRC}/scriptdir
pre-configure:
${FIND} ${WRKSRC} \( -name '*.in' -or -name configure \) -exec \
- ${PERL} -pi -e 's:bash:sh:g ; \
+ ${REINPLACE_CMD} 's:bash:sh:g ; \
s:gtk-config:${GTK_CONFIG}:g' {} \;
${RM} -f ${WRKSRC}/*/Makefile
${CHMOD} +x ${WRKSRC}/configure
@@ -39,9 +41,9 @@ do-build:
pre-install:
cd ${WRKSRC} && ${FIND} * -type f -perm 755 | cut -f 2 -d / | \
- ${PERL} -pi -e "s:^:bin/:g" > ${PLIST}
+ ${SED} "s:^:bin/:g" > ${PLIST}
${FIND} ${SCRIPTS} \! -name '*in' -type f | \
- ${PERL} -pi -e "s:^${SCRIPTS}:bin:g" >> ${PLIST}
+ ${SED} "s:^${SCRIPTS}:bin:g" >> ${PLIST}
.if !defined(NOPORTDOCS)
.for i in Changelog README
${ECHO_CMD} share/doc/alloywm/${i} >> ${PLIST}
OpenPOWER on IntegriCloud