pkgsrc/fonts/lanna-io/Makefile
scole a778e8ec9a **Updated 2020-03-18**
- Added Cadson Demak Sarabun font family (different from TH Sarabun New under DIP SIPA). Adding 16 typefaces for the font family.
- Refreshed NECTEC-TLWG fonts, expanding them to match what is available in the 2020-01-04 Debian distribution. Total of 58 typefaces in 13 font families.
- Expanded the Google Noto-Thai fonts to match what is available in the 2020-01-04 Debian distribution. Total of 74 typefaces.

Also, appease pkglint by sorting a few Makefile variables
2020-04-14 21:38:32 +00:00

34 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2020/04/14 21:38:32 scole Exp $
#
GITHUB_PROJECT= thai-font-collection
GITHUB_TAG= ee660780065cc2bfff502e426d609b482464bf5c
DISTNAME= lanna-io-20200318
CATEGORIES= fonts
MASTER_SITES= ${MASTER_SITE_GITHUB:=lannainnovation/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/lannainnovation/thai-font-collection/
COMMENT= Lanna Innovation collection of Thai fonts
LICENSE= apache-2.0 AND ofl-v1.1 AND gnu-gpl-v2 AND \
dip-sipa-license AND tepc-license
USE_TOOLS+= bsdtar
EXTRACT_USING= bsdtar
USE_LANGUAGES= # none
NO_CONFIGURE= yes
NO_BUILD= yes
OTFPATH= share/fonts/X11/OTF
TTFPATH= share/fonts/X11/TTF
FONTS_DIRS.ttf= ${PREFIX}/${OTFPATH} ${PREFIX}/${TTFPATH}
INSTALLATION_DIRS+= ${OTFPATH} ${TTFPATH} share/lanna-io
do-install:
${INSTALL_DATA} ${WRKSRC}/*/*/*.otf ${DESTDIR}${PREFIX}/${OTFPATH}
${INSTALL_DATA} ${WRKSRC}/*/*/*.ttf ${DESTDIR}${PREFIX}/${TTFPATH}
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/lanna-io
.include "../../mk/bsd.pkg.mk"