aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/webfonts
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /x11-fonts/webfonts
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'x11-fonts/webfonts')
-rw-r--r--x11-fonts/webfonts/Makefile6
-rw-r--r--x11-fonts/webfonts/pkg-plist2
2 files changed, 4 insertions, 4 deletions
diff --git a/x11-fonts/webfonts/Makefile b/x11-fonts/webfonts/Makefile
index e282f302f87b..4789dafa5188 100644
--- a/x11-fonts/webfonts/Makefile
+++ b/x11-fonts/webfonts/Makefile
@@ -43,11 +43,11 @@ EXTRACT_AFTER_ARGS=
#
FONTNAME= ${PORTNAME}
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
-TTFONTSDIR?= ${X11BASE}/lib/X11/fonts/TrueType
+TTFONTSDIR?= ${LOCALBASE}/lib/X11/fonts/TrueType
PLIST_SUB= FONTNAME="${FONTNAME}" \
FONTSDIR="${FONTSDIR:S|${PREFIX}/||}" \
- TTFONTSDIR="${TTFONTSDIR:S|${X11BASE}/||}"
+ TTFONTSDIR="${TTFONTSDIR:S|${LOCALBASE}/||}"
SUB_LIST= FONTSDIR="${FONTSDIR}" DOCSDIR="${DOCSDIR}"
SUB_FILES= pkg-message
@@ -108,7 +108,7 @@ do-install:
#
post-install:
${ECHO_MSG} "===> Running fc-cache"
- -${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}
+ -${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
${ECHO_MSG}
${CAT} ${PKGMESSAGE}
${ECHO_MSG}
diff --git a/x11-fonts/webfonts/pkg-plist b/x11-fonts/webfonts/pkg-plist
index 8db024244000..8f5627afe9e6 100644
--- a/x11-fonts/webfonts/pkg-plist
+++ b/x11-fonts/webfonts/pkg-plist
@@ -37,4 +37,4 @@
%%DOCSDIR%%/LICENSE
@dirrm %%DOCSDIR%%
@dirrm %%FONTSDIR%%
-@exec %%X11BASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true
+@exec %%LOCALBASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true