blob: a6763233e1ffbd1e030946f2c588379dfd1a2722 (
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
51
52
|
# $NetBSD: Makefile,v 1.3 2012/10/01 11:09:31 ryoon Exp $
#
DISTNAME= KanjiStrokeOrders_v${KSOVER}
PKGNAME= ${DISTNAME:tl:S/_v/-ttf-/}
CATEGORIES= fonts japanese
MASTER_SITES= https://sites.google.com/site/nihilistorguk/
EXTRACT_SUFX= .zip
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://sites.google.com/site/nihilistorguk/
COMMENT= Japanese Kanji characters stroke order font
LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
# Force using "curl" for fetching the distribution file. It is only available
# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
FETCH_USING= curl
USE_X11BASE= YES
NO_CONFIGURE= YES
NO_BUILD= YES
KSOVER= 3.000
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
INSTALLATION_DIRS= lib/X11/fonts/TTF \
${DOCSDIR}
FONTDIR= ${PREFIX}/lib/X11/fonts/TTF
FONTS_DIRS.ttf= ${FONTDIR}
INSTALL_FONTS= KanjiStrokeOrders_v${KSOVER}.ttf
INSTALL_DOCS= KSO_Excel_Sample.pdf \
KSO_PPT_Sample.pdf \
copyright.txt \
readme_en_v${KSOVER}.txt
WRKSRC= ${WRKDIR}
USE_LANGUAGES= # none
do-install:
.for f in ${INSTALL_FONTS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${FONTDIR}
.endfor
.for f in ${INSTALL_DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCSDIR}
.endfor
.include "../../mk/bsd.pkg.mk"
|