diff options
author | lesi <lesi@FreeBSD.org> | 2005-03-19 04:30:04 +0800 |
---|---|---|
committer | lesi <lesi@FreeBSD.org> | 2005-03-19 04:30:04 +0800 |
commit | b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5 (patch) | |
tree | 0b0bf54f2fc7a0e5f109cb0f36ce4340d2039a7e /x11/panoramixext | |
parent | 48b6b123bdba3d642ff40ea80b9ef69f710039fd (diff) | |
download | freebsd-ports-gnome-b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5.tar.gz freebsd-ports-gnome-b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5.tar.zst freebsd-ports-gnome-b07a8bfe55a26b12be81e2a893c6b2bdb0d531c5.zip |
Generate proper package listing when using new mtree from xorg-server port.
Diffstat (limited to 'x11/panoramixext')
-rw-r--r-- | x11/panoramixext/Makefile | 10 | ||||
-rw-r--r-- | x11/panoramixext/pkg-plist | 1 |
2 files changed, 10 insertions, 1 deletions
diff --git a/x11/panoramixext/Makefile b/x11/panoramixext/Makefile index dd18038b3917..70067598b5ac 100644 --- a/x11/panoramixext/Makefile +++ b/x11/panoramixext/Makefile @@ -22,4 +22,12 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} USE_GMAKE= 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/panoramixext/pkg-plist b/x11/panoramixext/pkg-plist index aa2cf3c67f11..07eea2b5f045 100644 --- a/x11/panoramixext/pkg-plist +++ b/x11/panoramixext/pkg-plist @@ -1,3 +1,4 @@ include/X11/extensions/panoramiXext.h include/X11/extensions/panoramiXproto.h libdata/pkgconfig/panoramixext.pc +%%NEWMTREE%%@unexec rmdir %D/include/X11/extensions 2>/dev/null || true |