summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2002-09-25 14:42:29 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2002-09-25 14:42:29 +0000
commitbc250860ac818501cb20bc4798c0b1dcff619cfe (patch)
treedc0d0f002982eb551eed0387a312a04a89d86984 /x11-wm
parents/perl/sed/ (diff)
s/perl/sed/
Notes
Notes: svn path=/head/; revision=67130
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 dc747abcaabb..ade4e18dd072 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}