diff options
author | trevor <trevor@FreeBSD.org> | 2003-11-21 03:20:21 +0000 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2003-11-21 03:20:21 +0000 |
commit | 0dbe5434085da25e7284220c7609bd3b286d6a30 (patch) | |
tree | b1f91df00ea357cc95d898b081a8a24c43ae1175 /x11-wm | |
parent | 2ef245cb2eecaefd3ac653c4df81ba8ab92765bc (diff) | |
download | FreeBSD-ports-0dbe5434085da25e7284220c7609bd3b286d6a30.zip FreeBSD-ports-0dbe5434085da25e7284220c7609bd3b286d6a30.tar.gz |
Avoid use of Perl.
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/swm/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/x11-wm/swm/Makefile b/x11-wm/swm/Makefile index ecdee90..fdaa0b3 100644 --- a/x11-wm/swm/Makefile +++ b/x11-wm/swm/Makefile @@ -21,14 +21,16 @@ MAKEFILE= Makefile-xpm PLIST= ${WRKDIR}/pkg-plist SCRIPTS= startswm USE_GMAKE= yes -USE_PERL5_BUILD=yes USE_XPM= yes USE_X_PREFIX= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src post-patch: - ${PERL} -pi -e "s:PREFIX:${PREFIX}:g" \ - ${WRKSRC}/init.c ${WRKSRC}/swm.conf +.for ii in init.c swm.conf + ${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.orig + ${SED} -e "s:PREFIX:${PREFIX}:g" \ + < ${WRKSRC}/${ii}.orig > ${WRKSRC}/${ii} +.endfor post-build: cd ${WRKSRC}/../swmbg && ${CC} ${CFLAGS} -I${X11BASE}/include *.c \ |