View | Details | Raw Unified | Return to bug 237291
Collapse All | Expand All

(-)chinese/sourcehansans-sc-otf/Makefile (-33 / +4 lines)
Lines 1-8 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=		sourcehansans
3
MASTERDIR=		${.CURDIR}/../../japanese/sourcehansans-otf
4
PORTVERSION=		2.000
4
5
DISTVERSIONSUFFIX=	R
6
CATEGORIES=		chinese x11-fonts
5
CATEGORIES=		chinese x11-fonts
7
PKGNAMESUFFIX=		-sc-otf
6
PKGNAMESUFFIX=		-sc-otf
8
# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
7
# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
Lines 9-49 Link Here
9
#       actual prefixing is done by the `chinese' category itself.
8
#       actual prefixing is done by the `chinese' category itself.
10
#PKGNAMEPREFIX=		zh-
9
#PKGNAMEPREFIX=		zh-
11
10
12
MAINTAINER=		hyun@caffeinated.codes
13
COMMENT=		Simplified Chinese font by Adobe designed for user interfaces
11
COMMENT=		Simplified Chinese font by Adobe designed for user interfaces
14
12
15
LICENSE=		OFL11
16
LICENSE_FILE=		${WRKSRC}/LICENSE.txt
17
18
USES=			fonts
19
USE_GITHUB=		yes
20
GH_ACCOUNT=		adobe-fonts
21
GH_PROJECT=		source-han-sans
22
23
NO_ARCH=		yes
24
NO_BUILD=		yes
25
SUB_FILES=		pkg-message
26
27
OPTIONS_DEFINE=		HW
28
OPTIONS_SINGLE=		TYPE
29
OPTIONS_SINGLE_TYPE=	FULL SUBSET
30
OPTIONS_DEFAULT=	FULL
31
OPTIONS_SUB=		yes
32
33
HW_DESC=		Install the half-width font in addition to the full font
34
FULL_DESC=		Install the full font (can display all CJK)
35
SUBSET_DESC=		Install the subset font (can display SC only)
13
SUBSET_DESC=		Install the subset font (can display SC only)
36
SUBSET_PREVENTS=	HW
37
SUBSET_PREVENTS_MSG=	Half-width can only be installed in addition to the full font
38
14
39
FULL_VARS=		FONTNAME=SourceHanSansSC SRCFONTSDIR=OTF/SimplifiedChinese
15
FULL_VARS=		FONTNAME=SourceHanSansSC SRCFONTSDIR=OTF/SimplifiedChinese
40
SUBSET_VARS=		FONTNAME=SourceHanSansCN SRCFONTSDIR=SubsetOTF/CN
16
SUBSET_VARS=		FONTNAME=SourceHanSansCN SRCFONTSDIR=SubsetOTF/CN
41
17
42
do-install:
18
SHS_HW_LANG=		SimplifiedChinese
43
	@${MKDIR} ${STAGEDIR}${FONTSDIR}
