diff options
author | hrs <hrs@FreeBSD.org> | 2007-03-26 01:07:40 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2007-03-26 01:07:40 +0800 |
commit | 5d7304e9f1085bbd6727faa540f1402891ad8820 (patch) | |
tree | ad851fd0847ce64b0e7b91c2ddf6a4c1003d919c /japanese/ipa-ttfonts | |
parent | f79b8c3335c87ea1ddc5f1c64dd1965a6861f75f (diff) | |
download | freebsd-ports-graphics-5d7304e9f1085bbd6727faa540f1402891ad8820.tar.gz freebsd-ports-graphics-5d7304e9f1085bbd6727faa540f1402891ad8820.tar.zst freebsd-ports-graphics-5d7304e9f1085bbd6727faa540f1402891ad8820.zip |
- Split the etc/fonts/conf.d/2.ipa-ttfonts.conf file into
20-unhint-ipattfonts.conf and 62-fonts-ipattfonts.conf[1].
- Fix wrong handling of fonts.dir in pkg-install[2].
- Bump PORTREVISION.
PR: ports/110539[1]
Submitted by: NIIMI Satoshi[1]
Spotted by: nork[2]
Diffstat (limited to 'japanese/ipa-ttfonts')
-rw-r--r-- | japanese/ipa-ttfonts/Makefile | 5 | ||||
-rw-r--r-- | japanese/ipa-ttfonts/files/20-unhint-ipattfonts.conf | 23 | ||||
-rw-r--r-- | japanese/ipa-ttfonts/files/62-fonts-ipattfonts.conf (renamed from japanese/ipa-ttfonts/files/2.ipa-ttfonts.conf) | 21 | ||||
-rw-r--r-- | japanese/ipa-ttfonts/files/pkg-install.in | 2 | ||||
-rw-r--r-- | japanese/ipa-ttfonts/pkg-plist | 3 |
5 files changed, 29 insertions, 25 deletions
diff --git a/japanese/ipa-ttfonts/Makefile b/japanese/ipa-ttfonts/Makefile index 97db34b95d3..62b81470db7 100644 --- a/japanese/ipa-ttfonts/Makefile +++ b/japanese/ipa-ttfonts/Makefile @@ -7,7 +7,7 @@ PORTNAME= ipa-ttfonts PORTVERSION= 1.0.20060520 -PORTREVISION= 0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= japanese x11-fonts MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} @@ -62,7 +62,8 @@ do-install: ${DATADIR}/fonts/M+*.ttf \ ${PREFIX}/${X_FONTSDIR}/TrueType/ ${MKDIR} ${PREFIX}/etc/fonts/conf.d - ${INSTALL_DATA} ${FILESDIR}/2.ipa-ttfonts.conf \ + ${INSTALL_DATA} ${FILESDIR}/20-unhint-ipattfonts.conf \ + ${FILESDIR}/62-fonts-ipattfonts.conf \ ${PREFIX}/etc/fonts/conf.d .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff --git a/japanese/ipa-ttfonts/files/20-unhint-ipattfonts.conf b/japanese/ipa-ttfonts/files/20-unhint-ipattfonts.conf new file mode 100644 index 00000000000..d5d14d634b3 --- /dev/null +++ b/japanese/ipa-ttfonts/files/20-unhint-ipattfonts.conf @@ -0,0 +1,23 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<!-- $FreeBSD$ --> +<fontconfig> + <match target="font"> + <test name="family"> + <string>IPAMincho</string> + <string>IPAGothic</string> + <string>IPAPMincho</string> + <string>IPAPGothic</string> + <string>IPAUIGothic</string> + <family>M+1P+IPAG</family> + <family>M+2P+IPAG</family> + <family>M+1P+IPAG circle</family> + <family>M+2P+IPAG circle</family> + <family>M+1VM+IPAG circle</family> + <family>M+2VM+IPAG circle</family> + </test> + <edit name="autohint"> + <bool>false</bool> + </edit> + </match> +</fontconfig> diff --git a/japanese/ipa-ttfonts/files/2.ipa-ttfonts.conf b/japanese/ipa-ttfonts/files/62-fonts-ipattfonts.conf index 88bcb42d4b9..6f433bc8d23 100644 --- a/japanese/ipa-ttfonts/files/2.ipa-ttfonts.conf +++ b/japanese/ipa-ttfonts/files/62-fonts-ipattfonts.conf @@ -28,25 +28,4 @@ <family>M+2VM+IPAG circle</family> </prefer> </alias> - <match target="font"> - <test name="family"> - <string>IPAMincho</string> - <string>IPAGothic</string> - <string>IPAPMincho</string> - <string>IPAPGothic</string> - <string>IPAUIGothic</string> - <family>M+1P+IPAG</family> - <family>M+2P+IPAG</family> - <family>M+1P+IPAG circle</family> - <family>M+2P+IPAG circle</family> - <family>M+1VM+IPAG circle</family> - <family>M+2VM+IPAG circle</family> - </test> - <edit name="hintstyle"> - <const>hintslight</const> - </edit> - <edit name="autohint"> - <bool>false</bool> - </edit> - </match> </fontconfig> diff --git a/japanese/ipa-ttfonts/files/pkg-install.in b/japanese/ipa-ttfonts/files/pkg-install.in index 89333b5f81c..2d0b746d890 100644 --- a/japanese/ipa-ttfonts/files/pkg-install.in +++ b/japanese/ipa-ttfonts/files/pkg-install.in @@ -1,7 +1,7 @@ #!/bin/sh # $FreeBSD$ -X_FONTSDIR=%%X_FONTSDIR%% +X_FONTSDIR=%%X_FONTSDIR%%/TrueType catfontsdir () { diff --git a/japanese/ipa-ttfonts/pkg-plist b/japanese/ipa-ttfonts/pkg-plist index 65819fa03c9..6c8fbac6bca 100644 --- a/japanese/ipa-ttfonts/pkg-plist +++ b/japanese/ipa-ttfonts/pkg-plist @@ -83,7 +83,8 @@ @dirrmtry %%LOCAL_FONTSDIR%%/TrueType @dirrmtry %%LOCAL_FONTSDIR%% @cwd %%X11BASE%% -etc/fonts/conf.d/2.ipa-ttfonts.conf +etc/fonts/conf.d/20-unhint-ipattfonts.conf +etc/fonts/conf.d/62-fonts-ipattfonts.conf %%X_FONTSDIR%%/TrueType/ipag.ttf %%X_FONTSDIR%%/TrueType/ipagp.ttf %%X_FONTSDIR%%/TrueType/ipagui.ttf |