1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/japanese/ipa-ttfonts/pkg-plist
Hiroki Sato 2eb6a81074 - Add a dependency on fc-cache(1) and invoke it when install/deinstall[1]
- Add conf.d/2.ipa-ttfonts.conf configuration file[1]
- Some style changes.

PR:		ports/88878[1]
Submitted by:	NIIMI Satoshi (sa2c at sa2c dot net)[1]
2005-11-13 19:03:15 +00:00

31 lines
1.7 KiB
Plaintext

@comment $FreeBSD$
etc/fonts/conf.d/2.ipa-ttfonts.conf
@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
@exec %%X11BASE%%/bin/fc-cache -f -v %%X_FONTSDIR%% || true
@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
@unexec rm -f %%X_FONTSDIR%%/ipagui.ttf
@unexec rm -f %%X_FONTSDIR%%/ipam.ttf
@unexec rm -f %%X_FONTSDIR%%/ipamp.ttf
@unexec %%X11BASE%%/bin/fc-cache -f -v %%X_FONTSDIR%% || true
@unexec if [ -s %%X_FONTSDIR%%/fonts.cache-1 ]; then rm -f %%X_FONTSDIR%%/fonts.cache-1; fi
@unexec rmdir %%X_FONTSDIR%% 2> /dev/null || true