1 PORTNAME= sourcehansans
4 CATEGORIES= korean x11-fonts
6 # Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
7 # actual prefixing is done by the `korean' category itself.
10 MAINTAINER= hyun@caffeinated.codes
11 COMMENT= Korean font by Adobe designed for user interfaces
14 LICENSE_FILE= ${WRKSRC}/LICENSE.txt
18 GH_ACCOUNT= adobe-fonts
19 GH_PROJECT= source-han-sans
23 SUB_FILES= pkg-message
27 OPTIONS_SINGLE_TYPE= FULL SUBSET
31 HW_DESC= Install the half-width font in addition to the full font
32 FULL_DESC= Install the full font (can display all CJK)
33 SUBSET_DESC= Install the subset font (can display Korean only)
35 SUBSET_PREVENTS_MSG= Half-width can only be installed in addition to the full font
37 FULL_VARS= FONTNAME=SourceHanSansK SRCFONTSDIR=OTF/Korean
38 SUBSET_VARS= FONTNAME=SourceHanSansKR SRCFONTSDIR=SubsetOTF/KR
41 @${MKDIR} ${STAGEDIR}${FONTSDIR}
42 ${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.otf ${STAGEDIR}${FONTSDIR}
45 ${INSTALL_DATA} ${WRKSRC}/OTF/KoreanHW/*.otf ${STAGEDIR}${FONTSDIR}
47 .include <bsd.port.mk>