pkgsrc/fonts/arphic-ttf/Makefile
2015-07-04 16:18:28 +00:00

35 lines
922 B
Makefile

# $NetBSD: Makefile,v 1.21 2015/07/04 16:18:30 joerg Exp $
#
DISTNAME= arphic-ttf-2.11
PKGREVISION= 5
CATEGORIES= fonts
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/zh-arphicttf/
DISTFILES= ${FONT_FILES:=.gz} ${MISC_FILES}
MAINTAINER= rxg@NetBSD.org
COMMENT= Chinese TrueType fonts from Arphic Technology
LICENSE= arphic-public
CONFLICTS= arphicttf-[0-9]*
FONT_FILES= bkai00mp.ttf bsmi00lp.ttf gbsn00lp.ttf gkai00mp.ttf
MISC_FILES= ARPHICPL.TXT logo.gif release.txt
DIST_SUBDIR= arphic-ttf
WRKSRC= ${WRKDIR}
NO_CONFIGURE= YES
NO_BUILD= YES
FONTS_DIRS.ttf= ${PREFIX}/share/fonts/X11/TTF
DOCDIR= ${PREFIX}/share/doc/arphic-ttf
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${FONTS_DIRS.ttf}
cd ${WRKSRC} && ${INSTALL_DATA} ${FONT_FILES} \
${DESTDIR}${FONTS_DIRS.ttf}
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${MISC_FILES} ${DESTDIR}${DOCDIR}
.include "../../mk/bsd.pkg.mk"