1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/japanese/vlgothic/pkg-plist
Hiroki Sato a64fc33a19 - Add install script for adding XLFD.
- Clean up Makefile and pkg-plist.
- Take maintainership.
2008-05-25 07:10:33 +00:00

22 lines
1.1 KiB
Plaintext

@comment $FreeBSD$
%%DATADIR%%/VL-PGothic-Regular.ttf
%%DATADIR%%/VL-Gothic-Regular.ttf
@dirrm %%DATADIR%%
%%LOCAL_FONTSDIR%%/TrueType/VL-PGothic-Regular.ttf
%%LOCAL_FONTSDIR%%/TrueType/VL-Gothic-Regular.ttf
@dirrmtry %%LOCAL_FONTSDIR%%/TrueType
@dirrmtry %%LOCAL_FONTSDIR%%
etc/fonts/conf.avail/20-unhint-vlgothic.conf
etc/fonts/conf.avail/62-fonts-vlgothic.conf
@exec ln -s -f ../conf.avail/20-unhint-vlgothic.conf %D/etc/fonts/conf.d/20-unhint-vlgothic.conf
@exec ln -s -f ../conf.avail/62-fonts-vlgothic.conf %D/etc/fonts/conf.d/62-fonts-vlgothic.conf
@unexec rm -f %D/etc/fonts/conf.d/20-unhint-vlgothic.conf
@unexec rm -f %D/etc/fonts/conf.d/62-fonts-vlgothic.conf
%%X_FONTSDIR%%/TrueType/VL-PGothic-Regular.ttf
%%X_FONTSDIR%%/TrueType/VL-Gothic-Regular.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