3 PORTNAME= sourcehanserif
7 CATEGORIES= chinese x11-fonts
9 # Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
10 # actual prefixing is done by the `chinese' category itself.
13 MAINTAINER= hyun@caffeinated.codes
14 COMMENT= Simplified Chinese font by Adobe designed for user interfaces
17 LICENSE_FILE= ${WRKSRC}/LICENSE.txt
21 GH_ACCOUNT= adobe-fonts
22 GH_PROJECT= source-han-serif
26 SUB_FILES= pkg-message
29 OPTIONS_SINGLE_TYPE= FULL SUBSET
33 FULL_DESC= Install the full font (can display all CJK)
34 SUBSET_DESC= Install the subset font (can display SC only)
36 FULL_VARS= FONTNAME=SourceHanSerifSC SRCFONTSDIR=OTF/SimplifiedChinese
37 SUBSET_VARS= FONTNAME=SourceHanSerifCN SRCFONTSDIR=SubsetOTF/CN
40 @${MKDIR} ${STAGEDIR}${FONTSDIR}
41 ${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.otf ${STAGEDIR}${FONTSDIR}
43 .include <bsd.port.mk>