44
	${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.otf ${STAGEDIR}${FONTSDIR}
45
19
46
post-install-HW-on:
20
.include "${MASTERDIR}/Makefile"
47
	${INSTALL_DATA} ${WRKSRC}/OTF/SimplifiedChineseHW/*.otf ${STAGEDIR}${FONTSDIR}
48
49
.include <bsd.port.mk>
(-)chinese/sourcehansans-sc-otf/distinfo (-3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1543452538
2
SHA256 (adobe-fonts-source-han-sans-2.000R_GH0.tar.gz) = 3c4dae5225605a90f115570d1c6a86eea8e6b04057297a5566f72f4e48ed0aa8
3
SIZE (adobe-fonts-source-han-sans-2.000R_GH0.tar.gz) = 2093662207
(-)chinese/sourcehansans-sc-otf/files/pkg-message.in (-7 lines)
Lines 1-7 Link Here
1
2
You can start using the font by following this instruction:
3
4
Add the following line to the "Files" section of your X.org configuration file:
5
6
	FontPath	"%%FONTSDIR%%/"
7
(-)chinese/sourcehansans-tc-otf/Makefile (-33 / +4 lines)
Lines 1-8 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=		sourcehansans
3
MASTERDIR=		${.CURDIR}/../../japanese/sourcehansans-otf
4
PORTVERSION=		2.000
4
5
DISTVERSIONSUFFIX=	R
6
CATEGORIES=		chinese x11-fonts
5
CATEGORIES=		chinese x11-fonts
7
PKGNAMESUFFIX=		-tc-otf
6
PKGNAMESUFFIX=		-tc-otf
8
# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
7
# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
Lines 9-49 Link Here
9
#       actual prefixing is done by the `chinese' category itself.
8
#       actual prefixing is done by the `chinese' category itself.
10
#PKGNAMEPREFIX=		zh-
9
#PKGNAMEPREFIX=		zh-
11
10
12
MAINTAINER=		hyun@caffeinated.codes
13
COMMENT=		Traditional Chinese font by Adobe designed for user interfaces
11
COMMENT=		Traditional Chinese font by Adobe designed for user interfaces
14
12
15
LICENSE=		OFL11
16
LICENSE_FILE=		${WRKSRC}/LICENSE.txt
17
18
USES=			fonts
19
USE_GITHUB=		yes
20
GH_ACCOUNT=		adobe-fonts
21
GH_PROJECT=		source-han-sans
22
23
NO_ARCH=		yes
24
NO_BUILD=		yes
25
SUB_FILES=		pkg-message
26
27
OPTIONS_DEFINE=		HW
28
OPTIONS_SINGLE=		TYPE
29
OPTIONS_SINGLE_TYPE=	FULL SUBSET
30
OPTIONS_DEFAULT=	FULL
31
OPTIONS_SUB=		yes
32
33
HW_DESC=		Install the half-width font in addition to the full font
34
FULL_DESC=		Install the full font (can display all CJK)
35
SUBSET_DESC=		Install the subset font (can display TC only)
13
SUBSET_DESC=		Install the subset font (can display TC only)
36
SUBSET_PREVENTS=	HW
37
SUBSET_PREVENTS_MSG=	Half-width can only be installed in addition to the full font
38
14
39
FULL_VARS=		FONTNAME=SourceHanSansTC SRCFONTSDIR=OTF/TraditionalChinese
15
FULL_VARS=		FONTNAME=SourceHanSansTC SRCFONTSDIR=OTF/TraditionalChinese
40
SUBSET_VARS=		FONTNAME=SourceHanSansTW SRCFONTSDIR=SubsetOTF/TW
16
SUBSET_VARS=		FONTNAME=SourceHanSansTW SRCFONTSDIR=SubsetOTF/TW
41
17
42
do-install:
18
SHS_HW_LANG=		TraditionalChinese
43
	@${MKDIR} ${STAGEDIR}${FONTSDIR}
44
	${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.otf ${STAGEDIR}${FONTSDIR}
45
19
46
post-install-HW-on:
20
.include "${MASTERDIR}/Makefile"
47
	${INSTALL_DATA} ${WRKSRC}/OTF/TraditionalChineseHW/*.otf ${STAGEDIR}${FONTSDIR}
48
49
.include <bsd.port.mk>
(-)chinese/sourcehansans-tc-otf/distinfo (-3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1543452799
2
SHA256 (adobe-fonts-source-han-sans-2.000R_GH0.tar.gz) = 3c4dae5225605a90f115570d1c6a86eea8e6b04057297a5566f72f4e48ed0aa8
3
SIZE (adobe-fonts-source-han-sans-2.000R_GH0.tar.gz) = 2093662207
(-)chinese/sourcehansans-tc-otf/files/pkg-message.in (-7 lines)
Lines 1-7 Link Here
1
2
You can start using the font by following this instruction:
3
4
Add the following line to the "Files" section of your X.org configuration file:
5
6
	FontPath	"%%FONTSDIR%%/"
7
(-)japanese/sourcehansans-otf/Makefile (-9 / +15 lines)
Lines 1-16 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=		sourcehansans
3
PORTNAME=		sourcehansans
4
PORTVERSION=		2.000
4
PORTVERSION=		2.001
5
DISTVERSIONSUFFIX=	R
5
DISTVERSIONSUFFIX=	R
6
CATEGORIES=		japanese x11-fonts
6
CATEGORIES?=		japanese x11-fonts
7
PKGNAMESUFFIX=		-otf
7
PKGNAMESUFFIX?=		-otf
8
# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
8
# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
9
#       actual prefixing is done by the `japanese' category itself.
9
#       actual prefixing is done by the `japanese' category itself.
10
#PKGNAMEPREFIX=		ja-
10
#PKGNAMEPREFIX?=	ja-
11
11
12
MAINTAINER=		hyun@caffeinated.codes
12
MAINTAINER=		hyun@caffeinated.codes
13
COMMENT=		Japanese font by Adobe designed for user interfaces
13
COMMENT?=		Japanese font by Adobe designed for user interfaces
14
14
15
LICENSE=		OFL11
15
LICENSE=		OFL11
16
LICENSE_FILE=		${WRKSRC}/LICENSE.txt
16
LICENSE_FILE=		${WRKSRC}/LICENSE.txt
Lines 32-49 Link Here
32
32
33
HW_DESC=		Install the half-width font in addition to the full font
33
HW_DESC=		Install the half-width font in addition to the full font
34
FULL_DESC=		Install the full font (can display all CJK)
34
FULL_DESC=		Install the full font (can display all CJK)
35
SUBSET_DESC=		Install the subset font (can display Japanese only)
35
SUBSET_DESC?=		Install the subset font (can display Japanese only)
36
SUBSET_PREVENTS=	HW
36
SUBSET_PREVENTS=	HW
37
SUBSET_PREVENTS_MSG=	Half-width can only be installed in addition to the full font
37
SUBSET_PREVENTS_MSG=	Half-width can only be installed in addition to the full font
38
38
39
FULL_VARS=		FONTNAME=SourceHanSans SRCFONTSDIR=OTF/Japanese
39
FULL_VARS?=		FONTNAME=SourceHanSans SRCFONTSDIR=OTF/Japanese
40
SUBSET_VARS=		FONTNAME=SourceHanSansJP SRCFONTSDIR=SubsetOTF/JP
40
SUBSET_VARS?=		FONTNAME=SourceHanSansJP SRCFONTSDIR=SubsetOTF/JP
41
41
42
SHS_HW_LANG?=		Japanese
43
44
# These are to maintain correct pkg description and file list for slave ports
45
DESCR=			${.CURDIR}/pkg-descr
46
PLIST=			${.CURDIR}/pkg-plist
47
42
do-install:
48
do-install:
43
	@${MKDIR} ${STAGEDIR}${FONTSDIR}
49
	@${MKDIR} ${STAGEDIR}${FONTSDIR}
44
	${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.otf ${STAGEDIR}${FONTSDIR}
50
	${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.otf ${STAGEDIR}${FONTSDIR}
45
51
46
post-install-HW-on:
52
post-install-HW-on:
47
	${INSTALL_DATA} ${WRKSRC}/OTF/JapaneseHW/*.otf ${STAGEDIR}${FONTSDIR}
53
	${INSTALL_DATA} ${WRKSRC}/OTF/${SHS_HW_LANG}HW/*.otf ${STAGEDIR}${FONTSDIR}
48
54
49
.include <bsd.port.mk>
55
.include <bsd.port.mk>
(-)japanese/sourcehansans-otf/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1543452172
1
TIMESTAMP = 1555284203
2
SHA256 (adobe-fonts-source-han-sans-2.000R_GH0.tar.gz) = 3c4dae5225605a90f115570d1c6a86eea8e6b04057297a5566f72f4e48ed0aa8
2
SHA256 (adobe-fonts-source-han-sans-2.001R_GH0.tar.gz) = 7c515573dd6784d9d2be564f50e0b9bbee4ad560a853ab87a25532b1d8a03582
3
SIZE (adobe-fonts-source-han-sans-2.000R_GH0.tar.gz) = 2093662207
3
SIZE (adobe-fonts-source-han-sans-2.001R_GH0.tar.gz) = 2230965559
(-)korean/sourcehansans-otf/Makefile (-34 / +4 lines)
Lines 1-49 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=		sourcehansans
3
MASTERDIR=		${.CURDIR}/../../japanese/sourcehansans-otf
4
PORTVERSION=		2.000
4
5
DISTVERSIONSUFFIX=	R
6
CATEGORIES=		korean x11-fonts
5
CATEGORIES=		korean x11-fonts
7
PKGNAMESUFFIX=		-otf
8
# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
6
# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
9
#       actual prefixing is done by the `korean' category itself.
7
#       actual prefixing is done by the `korean' category itself.
10
#PKGNAMEPREFIX=		ko-
8
#PKGNAMEPREFIX=		ko-
11
9
12
MAINTAINER=		hyun@caffeinated.codes
13
COMMENT=		Korean font by Adobe designed for user interfaces
10
COMMENT=		Korean font by Adobe designed for user interfaces
14
11
15
LICENSE=		OFL11
16
LICENSE_FILE=		${WRKSRC}/LICENSE.txt
17
18
USES=			fonts
19
USE_GITHUB=		yes
20
GH_ACCOUNT=		adobe-fonts
21
GH_PROJECT=		source-han-sans
22
23
NO_ARCH=		yes
24
NO_BUILD=		yes
25
SUB_FILES=		pkg-message
26
27
OPTIONS_DEFINE=		HW
28
OPTIONS_SINGLE=		TYPE
29
OPTIONS_SINGLE_TYPE=	FULL SUBSET
30
OPTIONS_DEFAULT=	FULL
31
OPTIONS_SUB=		yes
32
33
HW_DESC=		Install the half-width font in addition to the full font
34
FULL_DESC=		Install the full font (can display all CJK)
35
SUBSET_DESC=		Install the subset font (can display Korean only)
12
SUBSET_DESC=		Install the subset font (can display Korean only)
36
SUBSET_PREVENTS=	HW
37
SUBSET_PREVENTS_MSG=	Half-width can only be installed in addition to the full font
38
13
39
FULL_VARS=		FONTNAME=SourceHanSansK SRCFONTSDIR=OTF/Korean
14
FULL_VARS=		FONTNAME=SourceHanSansK SRCFONTSDIR=OTF/Korean
40
SUBSET_VARS=		FONTNAME=SourceHanSansKR SRCFONTSDIR=SubsetOTF/KR
15
SUBSET_VARS=		FONTNAME=SourceHanSansKR SRCFONTSDIR=SubsetOTF/KR
41
16
42
do-install:
17
SHS_HW_LANG=		Korean
43
	@${MKDIR} ${STAGEDIR}${FONTSDIR}
44
	${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.otf ${STAGEDIR}${FONTSDIR}
45
18
46
post-install-HW-on:
19
.include "${MASTERDIR}/Makefile"
47
	${INSTALL_DATA} ${WRKSRC}/OTF/KoreanHW/*.otf ${STAGEDIR}${FONTSDIR}
48
49
.include <bsd.port.mk>
(-)korean/sourcehansans-otf/distinfo (-3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1543377352
2
SHA256 (adobe-fonts-source-han-sans-2.000R_GH0.tar.gz) = 3c4dae5225605a90f115570d1c6a86eea8e6b04057297a5566f72f4e48ed0aa8
3
SIZE (adobe-fonts-source-han-sans-2.000R_GH0.tar.gz) = 2093662207
(-)korean/sourcehansans-otf/files/pkg-message.in (-7 lines)
Lines 1-7 Link Here
1
2
You can start using the font by following this instruction:
3
4
Add the following line to the "Files" section of your X.org configuration file:
5
6
	FontPath	"%%FONTSDIR%%/"
7

Return to bug 237291