aboutsummaryrefslogtreecommitdiff
path: root/x11/libICE
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/libICE
parent4b8ba5ca0585617b82c8e97b82814f7d6e0ae727 (diff)
downloadports-a28953dc2d173c9d923c1ca57d3cd76fe74ed188.tar.gz
ports-a28953dc2d173c9d923c1ca57d3cd76fe74ed188.zip
Notes
Diffstat (limited to 'x11/libICE')
-rw-r--r--x11/libICE/Makefile10
-rw-r--r--x11/libICE/pkg-plist1
2 files changed, 10 insertions, 1 deletions
diff --git a/x11/libICE/Makefile b/x11/libICE/Makefile
index 37c8671d24cb..54804bc1d7c7 100644
--- a/x11/libICE/Makefile
+++ b/x11/libICE/Makefile
@@ -29,4 +29,12 @@ USE_INC_LIBTOOL_VER=13
INSTALLS_SHLIB= yes
USE_GNOME= gnomehack pkgconfig
-.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/libICE/pkg-plist b/x11/libICE/pkg-plist
index 1cd16b2ffaba..70f3203b41b7 100644
--- a/x11/libICE/pkg-plist
+++ b/x11/libICE/pkg-plist
@@ -10,3 +10,4 @@ lib/libICE.la
lib/libICE.so
lib/libICE.so.6
libdata/pkgconfig/ice.pc
+%%NEWMTREE%%@dirrm include/X11/ICE