summaryrefslogtreecommitdiffstats
path: root/x11/resourceext
diff options
context:
space:
mode:
authorlesi <lesi@FreeBSD.org>2005-03-18 20:30:04 +0000
committerlesi <lesi@FreeBSD.org>2005-03-18 20:30:04 +0000
commitb07a8bfe55a26b12be81e2a893c6b2bdb0d531c5 (patch)
tree0b0bf54f2fc7a0e5f109cb0f36ce4340d2039a7e /x11/resourceext
parent48b6b123bdba3d642ff40ea80b9ef69f710039fd (diff)
downloadFreeBSD-ports-b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5.zip
FreeBSD-ports-b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5.tar.gz
Generate proper package listing when using new mtree from xorg-server port.
Diffstat (limited to 'x11/resourceext')
-rw-r--r--x11/resourceext/Makefile10
-rw-r--r--x11/resourceext/pkg-plist1
2 files changed, 10 insertions, 1 deletions
diff --git a/x11/resourceext/Makefile b/x11/resourceext/Makefile
index 7cfa50a..c82986e 100644
--- a/x11/resourceext/Makefile
+++ b/x11/resourceext/Makefile
@@ -24,4 +24,12 @@ USE_GMAKE= yes
NO_BUILD= yes
USE_GNOME= gnomehack
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${X_WINDOW_SYSTEM:L} == xorg
+PLIST_SUB+= NEWMTREE=""
+.else
+PLIST_SUB+= NEWMTREE="@comment "
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11/resourceext/pkg-plist b/x11/resourceext/pkg-plist
index 17abb50..c799fc8 100644
--- a/x11/resourceext/pkg-plist
+++ b/x11/resourceext/pkg-plist
@@ -1,2 +1,3 @@
include/X11/extensions/XResproto.h
libdata/pkgconfig/resourceext.pc
+%%NEWMTREE%%@unexec rmdir %D/include/X11/extensions 2>/dev/null || true
OpenPOWER on IntegriCloud