aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/fvwm
diff options
context:
space:
mode:
authorlesi <lesi@FreeBSD.org>2005-06-15 10:42:14 +0800
committerlesi <lesi@FreeBSD.org>2005-06-15 10:42:14 +0800
commit97905f8a7c8bde78045d3d4e0c7381d732562a8e (patch)
treec48951d08bfad18656a10e4b6dd5d82feb0387f5 /x11-wm/fvwm
parentecf40d2a6837b577969dd569157afeaf4ab4fa83 (diff)
downloadfreebsd-ports-gnome-97905f8a7c8bde78045d3d4e0c7381d732562a8e.tar.gz
freebsd-ports-gnome-97905f8a7c8bde78045d3d4e0c7381d732562a8e.tar.zst
freebsd-ports-gnome-97905f8a7c8bde78045d3d4e0c7381d732562a8e.zip
Fix up plist after modifications to mtree (BSD.x11-4.dist rev. 1.27).
Diffstat (limited to 'x11-wm/fvwm')
-rw-r--r--x11-wm/fvwm/Makefile10
-rw-r--r--x11-wm/fvwm/pkg-plist1
2 files changed, 10 insertions, 1 deletions
diff --git a/x11-wm/fvwm/Makefile b/x11-wm/fvwm/Makefile
index f712eed33d25..0bdf72db26d6 100644
--- a/x11-wm/fvwm/Makefile
+++ b/x11-wm/fvwm/Makefile
@@ -30,4 +30,12 @@ post-install:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
${WRKSRC}/fvwm_icons/*.xpm ${PREFIX}/include/X11/pixmaps
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${X_WINDOW_SYSTEM:L} == xfree86-4
+PLIST_SUB+= NEWMTREE=""
+.else
+PLIST_SUB+= NEWMTREE="@comment "
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11-wm/fvwm/pkg-plist b/x11-wm/fvwm/pkg-plist
index 41e54ea570f0..49ce4a029b3b 100644
--- a/x11-wm/fvwm/pkg-plist
+++ b/x11-wm/fvwm/pkg-plist
@@ -59,3 +59,4 @@ include/X11/pixmaps/xterm-sol.xpm
include/X11/pixmaps/xterm-sun.xpm
include/X11/pixmaps/xterm.xpm
@dirrm lib/X11/fvwm
+%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true