aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2016-07-22 11:04:06 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2016-07-22 11:04:06 +0000
commit4c44c59543ae16b81237c72c170f2747a81483b2 (patch)
tree30c77e686514a215975201aa87eb888351307463 /japanese
parent60b91f1a560ca9ca5163a5296f42804c32982847 (diff)
downloadports-4c44c59543ae16b81237c72c170f2747a81483b2.tar.gz
ports-4c44c59543ae16b81237c72c170f2747a81483b2.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/font-genshingothic/Makefile4
-rw-r--r--japanese/font-genshingothic/files/20-unhint-genshingothic.conf60
-rw-r--r--japanese/font-genshingothic/files/62-fonts-genshingothic.conf24
-rw-r--r--japanese/font-genshingothic/files/pkg-install.in42
4 files changed, 29 insertions, 101 deletions
diff --git a/japanese/font-genshingothic/Makefile b/japanese/font-genshingothic/Makefile
index 0fd08684f144..d2df984f234e 100644
--- a/japanese/font-genshingothic/Makefile
+++ b/japanese/font-genshingothic/Makefile
@@ -2,7 +2,7 @@
PORTNAME= genshingothic
PORTVERSION= 20150607
-#PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= japanese x11-fonts
MASTER_SITES= SOURCEFORGE_JP
MASTER_SITE_SUBDIR=users/8/8634
@@ -14,7 +14,7 @@ COMMENT= GenShinGothic Japanese TrueType fonts
LICENSE= OFL11
USES= 7z fonts:fc
-FONTNAME= genshingothic
+FONTNAME= ${PORTNAME}
NO_ARCH= yes
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/pkg-install
diff --git a/japanese/font-genshingothic/files/20-unhint-genshingothic.conf b/japanese/font-genshingothic/files/20-unhint-genshingothic.conf
index 85839b97e462..3a3b34d2ebf2 100644
--- a/japanese/font-genshingothic/files/20-unhint-genshingothic.conf
+++ b/japanese/font-genshingothic/files/20-unhint-genshingothic.conf
@@ -5,67 +5,13 @@
<match target="font">
<or>
<test name="family">
- <string>Gen Shin Gothic Bold</string>
+ <string>Gen Shin Gothic</string>
</test>
<test name="family">
- <string>Gen Shin Gothic ExtraLight</string>
+ <string>Gen Shin Gothic Monospace</string>
</test>
<test name="family">
- <string>Gen Shin Gothic Heavy</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic Light</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic Medium</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic Normal</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic Regular</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic Monospace Bold</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic Monospace ExtraLight</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic Monospace Heavy</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic Monospace Light</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic Monospace Medium</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic Monospace Normal</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic Monospace Regular</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic P Bold</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic P ExtraLight</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic P Heavy</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic P Light</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic P Medium</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic P Normal</string>
- </test>
- <test name="family">
- <string>Gen Shin Gothic P Regular</string>
+ <string>Gen Shin Gothic P</string>
</test>
</or>
<edit name="autohint">
diff --git a/japanese/font-genshingothic/files/62-fonts-genshingothic.conf b/japanese/font-genshingothic/files/62-fonts-genshingothic.conf
index 84edab824627..91c582d27f78 100644
--- a/japanese/font-genshingothic/files/62-fonts-genshingothic.conf
+++ b/japanese/font-genshingothic/files/62-fonts-genshingothic.conf
@@ -5,32 +5,14 @@
<alias>
<family>sans-serif</family>
<prefer>
- <family>Gen Shin Gothic Regular</family>
- <family>Gen Shin Gothic Normal</family>
- <family>Gen Shin Gothic Medium</family>
- <family>Gen Shin Gothic Light</family>
- <family>Gen Shin Gothic Bold</family>
- <family>Gen Shin Gothic ExtraLight</family>
- <family>Gen Shin Gothic Heavy</family>
- <family>Gen Shin Gothic P Regular</family>
- <family>Gen Shin Gothic P Normal</family>
- <family>Gen Shin Gothic P Medium</family>
- <family>Gen Shin Gothic P Light</family>
- <family>Gen Shin Gothic P Bold</family>
- <family>Gen Shin Gothic P ExtraLight</family>
- <family>Gen Shin Gothic P Heavy</family>
+ <family>Gen Shin Gothic</family>
+ <family>Gen Shin Gothic P</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
- <family>Gen Shin Gothic Monospace Regular</family>
- <family>Gen Shin Gothic Monospace Normal</family>
- <family>Gen Shin Gothic Monospace Medium</family>
- <family>Gen Shin Gothic Monospace Light</family>
- <family>Gen Shin Gothic Monospace Bold</family>
- <family>Gen Shin Gothic Monospace ExtraLight</family>
- <family>Gen Shin Gothic Monospace Heavy</family>
+ <family>Gen Shin Gothic Monospace</family>
</prefer>
</alias>
</fontconfig>
diff --git a/japanese/font-genshingothic/files/pkg-install.in b/japanese/font-genshingothic/files/pkg-install.in
index 2a0359cb5a93..4abd8dc7ab4c 100644
--- a/japanese/font-genshingothic/files/pkg-install.in
+++ b/japanese/font-genshingothic/files/pkg-install.in
@@ -53,29 +53,29 @@ addentries()
{
for ENC in iso8859-1 iso10646-1 jisx0201.1976-0 jisx0208.1983-0 jisx0208.1990-0 jisx0208.1997-0 jisx0213.2004-1
do
- make_xlfd $ENC GenShinGothic-ExtraLight.ttf adobe "gen shin gothic" p thin
- make_xlfd $ENC GenShinGothic-Light.ttf adobe "gen shin gothic" p extralight
- make_xlfd $ENC GenShinGothic-Normal.ttf adobe "gen shin gothic" p light
- make_xlfd $ENC GenShinGothic-Regular.ttf adobe "gen shin gothic" p book
- make_xlfd $ENC GenShinGothic-Medium.ttf adobe "gen shin gothic" p medium
- make_xlfd $ENC GenShinGothic-Bold.ttf adobe "gen shin gothic" p bold
- make_xlfd $ENC GenShinGothic-Heavy.ttf adobe "gen shin gothic" p black
+ make_xlfd ${ENC} GenShinGothic-ExtraLight.ttf adobe "gen shin gothic" p thin
+ make_xlfd ${ENC} GenShinGothic-Light.ttf adobe "gen shin gothic" p extralight
+ make_xlfd ${ENC} GenShinGothic-Normal.ttf adobe "gen shin gothic" p light
+ make_xlfd ${ENC} GenShinGothic-Regular.ttf adobe "gen shin gothic" p book
+ make_xlfd ${ENC} GenShinGothic-Medium.ttf adobe "gen shin gothic" p medium
+ make_xlfd ${ENC} GenShinGothic-Bold.ttf adobe "gen shin gothic" p bold
+ make_xlfd ${ENC} GenShinGothic-Heavy.ttf adobe "gen shin gothic" p black
- make_xlfd $ENC GenShinGothic-P-ExtraLight.ttf adobe "gen shin gothic p" p thin
- make_xlfd $ENC GenShinGothic-P-Light.ttf adobe "gen shin gothic p" p extralight
- make_xlfd $ENC GenShinGothic-P-Normal.ttf adobe "gen shin gothic p" p light
- make_xlfd $ENC GenShinGothic-P-Regular.ttf adobe "gen shin gothic p" p book
- make_xlfd $ENC GenShinGothic-P-Medium.ttf adobe "gen shin gothic p" p medium
- make_xlfd $ENC GenShinGothic-P-Bold.ttf adobe "gen shin gothic p" p bold
- make_xlfd $ENC GenShinGothic-P-Heavy.ttf adobe "gen shin gothic p" p black
+ make_xlfd ${ENC} GenShinGothic-P-ExtraLight.ttf adobe "gen shin gothic p" p thin
+ make_xlfd ${ENC} GenShinGothic-P-Light.ttf adobe "gen shin gothic p" p extralight
+ make_xlfd ${ENC} GenShinGothic-P-Normal.ttf adobe "gen shin gothic p" p light
+ make_xlfd ${ENC} GenShinGothic-P-Regular.ttf adobe "gen shin gothic p" p book
+ make_xlfd ${ENC} GenShinGothic-P-Medium.ttf adobe "gen shin gothic p" p medium
+ make_xlfd ${ENC} GenShinGothic-P-Bold.ttf adobe "gen shin gothic p" p bold
+ make_xlfd ${ENC} GenShinGothic-P-Heavy.ttf adobe "gen shin gothic p" p black
- make_xlfd $ENC GenShinGothic-Monospace-ExtraLight.ttf adobe "gen shin gothic monospace" c thin
- make_xlfd $ENC GenShinGothic-Monospace-Light.ttf adobe "gen shin gothic monospace" c extralight
- make_xlfd $ENC GenShinGothic-Monospace-Normal.ttf adobe "gen shin gothic monospace" c light
- make_xlfd $ENC GenShinGothic-Monospace-Regular.ttf adobe "gen shin gothic monospace" c book
- make_xlfd $ENC GenShinGothic-Monospace-Medium.ttf adobe "gen shin gothic monospace" c medium
- make_xlfd $ENC GenShinGothic-Monospace-Bold.ttf adobe "gen shin gothic monospace" c bold
- make_xlfd $ENC GenShinGothic-Monospace-Heavy.ttf adobe "gen shin gothic monospace" c black
+ make_xlfd ${ENC} GenShinGothic-Monospace-ExtraLight.ttf adobe "gen shin gothic monospace" c thin
+ make_xlfd ${ENC} GenShinGothic-Monospace-Light.ttf adobe "gen shin gothic monospace" c extralight
+ make_xlfd ${ENC} GenShinGothic-Monospace-Normal.ttf adobe "gen shin gothic monospace" c light
+ make_xlfd ${ENC} GenShinGothic-Monospace-Regular.ttf adobe "gen shin gothic monospace" c book
+ make_xlfd ${ENC} GenShinGothic-Monospace-Medium.ttf adobe "gen shin gothic monospace" c medium
+ make_xlfd ${ENC} GenShinGothic-Monospace-Bold.ttf adobe "gen shin gothic monospace" c bold
+ make_xlfd ${ENC} GenShinGothic-Monospace-Heavy.ttf adobe "gen shin gothic monospace" c black
done
}