Fixup fromcvs/togit conversion
[pkgsrcv2.git] / fonts / kanjistrokeorders-ttf / Makefile
1 # $NetBSD: Makefile,v 1.3 2012/10/01 11:09:31 ryoon Exp $
2 #
3
4 DISTNAME=       KanjiStrokeOrders_v${KSOVER}
5 PKGNAME=        ${DISTNAME:tl:S/_v/-ttf-/}
6 CATEGORIES=     fonts japanese
7 MASTER_SITES=   https://sites.google.com/site/nihilistorguk/
8 EXTRACT_SUFX=   .zip
9
10 MAINTAINER=     ryoon@NetBSD.org
11 HOMEPAGE=       https://sites.google.com/site/nihilistorguk/
12 COMMENT=        Japanese Kanji characters stroke order font
13 LICENSE=        modified-bsd
14
15 # Force using "curl" for fetching the distribution file. It is only available
16 # over HTTPS and "curl" is the only fetch program which always supports HTTPS.
17 FETCH_USING=    curl
18
19 USE_X11BASE=    YES
20 NO_CONFIGURE=   YES
21 NO_BUILD=       YES
22
23 KSOVER=         3.000
24
25 DOCSDIR=        ${PREFIX}/share/doc/${PKGBASE}
26
27 INSTALLATION_DIRS=      lib/X11/fonts/TTF \
28                         ${DOCSDIR}
29
30 FONTDIR=        ${PREFIX}/lib/X11/fonts/TTF
31 FONTS_DIRS.ttf= ${FONTDIR}
32
33 INSTALL_FONTS=  KanjiStrokeOrders_v${KSOVER}.ttf
34 INSTALL_DOCS=   KSO_Excel_Sample.pdf \
35                 KSO_PPT_Sample.pdf \
36                 copyright.txt \
37                 readme_en_v${KSOVER}.txt
38
39 WRKSRC=         ${WRKDIR}
40 USE_LANGUAGES=  # none
41
42 do-install:
43 .for f in ${INSTALL_FONTS}
44         ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${FONTDIR}
45 .endfor
46 .for f in ${INSTALL_DOCS}
47         ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCSDIR}
48 .endfor
49
50 .include "../../mk/bsd.pkg.mk"