aboutsummaryrefslogtreecommitdiff
path: root/x11/libXcursor
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/libXcursor
parent4b8ba5ca0585617b82c8e97b82814f7d6e0ae727 (diff)
downloadports-a28953dc2d173c9d923c1ca57d3cd76fe74ed188.tar.gz
ports-a28953dc2d173c9d923c1ca57d3cd76fe74ed188.zip
Generate proper package listing when using new mtree from xorg-server port.
Notes
Notes: svn path=/head/; revision=131587
Diffstat (limited to 'x11/libXcursor')
-rw-r--r--x11/libXcursor/Makefile10
-rw-r--r--x11/libXcursor/pkg-plist1
2 files changed, 10 insertions, 1 deletions
diff --git a/x11/libXcursor/Makefile b/x11/libXcursor/Makefile
index 59e0b37fd97b..2409ff398345 100644
--- a/x11/libXcursor/Makefile
+++ b/x11/libXcursor/Makefile
@@ -35,4 +35,12 @@ MAN3= Xcursor.3
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/libXcursor/pkg-plist b/x11/libXcursor/pkg-plist
index bfbe4c49ada2..e48cebfa64ae 100644
--- a/x11/libXcursor/pkg-plist
+++ b/x11/libXcursor/pkg-plist
@@ -4,3 +4,4 @@ lib/libXcursor.la
lib/libXcursor.so
lib/libXcursor.so.1
libdata/pkgconfig/xcursor.pc
+%%NEWMTREE%%@dirrm include/X11/Xcursor