aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/font-sazanami/pkg-plist
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2005-03-08 03:02:40 +0800
committerhrs <hrs@FreeBSD.org>2005-03-08 03:02:40 +0800
commit59cfe3b4108a2f71b0f572299df94b03f840a739 (patch)
tree4975d8833788a5def2d7835bc4ecea8325d07962 /japanese/font-sazanami/pkg-plist
parent60af83f76e0050ad6a6772c8a301fe6f66afc8ae (diff)
downloadfreebsd-ports-gnome-59cfe3b4108a2f71b0f572299df94b03f840a739.tar.gz
freebsd-ports-gnome-59cfe3b4108a2f71b0f572299df94b03f840a739.tar.zst
freebsd-ports-gnome-59cfe3b4108a2f71b0f572299df94b03f840a739.zip
Fix pkg-plist.
Diffstat (limited to 'japanese/font-sazanami/pkg-plist')
-rw-r--r--japanese/font-sazanami/pkg-plist11
1 files changed, 6 insertions, 5 deletions
diff --git a/japanese/font-sazanami/pkg-plist b/japanese/font-sazanami/pkg-plist
index 1d66c758fec0..6f003acacd39 100644
--- a/japanese/font-sazanami/pkg-plist
+++ b/japanese/font-sazanami/pkg-plist
@@ -17,9 +17,10 @@
%%PORTDOCS%%@dirrm %%DOCSDIR%%/ayu
%%PORTDOCS%%@dirrm %%DOCSDIR%%/kappa
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@exec mkdir -p %%LOCALFONTSDIR%%
-@exec ln -s -f %D/%%FONTSDIR%%/sazanami-mincho.ttf %%LOCALFONTSDIR%%/sazanami-mincho.ttf
-@exec ln -s -f %D/%%FONTSDIR%%/sazanami-gothic.ttf %%LOCALFONTSDIR%%/sazanami-gothic.ttf
-@unexec rm -f %%LOCALFONTSDIR%%/sazanami-mincho.ttf
-@unexec rm -f %%LOCALFONTSDIR%%/sazanami-gothic.ttf
+@exec mkdir -p %%LOCALFONTSDIR%%/TrueType
+@exec ln -s -f %D/%%FONTSDIR%%/sazanami-mincho.ttf %%LOCALFONTSDIR%%/TrueType/sazanami-mincho.ttf
+@exec ln -s -f %D/%%FONTSDIR%%/sazanami-gothic.ttf %%LOCALFONTSDIR%%/TrueType/sazanami-gothic.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/TrueType/sazanami-mincho.ttf
+@unexec rm -f %%LOCALFONTSDIR%%/TrueType/sazanami-gothic.ttf
+@unexec rmdir %%LOCALFONTSDIR%%/TrueType 2> /dev/null || true
@unexec rmdir %%LOCALFONTSDIR%% 2> /dev/null || true