diff options
author | cegger <cegger> | 2012-10-29 09:46:46 +0000 |
---|---|---|
committer | cegger <cegger> | 2012-10-29 09:46:46 +0000 |
commit | a29f99599e1e11ecad83abd94148c8a3c4e97075 (patch) | |
tree | 33f13273924eccbc327e4daaee9fc8c391b66c48 /wm/fvwm1/Makefile | |
parent | 737988f093cf094693c65e76683c10069f87de75 (diff) | |
download | pkgsrc-a29f99599e1e11ecad83abd94148c8a3c4e97075.tar.gz |
Do not hardcode pathes. Use ${X11BASE} instead.
Diffstat (limited to 'wm/fvwm1/Makefile')
-rw-r--r-- | wm/fvwm1/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/wm/fvwm1/Makefile b/wm/fvwm1/Makefile index 0524c1202e4..22bddbbe937 100644 --- a/wm/fvwm1/Makefile +++ b/wm/fvwm1/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.20 2012/10/23 10:24:14 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2012/10/29 09:46:46 cegger Exp $ DISTNAME= fvwm-1.24r PKGNAME= ${DISTNAME:S/fvwm/fvwm1/} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= x11 wm MASTER_SITES= ${MASTER_SITE_LOCAL} @@ -35,7 +35,13 @@ post-patch: cd ${WRKSRC}; \ ${MV} configure.h configure.h.old; \ ${SED} -e 's#$${PREFIX}#${PREFIX}#g' \ - -e 's#$${X11BASE}#${X11BASE}#g' configure.h.old >configure.h + -e 's#$${X11BASE}#${X11BASE}#g' configure.h.old >configure.h; \ + ${MV} sample.fvwmrc/system.fvwmrc sample.fvwmrc/system.fvwmrc.old; \ + ${SED} -e 's#$${PREFIX}#${PREFIX}#g' \ + -e 's#$${X11BASE}#${X11BASE}#g' sample.fvwmrc/system.fvwmrc.old >sample.fvwmrc/system.fvwmrc; \ + ${MV} sample.fvwmrc/mwm.fvwmrc sample.fvwmrc/mwm.fvwmrc.old; \ + ${SED} -e 's#$${PREFIX}#${PREFIX}#g' \ + -e 's#$${X11BASE}#${X11BASE}#g' sample.fvwmrc/mwm.fvwmrc.old >sample.fvwmrc/mvm.fvwmrc INSTALLATION_DIRS= lib/X11/fvwm/pixmaps lib/X11/fvwm/bitmaps |