1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

- 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]
This commit is contained in:
Hiroki Sato 2007-03-25 17:07:40 +00:00
parent 1ba5ea8b9a
commit cb364f27e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188306
15 changed files with 87 additions and 75 deletions

View File

@ -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}

View File

@ -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>

View File

@ -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>

View File

@ -1,7 +1,7 @@
#!/bin/sh
# $FreeBSD$
X_FONTSDIR=%%X_FONTSDIR%%
X_FONTSDIR=%%X_FONTSDIR%%/TrueType
catfontsdir ()
{

View File

@ -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

View File

@ -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}

View File

@ -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>

View File

@ -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>

View File

@ -1,7 +1,7 @@
#!/bin/sh
# $FreeBSD$
X_FONTSDIR=%%X_FONTSDIR%%
X_FONTSDIR=%%X_FONTSDIR%%/TrueType
catfontsdir ()
{

View File

@ -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

View File

@ -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}

View File

@ -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>

View File

@ -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>

View File

@ -1,7 +1,7 @@
#!/bin/sh
# $FreeBSD$
X_FONTSDIR=%%X_FONTSDIR%%
X_FONTSDIR=%%X_FONTSDIR%%/TrueType
catfontsdir ()
{

View File

@ -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