diff options
author | olgeni <olgeni@FreeBSD.org> | 2001-03-29 19:19:19 +0000 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2001-03-29 19:19:19 +0000 |
commit | 0270f6779e5f0b593d9154bd02b42b417f296799 (patch) | |
tree | 7de2d770a060b62193cafa01c2b6b4506cead05c /x11/wdm/Makefile | |
parent | f0b292604d9dee97034221e957b11e67ebaa5bcb (diff) | |
download | FreeBSD-ports-0270f6779e5f0b593d9154bd02b42b417f296799.zip FreeBSD-ports-0270f6779e5f0b593d9154bd02b42b417f296799.tar.gz |
Preserve Xsetup_0 at install/deinstall time.
Some directories in plist had to be removed with rmdir at deinstall time.
Diffstat (limited to 'x11/wdm/Makefile')
-rw-r--r-- | x11/wdm/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/x11/wdm/Makefile b/x11/wdm/Makefile index a69cfcf..c87c729 100644 --- a/x11/wdm/Makefile +++ b/x11/wdm/Makefile @@ -56,14 +56,24 @@ pre-install: ${MV} ${PREFIX}/lib/X11/wdm/wdm-config \ ${PREFIX}/lib/X11/wdm/wdm-config.preserve; \ fi + @if [ -e ${PREFIX}/lib/X11/wdm/Xsetup_0 ]; then \ + ${MV} ${PREFIX}/lib/X11/wdm/Xsetup_0 \ + ${PREFIX}/lib/X11/wdm/Xsetup_0.preserve; \ + fi post-install: @${CP} ${PREFIX}/lib/X11/wdm/wdm-config \ - ${PREFIX}/lib/X11/wdm/wdm-config.dist; + ${PREFIX}/lib/X11/wdm/wdm-config.dist @if [ -e ${PREFIX}/lib/X11/wdm/wdm-config.preserve ]; then \ ${MV} ${PREFIX}/lib/X11/wdm/wdm-config.preserve \ ${PREFIX}/lib/X11/wdm/wdm-config; \ fi + @${CP} ${PREFIX}/lib/X11/wdm/Xsetup_0 \ + ${PREFIX}/lib/X11/wdm/Xsetup_0.dist + @if [ -e ${PREFIX}/lib/X11/wdm/Xsetup_0.preserve ]; then \ + ${MV} ${PREFIX}/lib/X11/wdm/Xsetup_0.preserve \ + ${PREFIX}/lib/X11/wdm/Xsetup_0; \ + fi @${INSTALL_DATA} ${_DISTDIR}/${DAEMONPIC} ${PREFIX}/lib/X11/wdm/pixmaps .include <bsd.port.mk> |