From cd428409b1b325ae05ce2ff6219648e99e6d799b Mon Sep 17 00:00:00 2001 From: ume Date: Fri, 22 Jul 2016 11:04:06 +0000 Subject: Use the generic family name without weight. --- japanese/font-genshingothic/Makefile | 4 +- .../files/20-unhint-genshingothic.conf | 60 ++-------------------- .../files/62-fonts-genshingothic.conf | 24 ++------- japanese/font-genshingothic/files/pkg-install.in | 42 +++++++-------- 4 files changed, 29 insertions(+), 101 deletions(-) diff --git a/japanese/font-genshingothic/Makefile b/japanese/font-genshingothic/Makefile index 0fd08684f14..d2df984f234 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 85839b97e46..3a3b34d2ebf 100644 --- a/japanese/font-genshingothic/files/20-unhint-genshingothic.conf +++ b/japanese/font-genshingothic/files/20-unhint-genshingothic.conf @@ -5,67 +5,13 @@ - Gen Shin Gothic Bold + Gen Shin Gothic - Gen Shin Gothic ExtraLight + Gen Shin Gothic Monospace - Gen Shin Gothic Heavy - - - Gen Shin Gothic Light - - - Gen Shin Gothic Medium - - - Gen Shin Gothic Normal - - - Gen Shin Gothic Regular - - - Gen Shin Gothic Monospace Bold - - - Gen Shin Gothic Monospace ExtraLight - - - Gen Shin Gothic Monospace Heavy - - - Gen Shin Gothic Monospace Light - - - Gen Shin Gothic Monospace Medium - - - Gen Shin Gothic Monospace Normal - - - Gen Shin Gothic Monospace Regular - - - Gen Shin Gothic P Bold - - - Gen Shin Gothic P ExtraLight - - - Gen Shin Gothic P Heavy - - - Gen Shin Gothic P Light - - - Gen Shin Gothic P Medium - - - Gen Shin Gothic P Normal - - - Gen Shin Gothic P Regular + Gen Shin Gothic P diff --git a/japanese/font-genshingothic/files/62-fonts-genshingothic.conf b/japanese/font-genshingothic/files/62-fonts-genshingothic.conf index 84edab82462..91c582d27f7 100644 --- a/japanese/font-genshingothic/files/62-fonts-genshingothic.conf +++ b/japanese/font-genshingothic/files/62-fonts-genshingothic.conf @@ -5,32 +5,14 @@ sans-serif - Gen Shin Gothic Regular - Gen Shin Gothic Normal - Gen Shin Gothic Medium - Gen Shin Gothic Light - Gen Shin Gothic Bold - Gen Shin Gothic ExtraLight - Gen Shin Gothic Heavy - Gen Shin Gothic P Regular - Gen Shin Gothic P Normal - Gen Shin Gothic P Medium - Gen Shin Gothic P Light - Gen Shin Gothic P Bold - Gen Shin Gothic P ExtraLight - Gen Shin Gothic P Heavy + Gen Shin Gothic + Gen Shin Gothic P monospace - Gen Shin Gothic Monospace Regular - Gen Shin Gothic Monospace Normal - Gen Shin Gothic Monospace Medium - Gen Shin Gothic Monospace Light - Gen Shin Gothic Monospace Bold - Gen Shin Gothic Monospace ExtraLight - Gen Shin Gothic Monospace Heavy + Gen Shin Gothic Monospace diff --git a/japanese/font-genshingothic/files/pkg-install.in b/japanese/font-genshingothic/files/pkg-install.in index 2a0359cb5a9..4abd8dc7ab4 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 } -- cgit