diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2003-11-21 03:20:21 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2003-11-21 03:20:21 +0000 |
commit | 221ab4b10c12216368381c368046bb763ca76e85 (patch) | |
tree | aba1c66c8189942c5661a54e4f03b75884a3de06 | |
parent | f2e9fdbd86cdb57fa2438b0b7df68c51045ee117 (diff) | |
download | ports-221ab4b10c12216368381c368046bb763ca76e85.tar.gz ports-221ab4b10c12216368381c368046bb763ca76e85.zip |
Notes
-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 ecdee907dfdb..fdaa0b376ae6 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 \ |