ec1d1dda3b
- Use @dirrmtry - Call fc-cache after the installation/deinstallation Submitted by: Yamashiro Jun[*] PR: ports/92489[*]
31 lines
1.3 KiB
Plaintext
31 lines
1.3 KiB
Plaintext
@comment $FreeBSD$
|
|
etc/fonts/conf.d/3.sazanami-ttf.conf
|
|
%%FONTSDIR%%/fonts.alias.sazanami
|
|
%%FONTSDIR%%/fonts.dir.sazanami
|
|
%%FONTSDIR%%/sazanami-mincho.ttf
|
|
%%FONTSDIR%%/sazanami-gothic.ttf
|
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
|
%%PORTDOCS%%%%DOCSDIR%%/oradano/README.txt
|
|
%%PORTDOCS%%%%DOCSDIR%%/misaki/misakib8.txt
|
|
%%PORTDOCS%%%%DOCSDIR%%/mplus/LICENSE_J
|
|
%%PORTDOCS%%%%DOCSDIR%%/shinonome/LICENSE
|
|
%%PORTDOCS%%%%DOCSDIR%%/ayu/README.txt
|
|
%%PORTDOCS%%%%DOCSDIR%%/kappa/README
|
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%/oradano
|
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%/misaki
|
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%/mplus
|
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%/shinonome
|
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%/ayu
|
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%/kappa
|
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
|
@exec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true
|
|
@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
|
|
@dirrmtry %%LOCALFONTSDIR%%/TrueType
|
|
@dirrmtry %%LOCALFONTSDIR%%
|
|
@unexec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true
|
|
@unexec if [ -s %D/%%FONTSDIR%%/fonts.cache-1 ]; then rm -f %D/%%FONTSDIR%%/fonts.cache-1; fi
|