blob: 6ddaad83fac2805381361bca6e3f7f94d0424022 (
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
|
# $NetBSD: Makefile,v 1.2 2011/03/07 08:52:44 ryoon Exp $
#
DISTNAME= IPAfont00302
PKGNAME= ${DISTNAME:S/IPAfont/ipafont-/}
CATEGORIES= fonts japanese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=ipafonts/46146/} \
http://info.openlab.ipa.go.jp/ipafont/fontdata/
EXTRACT_SUFX= .zip
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://ossipedia.ipa.go.jp/ipafont/
COMMENT= IPA JIS X 0213 fonts (Gothic, P Gothic, Mincho, and P Mincho)
LICENSE= ipafont
PKG_DESTDIR_SUPPORT= user-destdir
USE_X11BASE= YES
NO_CONFIGURE= YES
NO_BUILD= YES
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
INSTALLATION_DIRS= lib/X11/fonts/TTF \
${DOCSDIR}
FONTDIR= ${PREFIX}/lib/X11/fonts/TTF
FONTS_DIRS.ttf= ${FONTDIR}
INSTALL_FONTS= ipag.ttf \
ipagp.ttf \
ipam.ttf \
ipamp.ttf
INSTALL_DOCS= IPA_Font_License_Agreement_v1.0.txt \
Readme_IPAfont00302.txt
USE_LANGUAGES= # none
do-install:
.for fontfile in ${INSTALL_FONTS}
${INSTALL_DATA} ${WRKSRC}/${fontfile} ${DESTDIR}${FONTDIR}
.endfor
.for docfile in ${INSTALL_DOCS}
${INSTALL_DATA} ${WRKSRC}/${docfile} ${DESTDIR}${DOCSDIR}
.endfor
.include "../../mk/bsd.pkg.mk"
|