# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # sourcehansans-otf # sourcehansans-otf/pkg-plist # sourcehansans-otf/pkg-descr # sourcehansans-otf/Makefile # sourcehansans-otf/distinfo # sourcehansans-otf/files # sourcehansans-otf/files/pkg-message.in # echo c - sourcehansans-otf mkdir -p sourcehansans-otf > /dev/null 2>&1 echo x - sourcehansans-otf/pkg-plist sed 's/^X//' >sourcehansans-otf/pkg-plist << 'fe517f7b38074556bfce7f846de4eed4' X%%HW%%%%FONTSDIR%%/SourceHanSansHW-Bold.otf X%%HW%%%%FONTSDIR%%/SourceHanSansHW-Regular.otf X%%FULL%%%%FONTSDIR%%/SourceHanSans-Bold.otf X%%FULL%%%%FONTSDIR%%/SourceHanSans-ExtraLight.otf X%%FULL%%%%FONTSDIR%%/SourceHanSans-Heavy.otf X%%FULL%%%%FONTSDIR%%/SourceHanSans-Light.otf X%%FULL%%%%FONTSDIR%%/SourceHanSans-Medium.otf X%%FULL%%%%FONTSDIR%%/SourceHanSans-Normal.otf X%%FULL%%%%FONTSDIR%%/SourceHanSans-Regular.otf X%%SUBSET%%%%FONTSDIR%%/SourceHanSansJP-Bold.otf X%%SUBSET%%%%FONTSDIR%%/SourceHanSansJP-ExtraLight.otf X%%SUBSET%%%%FONTSDIR%%/SourceHanSansJP-Heavy.otf X%%SUBSET%%%%FONTSDIR%%/SourceHanSansJP-Light.otf X%%SUBSET%%%%FONTSDIR%%/SourceHanSansJP-Medium.otf X%%SUBSET%%%%FONTSDIR%%/SourceHanSansJP-Normal.otf X%%SUBSET%%%%FONTSDIR%%/SourceHanSansJP-Regular.otf fe517f7b38074556bfce7f846de4eed4 echo x - sourcehansans-otf/pkg-descr sed 's/^X//' >sourcehansans-otf/pkg-descr << '9f9fe41fc05d1b3322d53db2a6545b5d' XSource Han Sans: A new open source Pan-CJK typeface family from Adobe X XThis is Source Han Sans (JP), which supports all four variants in this family Xbut prioritizes Japanese Kanji over other three. X X"Source Han Sans, available in seven weights, is a typeface family which Xprovides full support for Japanese, Korean, Traditional Chinese, and Simplified XChinese, all in one font. It also includes Latin, Greek, and Cyrillic glyphs Xfrom our popular Source Sans family. All told, each font weight in the family Xhas a total of 65,535 glyphs (the maximum supported in the OpenType format), and Xthe entire family rounds out at just under half a million total glyphs." X--- The Typekit Blog, Adobe X XWWW: https://github.com/adobe-fonts/source-han-sans 9f9fe41fc05d1b3322d53db2a6545b5d echo x - sourcehansans-otf/Makefile sed 's/^X//' >sourcehansans-otf/Makefile << 'c172b4799be8373492430eacbe4af155' X# $FreeBSD$ X XPORTNAME= sourcehansans XPORTVERSION= 1.004 XDISTVERSIONSUFFIX= R XCATEGORIES= japanese x11-fonts XPKGNAMESUFFIX= -otf X# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose; X# actual prefixing is done by the `japanese' category itself. X#PKGNAMEPREFIX= ja- X XMAINTAINER= hyun@caffeinated.codes XCOMMENT= Japanese font by Adobe designed for user interfaces X XLICENSE= OFL11 XLICENSE_FILE= ${WRKSRC}/LICENSE.txt X XUSES= fonts X XNO_ARCH= yes XNO_BUILD= yes X XOPTIONS_DEFINE= HW XOPTIONS_SINGLE= TYPE XOPTIONS_SINGLE_TYPE= FULL SUBSET XSUBSET_PREVENTS= HW XOPTIONS_DEFAULT= FULL XOPTIONS_SUB= yes XHW_DESC= Install the half-width font in addition to the full font XFULL_DESC= Install the full font (can display all CJK) XSUBSET_DESC= Install the subset font (can display Japanese only) XSUBSET_PREVENTS_MSG= Half-width can only be installed in addition to the full font X X.include X XFONTNAME= SourceHanSans${"${PORT_OPTIONS:MSUBSET}" != "":?JP:} XFONTTYPE= otf XFONTFORMAT= OpenType X XSUB_FILES= pkg-message X XUSE_GITHUB= yes XGH_ACCOUNT= adobe-fonts XGH_PROJECT= source-han-sans X Xdo-install: X ${MKDIR} ${STAGEDIR}${FONTSDIR} X ${INSTALL_DATA} ${WRKSRC}/${"${PORT_OPTIONS:MSUBSET}" != "":?SubsetOTF/JP:OTF/Japanese}/*.otf ${STAGEDIR}${FONTSDIR} X.if ${PORT_OPTIONS:MHW} X ${INSTALL_DATA} ${WRKSRC}/OTF/JapaneseHW/*.otf ${STAGEDIR}${FONTSDIR} X.endif X X.include c172b4799be8373492430eacbe4af155 echo x - sourcehansans-otf/distinfo sed 's/^X//' >sourcehansans-otf/distinfo << 'afd31b3acbdb548c4387d8c6d3be23bb' XTIMESTAMP = 1539236637 XSHA256 (adobe-fonts-source-han-sans-1.004R_GH0.tar.gz) = 7f2d5fdbc76a5ff24ce8d4cacbebe2f87efd5f23dba1ed90acc66b90b8035deb XSIZE (adobe-fonts-source-han-sans-1.004R_GH0.tar.gz) = 1666735100 afd31b3acbdb548c4387d8c6d3be23bb echo c - sourcehansans-otf/files mkdir -p sourcehansans-otf/files > /dev/null 2>&1 echo x - sourcehansans-otf/files/pkg-message.in sed 's/^X//' >sourcehansans-otf/files/pkg-message.in << '62bb93e1ad28043c54f552d46dfb88cb' X XYou can start using the font by following this instruction: X XAdd the following line to the "Files" section of your X.org configuration file: X X FontPath "%%FONTSDIR%%/" X 62bb93e1ad28043c54f552d46dfb88cb exit