summaryrefslogtreecommitdiff
path: root/fonts/arphicttf/Makefile
blob: 6f0d0d47ace2298a27d614039c569f5d6c7c887c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# $NetBSD: Makefile,v 1.3 2001/11/29 17:37:57 wiz Exp $
#

DISTNAME=	arphicttf-2.11
CATEGORIES=	chinese fonts
MASTER_SITES=	ftp://linux.cis.nctu.edu.tw/chinese/fonts/arphic/font/ \
		ftp://linux.cis.nctu.edu.tw/chinese/fonts/arphic/license/ENGLISH/ \
		ftp://linux.cis.nctu.edu.tw/chinese/fonts/arphic/
DISTFILES=	${FONT_SETS} ${MISC_FILES}

MAINTAINER=	rxg@ms25.url.com.tw
COMMENT=	Chinese Big5/GB TrueType fonts made by Arphic Technology

DEPENDS+=	mkttfdir>=1.1nb1:../../fonts/mkttfdir

FONT_SETS=	bkai00mp.ttf.gz \
		bsmi00lp.ttf.gz \
		gbsn00lp.ttf.gz \
		gkai00mp.ttf.gz

MISC_FILES=	ARPHICPL.TXT logo.gif release.txt

DIST_SUBDIR=	${PKGNAME}

EXTRACT_ONLY=	# empty
WRKSRC=		${WRKDIR}
NO_PATCH=	yes
NO_CONFIGURE=	yes
NO_BUILD=	yes

USE_X11BASE=	yes
FONTDIR=	${PREFIX}/lib/X11/fonts/TrueType

do-install:
	${INSTALL_DATA_DIR} ${FONTDIR}
	for f in ${FONT_SETS}; do \
		${INSTALL_DATA} ${_DISTDIR}/$$f ${FONTDIR}; \
		${GUNZIP_CMD} ${FONTDIR}/$$f; \
	done

post-install:
	${SH} ${LOCALBASE}/bin/mkttfdir ${FONTDIR}

.include "../../mk/bsd.pkg.mk"