aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libICE
diff options
context:
space:
mode:
authorlesi <lesi@FreeBSD.org>2005-03-19 04:30:04 +0800
committerlesi <lesi@FreeBSD.org>2005-03-19 04:30:04 +0800
commitb07a8bfe55a26b12be81e2a893c6b2bdb0d531c5 (patch)
tree0b0bf54f2fc7a0e5f109cb0f36ce4340d2039a7e /x11/libICE
parent48b6b123bdba3d642ff40ea80b9ef69f710039fd (diff)
downloadfreebsd-ports-graphics-b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5.tar.gz
freebsd-ports-graphics-b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5.tar.zst
freebsd-ports-graphics-b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5.zip
Generate proper package listing when using new mtree from xorg-server port.
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 37c8671d24c..54804bc1d7c 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 1cd16b2ffab..70f3203b41b 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