freebsd-ports/japanese/font-vlgothic/pkg-plist
Hiroki Sato 605c645403 Ports for Japanese fonts have been reorganized in the following way:
japanese/ipa-ttfonts -> japanese/font-mplus-ipa
japanese/ipa-ttfonts -> japanese/font-ipa
japanese/kochi-ttfonts -> japanese/font-kochi
japanese/mplusfonts -> japanese/font-mplus
japanese/sazanami-ttf -> japanese/font-sazanami
japanese/shinonome -> japanese/font-shinonome
japanese/umefont -> japanese/font-ume
japanese/vlgothic -> japanese/font-vlgothic

While basically these are port name changes for consistency,
installation directories are also changed:

font files -> ${PREFIX}/share/${PORTNAME}/*
symlinks -> ${PREFIX}/share/fonts/{TTF,OTF,fontname,...}/*
symlinks -> ${PREFIX}/lib/X11/fonts/{TTF,OTF,misc,fontname,...}/*

A user-visible one is that the directory name "TrueType" is replaced
with "TTF".
2009-05-31 09:15:47 +00:00

22 lines
1.1 KiB
Plaintext

@comment $FreeBSD$
%%DATADIR%%/VL-PGothic-Regular.ttf
%%DATADIR%%/VL-Gothic-Regular.ttf
@dirrm %%DATADIR%%
%%LOCAL_FONTSDIR%%/TTF/VL-PGothic-Regular.ttf
%%LOCAL_FONTSDIR%%/TTF/VL-Gothic-Regular.ttf
@dirrmtry %%LOCAL_FONTSDIR%%/TTF
@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%%/TTF/VL-PGothic-Regular.ttf
%%X_FONTSDIR%%/TTF/VL-Gothic-Regular.ttf
@exec %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true
@unexec %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true
@unexec rm -f %D/%%X_FONTSDIR%%/TTF/fonts.cache-1
@dirrmtry %%X_FONTSDIR%%/TTF
@unexec if [ -d %D/%%X_FONTSDIR%%/TTF ]; then %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true; fi