aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-ipa
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2005-03-07 19:02:40 +0000
committerHiroki Sato <hrs@FreeBSD.org>2005-03-07 19:02:40 +0000
commit0a69cf7076e03fdc91fe55641b285b8e821161ee (patch)
tree72c009dbf6ee653d265fe5f591c86d4241f12b32 /japanese/font-ipa
parent68c3775f601abdce4dc06a75c0cc3905e4a7228b (diff)
downloadports-0a69cf7076e03fdc91fe55641b285b8e821161ee.tar.gz
ports-0a69cf7076e03fdc91fe55641b285b8e821161ee.zip
Notes
Diffstat (limited to 'japanese/font-ipa')
-rw-r--r--japanese/font-ipa/Makefile6
-rw-r--r--japanese/font-ipa/pkg-plist23
2 files changed, 15 insertions, 14 deletions
diff --git a/japanese/font-ipa/Makefile b/japanese/font-ipa/Makefile
index 3a125fcb3634..8ca31e1a0f3d 100644
--- a/japanese/font-ipa/Makefile
+++ b/japanese/font-ipa/Makefile
@@ -22,7 +22,7 @@ NO_WRKSUBDIR= yes
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-install
-LOCAL_FONTSDIR= share/fonts/TrueType
+LOCAL_FONTSDIR= share/fonts
X_FONTSDIR= lib/X11/fonts/TrueType
GRASS_FONTSDIR= grass5/fonts
@@ -39,11 +39,11 @@ pre-install:
${CHMOD} +x ${WRKDIR}/pkg-install
do-install:
- ${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}
+ ${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}/TrueType
${MKDIR} ${X11BASE}/${X_FONTSDIR}
${LN} -s -f \
${LOCALBASE}/${GRASS_FONTSDIR}/ipa*.ttf \
- ${PREFIX}/${LOCAL_FONTSDIR}/
+ ${PREFIX}/${LOCAL_FONTSDIR}/TrueType/
${LN} -s -f \
${LOCALBASE}/${GRASS_FONTSDIR}/ipa*.ttf \
${X11BASE}/${X_FONTSDIR}/
diff --git a/japanese/font-ipa/pkg-plist b/japanese/font-ipa/pkg-plist
index c59b506e5b15..7571cf34c224 100644
--- a/japanese/font-ipa/pkg-plist
+++ b/japanese/font-ipa/pkg-plist
@@ -1,21 +1,22 @@
@comment $FreeBSD$
-@exec mkdir -p %%LOCAL_FONTSDIR%%
-@exec ln -s -f %%GRASS_FONTSDIR%%/ipag.ttf %%LOCAL_FONTSDIR%%/ipag.ttf
-@exec ln -s -f %%GRASS_FONTSDIR%%/ipagp.ttf %%LOCAL_FONTSDIR%%/ipagp.ttf
-@exec ln -s -f %%GRASS_FONTSDIR%%/ipagui.ttf %%LOCAL_FONTSDIR%%/ipagui.ttf
-@exec ln -s -f %%GRASS_FONTSDIR%%/ipam.ttf %%LOCAL_FONTSDIR%%/ipam.ttf
-@exec ln -s -f %%GRASS_FONTSDIR%%/ipamp.ttf %%LOCAL_FONTSDIR%%/ipamp.ttf
+@exec mkdir -p %%LOCAL_FONTSDIR%%/TrueType
+@exec ln -s -f %%GRASS_FONTSDIR%%/ipag.ttf %%LOCAL_FONTSDIR%%/TrueType/ipag.ttf
+@exec ln -s -f %%GRASS_FONTSDIR%%/ipagp.ttf %%LOCAL_FONTSDIR%%/TrueType/ipagp.ttf
+@exec ln -s -f %%GRASS_FONTSDIR%%/ipagui.ttf %%LOCAL_FONTSDIR%%/TrueType/ipagui.ttf
+@exec ln -s -f %%GRASS_FONTSDIR%%/ipam.ttf %%LOCAL_FONTSDIR%%/TrueType/ipam.ttf
+@exec ln -s -f %%GRASS_FONTSDIR%%/ipamp.ttf %%LOCAL_FONTSDIR%%/TrueType/ipamp.ttf
@exec mkdir -p %%X_FONTSDIR%%
@exec ln -s -f %%GRASS_FONTSDIR%%/ipag.ttf %%X_FONTSDIR%%/ipag.ttf
@exec ln -s -f %%GRASS_FONTSDIR%%/ipagp.ttf %%X_FONTSDIR%%/ipagp.ttf
@exec ln -s -f %%GRASS_FONTSDIR%%/ipagui.ttf %%X_FONTSDIR%%/ipagui.ttf
@exec ln -s -f %%GRASS_FONTSDIR%%/ipam.ttf %%X_FONTSDIR%%/ipam.ttf
@exec ln -s -f %%GRASS_FONTSDIR%%/ipamp.ttf %%X_FONTSDIR%%/ipamp.ttf
-@unexec rm -f %%LOCAL_FONTSDIR%%/ipag.ttf
-@unexec rm -f %%LOCAL_FONTSDIR%%/ipagp.ttf
-@unexec rm -f %%LOCAL_FONTSDIR%%/ipagui.ttf
-@unexec rm -f %%LOCAL_FONTSDIR%%/ipam.ttf
-@unexec rm -f %%LOCAL_FONTSDIR%%/ipamp.ttf
+@unexec rm -f %%LOCAL_FONTSDIR%%/TrueType/ipag.ttf
+@unexec rm -f %%LOCAL_FONTSDIR%%/TrueType/ipagp.ttf
+@unexec rm -f %%LOCAL_FONTSDIR%%/TrueType/ipagui.ttf
+@unexec rm -f %%LOCAL_FONTSDIR%%/TrueType/ipam.ttf
+@unexec rm -f %%LOCAL_FONTSDIR%%/TrueType/ipamp.ttf
+@unexec rmdir %%LOCAL_FONTSDIR%%/TrueType 2> /dev/null || true
@unexec rmdir %%LOCAL_FONTSDIR%% 2> /dev/null || true
@unexec rm -f %%X_FONTSDIR%%/ipag.ttf
@unexec rm -f %%X_FONTSDIR%%/ipagp.ttf