aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/tv-fonts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/tv-fonts/Makefile')
-rw-r--r--x11-fonts/tv-fonts/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11-fonts/tv-fonts/Makefile b/x11-fonts/tv-fonts/Makefile
index c7ac1e4967b5..c139c7fbe115 100644
--- a/x11-fonts/tv-fonts/Makefile
+++ b/x11-fonts/tv-fonts/Makefile
@@ -38,4 +38,12 @@ do-install:
post-install:
@-${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}
-.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>