summaryrefslogtreecommitdiff
path: root/fonts/adobe-cidfonts/Makefile
blob: 9671cc49d3fa437cc308fe823adea6076c09093c (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
45
46
47
48
49
50
# $NetBSD: Makefile,v 1.7 2007/10/25 21:04:21 jlam Exp $

DISTNAME=	adobe-cidfonts-20000901
CATEGORIES=	fonts
MASTER_SITES=	ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Adobe CID-keyed O'Reilly fonts for CJK

DIST_SUBDIR=	${PKGBASE}
DISTFILES=	MOEKai-Regular MOEKai-Regular.afm
DISTFILES+=	MOESung-Regular MOESung-Regular.afm
DISTFILES+=	Munhwa-Bold Munhwa-Bold.afm
DISTFILES+=	Munhwa-Regular Munhwa-Regular.afm
DISTFILES+=	MunhwaGothic-Bold MunhwaGothic-Bold.afm
DISTFILES+=	MunhwaGothic-Regular MunhwaGothic-Regular.afm
DISTFILES+=	MunhwaGungSeo-Bold MunhwaGungSeo-Bold.afm
DISTFILES+=	MunhwaGungSeo-Light MunhwaGungSeo-Light.afm
DISTFILES+=	MunhwaGungSeoHeulim-Bold MunhwaGungSeoHeulim-Bold.afm
DISTFILES+=	MunhwaGungSeoHeulim-Light MunhwaGungSeoHeulim-Light.afm
DISTFILES+=	MunhwaHoonMin-Regular MunhwaHoonMin-Regular.afm
DISTFILES+=	WadaGo-Bold WadaGo-Bold.afm
DISTFILES+=	WadaMaruGo-Regular WadaMaruGo-Regular.afm
DISTFILES+=	WadaMaruGo-RegularH WadaMaruGo-RegularH.afm
DISTFILES+=	WadaMin-Bold WadaMin-Bold.afm
DISTFILES+=	WadaMin-Regular WadaMin-Regular.afm
DISTFILES+=	WadaMin-RegularH WadaMin-RegularH.afm

EXTRACT_ONLY=	# empty
NO_CONFIGURE=	yes
NO_BUILD=	yes

RESOURCESUBDIR=	share/Adobe/Resource
RESOURCEDIR=	${PREFIX}/${RESOURCESUBDIR}

GENERATE_PLIST=								\
	for f in ${DISTFILES:O:u}; do					\
		${ECHO} ${RESOURCESUBDIR}/CIDFont/$$f;			\
	done;								\
	${ECHO} "@dirrm ${RESOURCESUBDIR}/CIDFont";			\
	${ECHO} "@unexec ${RMDIR} -p %D/${RESOURCESUBDIR} 2>/dev/null || ${TRUE}";

do-install:
	${INSTALL_DATA_DIR} ${RESOURCEDIR}/CIDFont
	for file in ${DISTFILES}; do					\
		${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$${file}	\
			${RESOURCEDIR}/CIDFont;				\
	done

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