WenQuanYi Micro Hei is a Sans-Serif style (also known as Hei, Gothic or Dotum among the Chinese/Japanese/Korean users) high quality CJK outline font. It was derived from "Droid Sans Fallback" and "Droid Sans" released by Google Inc. This font contains all the unified CJK Han glyphs in the range of U+4E00-U+9FC3 defined in Unicode Standard 5.1, together with many other languages unicode blocks, including Latins, Extended Latins, Hanguls and Kanas. The font file is extremely compact (~4M) compared with most known CJK fonts. As a result, it can be used for hand-held devices or embedded systems, or used for PC with a significantly small memory footprint.
46 lines
1 KiB
Makefile
46 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2011/03/09 19:58:45 ryo-on Exp $
|
|
#
|
|
|
|
DISTNAME= wqy-microhei-0.2.0-beta
|
|
PKGNAME= ${DISTNAME:S/-beta//}
|
|
CATEGORIES= fonts chinese
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wqy/}
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
HOMEPAGE= http://wenq.org/enindex.cgi?ZenHei%28en%29
|
|
COMMENT= WenQuanYi Open Source Outline Fonts based on Droid font
|
|
LICENSE= apache-2.0 OR gnu-gpl-v3
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}/wqy-microhei
|
|
USE_LANGUAGES= # none
|
|
|
|
USE_X11BASE= yes
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
INSTALLATION_DIRS= lib/X11/fonts/TTF \
|
|
${DOCDIR}
|
|
|
|
FONTDIR= ${PREFIX}/lib/X11/fonts/TTF
|
|
FONTS_DIRS.ttf= ${FONTDIR}
|
|
|
|
INSTALLED_FONTS= wqy-microhei.ttc
|
|
|
|
INSTALLED_DOCS= AUTHORS.txt \
|
|
ChangeLog.txt \
|
|
INSTALL.txt \
|
|
LICENSE_Apache2.txt \
|
|
LICENSE_GPLv3.txt \
|
|
README.txt
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/${INSTALLED_FONTS} ${DESTDIR}${FONTDIR}
|
|
.for f in ${INSTALLED_DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|