Fixup fromcvs/togit conversion
[pkgsrcv2.git] / fonts / umefont-ttf / Makefile
1 # $NetBSD: Makefile,v 1.30 2012/08/26 13:33:37 ryoon Exp $
2 #
3
4 DISTNAME=       umefont_443
5 PKGNAME=        ${DISTNAME:S/_/-ttf-0./}
6 CATEGORIES=     fonts japanese
7 MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_JP:=ume-font/22212/}
8 EXTRACT_SUFX=   .tar.xz
9
10 MAINTAINER=     ryoon@NetBSD.org
11 HOMEPAGE=       http://sourceforge.jp/projects/ume-font/wiki/FrontPage
12 COMMENT=        Ume 18 Japanese fonts (Mincho and Gothic)
13 LICENSE=        mplusfont
14
15 PKG_DESTDIR_SUPPORT=    user-destdir
16
17 CONFLICTS=      umefont<=0.421
18 SUPERSEDES=     umefont<=0.421
19
20 USE_X11BASE=    YES
21 NO_CONFIGURE=   YES
22 NO_BUILD=       YES
23
24 DOCSDIR=        ${PREFIX}/share/doc/${PKGBASE}
25
26 INSTALLATION_DIRS=      lib/X11/fonts/TTF \
27                         ${DOCSDIR}
28
29 FONTDIR=        ${PREFIX}/lib/X11/fonts/TTF
30 FONTS_DIRS.ttf= ${FONTDIR}
31
32 INSTALL_FONTS=  ume-pgc4.ttf \
33                 ume-pgc5.ttf \
34                 ume-pgo4.ttf \
35                 ume-pgo5.ttf \
36                 ume-pgs4.ttf \
37                 ume-pgs5.ttf \
38                 ume-pmo3.ttf \
39                 ume-pms3.ttf \
40                 ume-tgc4.ttf \
41                 ume-tgc5.ttf \
42                 ume-tgo4.ttf \
43                 ume-tgo5.ttf \
44                 ume-tgs4.ttf \
45                 ume-tgs5.ttf \
46                 ume-tmo3.ttf \
47                 ume-tms3.ttf \
48                 ume-ugo4.ttf \
49                 ume-ugo5.ttf
50 INSTALL_DOCS=   license.html
51
52 USE_LANGUAGES=  # none
53
54 do-install:
55 .for fontfile in ${INSTALL_FONTS}
56         ${INSTALL_DATA} ${WRKSRC}/${fontfile} ${DESTDIR}${FONTDIR}
57 .endfor
58 .for docfile in ${INSTALL_DOCS}
59         ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DESTDIR}${DOCSDIR}
60 .endfor
61
62 .include "../../mk/bsd.pkg.mk"