blob: c7a319b11a89dfaeac75b3cdd6bfa65c41d21ee0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
PORTNAME= spoqahansans
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.2
CATEGORIES= japanese x11-fonts
MASTER_SITES= https://github.com/spoqa/spoqa-han-sans/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
# actual prefixing is done by the `japanese' category itself.
#PKGNAMEPREFIX= ja-
PKGNAMESUFFIX= -ttf
DISTNAME= SpoqaHanSans_all
MAINTAINER= hyun@caffeinated.codes
COMMENT= Japanese custom font based on Noto Sans and Lato
LICENSE= OFL11
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= fonts zip
FONTNAME= SpoqaHanSans
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
OPTIONS_SINGLE= TYPE
OPTIONS_SINGLE_TYPE= ORIGINAL SUBSET
OPTIONS_DEFAULT= ORIGINAL
ORIGINAL_DESC= Install original font (supports Korean and Japanese)
SUBSET_DESC= Install subset font (supports 6,355 Japanese glyphs)
ORIGINAL_VARS= SRCFONTSDIR=SpoqaHanSans_jp_original
SUBSET_VARS= SRCFONTSDIR=SpoqaHanSans_jp_subset
do-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>
|