summaryrefslogtreecommitdiff
path: root/fonts/arphicttf/Makefile
blob: 7c038baad2afcc916bcf7ae21d48310110ea55ed (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.1.1.1 2001/06/29 18:17:19 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*:../../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
NO_WRKSUBDIR=	yes
NO_PATCH=	yes
NO_CONFIGURE=	yes
NO_BUILD=	yes

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

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"