aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
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-fonts
parent48b6b123bdba3d642ff40ea80b9ef69f710039fd (diff)
downloadfreebsd-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-fonts')
-rw-r--r--x11-fonts/libXfont/Makefile10
-rw-r--r--x11-fonts/libXfont/pkg-plist1
2 files changed, 10 insertions, 1 deletions
diff --git a/x11-fonts/libXfont/Makefile b/x11-fonts/libXfont/Makefile
index c469f839c602..f539d17cf1d9 100644
--- a/x11-fonts/libXfont/Makefile
+++ b/x11-fonts/libXfont/Makefile
@@ -28,4 +28,12 @@ CONFIGURE_ARGS= --enable-freetype
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-fonts/libXfont/pkg-plist b/x11-fonts/libXfont/pkg-plist
index 9f5fdb9a1c25..e3a1735d1674 100644
--- a/x11-fonts/libXfont/pkg-plist
+++ b/x11-fonts/libXfont/pkg-plist
@@ -13,3 +13,4 @@ lib/libXfont.la
lib/libXfont.so
lib/libXfont.so.1
libdata/pkgconfig/xfont.pc
+%%NEWMTREE%%@dirrm include/X11/fonts