aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/font-kochi/files/pkg-install.in
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/font-kochi/files/pkg-install.in')
-rw-r--r--japanese/font-kochi/files/pkg-install.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/japanese/font-kochi/files/pkg-install.in b/japanese/font-kochi/files/pkg-install.in
index 48ab317e8a8c..75d5e82733a5 100644
--- a/japanese/font-kochi/files/pkg-install.in
+++ b/japanese/font-kochi/files/pkg-install.in
@@ -1,7 +1,7 @@
#!/bin/sh
# $FreeBSD$
-X_FONTSDIR=%%X_FONTSDIR%%/TTF
+FONTSDIR=%%FONTSDIR%%
catfontsdir ()
{
@@ -77,7 +77,7 @@ nfonts ()
case "$2" in
POST-INSTALL)
- cd ${X_FONTSDIR}
+ cd ${FONTSDIR}
touch fonts.dir
(catfontsdir < fonts.dir; addentries) > fonts.dir.tmp
nfonts < fonts.dir.tmp > fonts.dir
@@ -85,7 +85,7 @@ POST-INSTALL)
rm -f fonts.dir.tmp
;;
DEINSTALL)
- cd ${X_FONTSDIR}
+ cd ${FONTSDIR}
catfontsdir < fonts.dir > fonts.dir.tmp
nfonts < fonts.dir.tmp > fonts.dir
cat fonts.dir.tmp >> fonts.dir