aboutsummaryrefslogtreecommitdiff
path: root/x11/xextensions
diff options
context:
space:
mode:
authorDejan Lesjak <lesi@FreeBSD.org>2005-03-18 20:30:04 +0000
committerDejan Lesjak <lesi@FreeBSD.org>2005-03-18 20:30:04 +0000
commita28953dc2d173c9d923c1ca57d3cd76fe74ed188 (patch)
tree595ad1e836116a7629ba5f3b1c1f7a9971963f25 /x11/xextensions
parent4b8ba5ca0585617b82c8e97b82814f7d6e0ae727 (diff)
downloadports-a28953dc2d173c9d923c1ca57d3cd76fe74ed188.tar.gz
ports-a28953dc2d173c9d923c1ca57d3cd76fe74ed188.zip
Notes
Diffstat (limited to 'x11/xextensions')
-rw-r--r--x11/xextensions/Makefile10
-rw-r--r--x11/xextensions/pkg-plist1
2 files changed, 10 insertions, 1 deletions
diff --git a/x11/xextensions/Makefile b/x11/xextensions/Makefile
index 3907fdea0c03..10de5b88c80b 100644
--- a/x11/xextensions/Makefile
+++ b/x11/xextensions/Makefile
@@ -26,4 +26,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/xextensions/pkg-plist b/x11/xextensions/pkg-plist
index 1ca1ee624999..98bfc8c3fd5e 100644
--- a/x11/xextensions/pkg-plist
+++ b/x11/xextensions/pkg-plist
@@ -52,3 +52,4 @@ include/X11/extensions/xtestext1.h
include/X11/extensions/xteststr.h
libdata/pkgconfig/xextensions.pc
@dirrm share/doc/xextensions
+%%NEWMTREE%%@unexec rmdir %D/include/X11/extensions 2>/dev/null || true