Update textproc/hs-lhs2tex to version 1.24
[dports.git] / chinese / sourcehanserif-sc-otf / Makefile
1 # $FreeBSD$
2
3 PORTNAME=               sourcehanserif
4 PORTVERSION=            1.001
5 PORTREVISION=           1
6 DISTVERSIONSUFFIX=      R
7 CATEGORIES=             chinese x11-fonts
8 PKGNAMESUFFIX=          -sc-otf
9 # Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
10 #       actual prefixing is done by the `chinese' category itself.
11 #PKGNAMEPREFIX=         zh-
12
13 MAINTAINER=             hyun@caffeinated.codes
14 COMMENT=                Simplified Chinese font by Adobe designed for user interfaces
15
16 LICENSE=                OFL11
17 LICENSE_FILE=           ${WRKSRC}/LICENSE.txt
18
19 USES=                   fonts
20 USE_GITHUB=             yes
21 GH_ACCOUNT=             adobe-fonts
22 GH_PROJECT=             source-han-serif
23
24 NO_ARCH=                yes
25 NO_BUILD=               yes
26 SUB_FILES=              pkg-message
27
28 OPTIONS_SINGLE=         TYPE
29 OPTIONS_SINGLE_TYPE=    FULL SUBSET
30 OPTIONS_DEFAULT=        FULL
31 OPTIONS_SUB=            yes
32
33 FULL_DESC=              Install the full font (can display all CJK)
34 SUBSET_DESC=            Install the subset font (can display SC only)
35
36 FULL_VARS=              FONTNAME=SourceHanSerifSC SRCFONTSDIR=OTF/SimplifiedChinese
37 SUBSET_VARS=            FONTNAME=SourceHanSerifCN SRCFONTSDIR=SubsetOTF/CN
38
39 do-install:
40         @${MKDIR} ${STAGEDIR}${FONTSDIR}
41         ${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.otf ${STAGEDIR}${FONTSDIR}
42
43 .include <bsd.port.mk>