pkgsrc/fonts/arphic-ttf/Makefile
2002-06-28 20:50:14 +00:00

40 lines
980 B
Makefile

# $NetBSD: Makefile,v 1.3 2002/06/28 20:50:14 agc Exp $
#
DISTNAME= arphic-ttf-2.11
CATEGORIES= fonts
MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/${DIST_SUBDIR}/
DISTFILES= ${FONT_FILES} ${MISC_FILES}
MAINTAINER= rxg@ms25.url.com.tw
COMMENT= Chinese TrueType fonts from Arphic Technology
FONT_FILES= bkai00mp.ttf.gz bsmi00lp.ttf.gz gbsn00lp.ttf.gz gkai00mp.ttf.gz
MISC_FILES= ARPHICPL.TXT logo.gif release.txt
DIST_SUBDIR= arphic-ttf
CONFLICTS= arphicttf-*
EXTRACT_ONLY= # empty
WRKSRC= ${WRKDIR}
NO_PATCH= yes
NO_CONFIGURE= yes
NO_BUILD= yes
USE_X11BASE= yes
FONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
DOCDIR= ${PREFIX}/share/doc/arphic-ttf
do-install:
${INSTALL_DATA_DIR} ${FONTDIR}
for f in ${FONT_FILES}; do \
${INSTALL_DATA} ${_DISTDIR}/$$f ${FONTDIR}; \
${GUNZIP_CMD} ${FONTDIR}/$$f; \
done
${INSTALL_DATA_DIR} ${DOCDIR}
for f in ${MISC_FILES}; do \
${INSTALL_DATA} ${_DISTDIR}/$$f ${DOCDIR}; \
done
.include "../../mk/bsd.pkg.mk"