freebsd-ports/japanese/font-sazanami/pkg-plist
Hiroki Sato a78291a57d Remove ${DATADIR} properly.
Spotted by:	pointyhat
2008-05-17 14:19:05 +00:00

21 lines
1.1 KiB
Text

@comment $FreeBSD$
%%DATADIR%%/sazanami-mincho.ttf
%%DATADIR%%/sazanami-gothic.ttf
@dirrm %%DATADIR%%
%%LOCAL_FONTSDIR%%/TrueType/sazanami-mincho.ttf
%%LOCAL_FONTSDIR%%/TrueType/sazanami-gothic.ttf
@dirrmtry %%LOCAL_FONTSDIR%%/TrueType
@dirrmtry %%LOCAL_FONTSDIR%%
etc/fonts/conf.avail/20-unhint-sazanami-ttf.conf
etc/fonts/conf.avail/62-fonts-sazanami-ttf.conf
@exec ln -s -f ../conf.avail/20-unhint-sazanami-ttf.conf %D/etc/fonts/conf.d/20-unhint-sazanami-ttf.conf
@exec ln -s -f ../conf.avail/62-fonts-sazanami-ttf.conf %D/etc/fonts/conf.d/62-fonts-sazanami-ttf.conf
@unexec rm -f %D/etc/fonts/conf.d/20-unhint-sazanami-ttf.conf
@unexec rm -f %D/etc/fonts/conf.d/62-fonts-sazanami-ttf.conf
%%X_FONTSDIR%%/TrueType/sazanami-mincho.ttf
%%X_FONTSDIR%%/TrueType/sazanami-gothic.ttf
@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true
@unexec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true
@unexec rm -f %D/%%X_FONTSDIR%%/TrueType/fonts.cache-1
@dirrmtry %%X_FONTSDIR%%/TrueType
@unexec if [ -d %D/%%X_FONTSDIR%%/TrueType ]; then %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true; fi