summaryrefslogtreecommitdiff
path: root/fonts/ghostscript-cidfonts-ryumin/options.mk
blob: 2c30dfd2d58ba2c259cca634c87bb123f8b14166 (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
# $NetBSD: options.mk,v 1.3 2019/11/02 22:24:40 rillig Exp $

# gcr = ghostscript-cidfonts-ryumin
PKG_OPTIONS_VAR=	PKG_OPTIONS.gcr_type
PKG_SUPPORTED_OPTIONS=	ipa adobe-cidfonts umefont motoya
# Other than adobe-cidfonts options may have problem on dvipdfmx -> gs invocation
# In case for includegraphicx eps file
PKG_SUGGESTED_OPTIONS=	adobe-cidfonts

.include "../../mk/bsd.options.mk"

# -------- Adobe CID font requested -------------
.if !empty(PKG_OPTIONS:Madobe-cidfonts)
GS_CIDFMAP=		cidfmap-adobe
DEPENDS+=		adobe-cidfonts-[0-9]*:../../fonts/adobe-cidfonts
DEPENDS+=		ghostscript-cidfonts-[0-9]*:../../fonts/ghostscript-cidfonts
GCR_INSTALL_TYPE=	adobe
.endif

# -------- motoya-fonts (TTF) requested -------------
.if !empty(PKG_OPTIONS:Mmotoya)
GS_CIDFMAP=		cidfmap-motoya
DEPENDS+=		motoya-fonts-[0-9]*:../../fonts/motoya-fonts
GCR_INSTALL_TYPE=	ttf
.endif

# -------- umefont (TTF) requested -------------
.if !empty(PKG_OPTIONS:Mumefont)
GS_CIDFMAP=		cidfmap-umefont
DEPENDS+=		umefont-ttf-[0-9]*:../../fonts/umefont-ttf
GCR_INSTALL_TYPE=	ttf
.endif

# -------- IPA (TTF) font requested -------------
.if !empty(PKG_OPTIONS:Mipa)
GS_CIDFMAP=		cidfmap-ipa
DEPENDS+=		ipafont-[0-9]*:../../fonts/ipafont
GCR_INSTALL_TYPE=	ttf
.endif

# fonts/ja-sazanami-ttf/DESCR:Free Japanese TrueType font based on Wada lab. font (CLWFK) and
# fonts/kochi-ttf/DESCR:Kochi-gothic is a free Japanese TrueType font developed by Yasuyuki Furukawa.
# fonts/monafonts-ttf/DESCR:Japanese Windows font. This is named after ascii art 'mona' used in
# fonts/motoya-fonts/DESCR:Motoya fonts for Android handset display.
# fonts/umefont-ttf/DESCR:This package contains 18 Japanese fonts of Umefont family.
# fonts/vlgothic-ttf/DESCR:Japanese TrueType font using by Vine Linux.