diff options
author | Dejan Lesjak <lesi@FreeBSD.org> | 2005-03-19 04:30:04 +0800 |
---|---|---|
committer | Dejan Lesjak <lesi@FreeBSD.org> | 2005-03-19 04:30:04 +0800 |
commit | a28953dc2d173c9d923c1ca57d3cd76fe74ed188 (patch) | |
tree | 595ad1e836116a7629ba5f3b1c1f7a9971963f25 /x11/libXcursor | |
parent | 4b8ba5ca0585617b82c8e97b82814f7d6e0ae727 (diff) | |
download | freebsd-ports-gnome-a28953dc2d173c9d923c1ca57d3cd76fe74ed188.tar.gz freebsd-ports-gnome-a28953dc2d173c9d923c1ca57d3cd76fe74ed188.tar.zst freebsd-ports-gnome-a28953dc2d173c9d923c1ca57d3cd76fe74ed188.zip |
Generate proper package listing when using new mtree from xorg-server port.
Diffstat (limited to 'x11/libXcursor')
-rw-r--r-- | x11/libXcursor/Makefile | 10 | ||||
-rw-r--r-- | x11/libXcursor/pkg-plist | 1 |
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 |