aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
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 /graphics
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 'graphics')
-rw-r--r--graphics/hobbes-icons-xpm/Makefile10
-rw-r--r--graphics/hobbes-icons-xpm/pkg-plist1
-rw-r--r--graphics/xpcd/Makefile10
-rw-r--r--graphics/xpcd/pkg-plist1
4 files changed, 20 insertions, 2 deletions
diff --git a/graphics/hobbes-icons-xpm/Makefile b/graphics/hobbes-icons-xpm/Makefile
index 89388e1f7ae4..0c1668b8f4ee 100644
--- a/graphics/hobbes-icons-xpm/Makefile
+++ b/graphics/hobbes-icons-xpm/Makefile
@@ -34,4 +34,12 @@ post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/*.shar ${DOCSDIR}
.endif
-.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/graphics/hobbes-icons-xpm/pkg-plist b/graphics/hobbes-icons-xpm/pkg-plist
index 9de035f730ad..c9b180e1cc51 100644
--- a/graphics/hobbes-icons-xpm/pkg-plist
+++ b/graphics/hobbes-icons-xpm/pkg-plist
@@ -3417,3 +3417,4 @@ include/X11/pixmaps/z/zug2.xpm
@dirrm include/X11/pixmaps/x
@dirrm include/X11/pixmaps/y
@dirrm include/X11/pixmaps/z
+%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true
diff --git a/graphics/xpcd/Makefile b/graphics/xpcd/Makefile
index d494d826f25e..227b4339f373 100644
--- a/graphics/xpcd/Makefile
+++ b/graphics/xpcd/Makefile
@@ -28,4 +28,12 @@ MAKE_ENV+= LDFLAGS="${LDFLAGS}"
USE_X_PREFIX= yes
MAN1= pcdtoppm.1 pcdview.1 xpcd.1
-.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/graphics/xpcd/pkg-plist b/graphics/xpcd/pkg-plist
index b9db9807768b..8a10e958d75f 100644
--- a/graphics/xpcd/pkg-plist
+++ b/graphics/xpcd/pkg-plist
@@ -11,3 +11,4 @@ lib/X11/xpcd/system.xpcdrc
@dirrm lib/X11/de/app-defaults
@dirrm lib/X11/de
@dirrm lib/X11/xpcd
+%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true