aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-ipa-uigothic/files
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-21 23:05:19 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-21 23:05:19 +0000
commita5da770e67afce95b829c38c5d5330fe69f7822c (patch)
treeb9556c9042a9d20d7c71f49869f39f95afc00052 /japanese/font-ipa-uigothic/files
parent51da733b698e7bbedaac4743f457352334401249 (diff)
Make fonts repecting XDG
Xorg is now looking in ${LOCALBASE}/share/fonts by default Xorg now accepts symlinks in etc/X11/fontpath.d (as decribed in Xserver(1)) Large cleanup on lots of font ports All fonts are now properly dynamically generating fonts.dir and fonts.scale instead of sometime overwriting existing ones) All fonts are generating fontconfig's cache Improve consistency in fonts ports
Notes
Notes: svn path=/head/; revision=381876
Diffstat (limited to 'japanese/font-ipa-uigothic/files')
-rw-r--r--japanese/font-ipa-uigothic/files/pkg-install.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/japanese/font-ipa-uigothic/files/pkg-install.in b/japanese/font-ipa-uigothic/files/pkg-install.in
index cfc345e57c50..a0aed6e54c8d 100644
--- a/japanese/font-ipa-uigothic/files/pkg-install.in
+++ b/japanese/font-ipa-uigothic/files/pkg-install.in
@@ -1,7 +1,7 @@
#!/bin/sh
# $FreeBSD$
-X_FONTSDIR=%%X_FONTSDIR%%/TTF
+FONTSDIR=%%FONTSDIR%%
catfontsdir ()
{
@@ -70,7 +70,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
@@ -78,7 +78,7 @@ POST-INSTALL)
rm -f fonts.dir.tmp
;;
POST-DEINSTALL)
- cd ${X_FONTSDIR}
+ cd ${FONTSDIR}
catfontsdir < fonts.dir > fonts.dir.tmp
nfonts < fonts.dir.tmp > fonts.dir
cat fonts.dir.tmp >> fonts.dir
@@ -86,6 +86,5 @@ POST-DEINSTALL)
if [ -r fonts.dir -a `wc -l < fonts.dir` = 1 ]; then
rm -f fonts.dir
fi
- rmdir ${X_FONTSDIR} > /dev/null 2>&1 || true
;;
esac