aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-20 02:36:11 +0800
committerbapt <bapt@FreeBSD.org>2015-03-20 02:36:11 +0800
commite5ebf134fb32baae40b0b70f533195cf5d16d098 (patch)
tree316566b1c1b998edfed5c9e2d21a0aa79645ca63 /Mk/Uses
parent8bd531c21816ed7cd12c15c5bef8b8b97b3aa94d (diff)
downloadfreebsd-ports-gnome-e5ebf134fb32baae40b0b70f533195cf5d16d098.tar.gz
freebsd-ports-gnome-e5ebf134fb32baae40b0b70f533195cf5d16d098.tar.zst
freebsd-ports-gnome-e5ebf134fb32baae40b0b70f533195cf5d16d098.zip
Prepopulate FONTSDIR
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/fonts.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/Uses/fonts.mk b/Mk/Uses/fonts.mk
index 8e8e8d0574ea..ebd4f82bb35a 100644
--- a/Mk/Uses/fonts.mk
+++ b/Mk/Uses/fonts.mk
@@ -13,6 +13,8 @@ RUN_DEPENDS+= fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
+FONTNAME?= ${PORTNAME}
+FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
PLIST_FILES+= "@fcfontsdir ${FONTSDIR}"
SUB_LIST= FONTSDIR="${FONTSDIR}"
PLIST_SUB= FONTSDIR="${FONTSDIR}"