diff options
Diffstat (limited to 'x11/resourceext')
-rw-r--r-- | x11/resourceext/Makefile | 10 | ||||
-rw-r--r-- | x11/resourceext/pkg-plist | 1 |
2 files changed, 10 insertions, 1 deletions
diff --git a/x11/resourceext/Makefile b/x11/resourceext/Makefile index 7cfa50a..c82986e 100644 --- a/x11/resourceext/Makefile +++ b/x11/resourceext/Makefile @@ -24,4 +24,12 @@ USE_GMAKE= yes NO_BUILD= 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/resourceext/pkg-plist b/x11/resourceext/pkg-plist index 17abb50..c799fc8 100644 --- a/x11/resourceext/pkg-plist +++ b/x11/resourceext/pkg-plist @@ -1,2 +1,3 @@ include/X11/extensions/XResproto.h libdata/pkgconfig/resourceext.pc +%%NEWMTREE%%@unexec rmdir %D/include/X11/extensions 2>/dev/null || true |