Sat Jan 13 01:09:17 2018 UTC ()
Fix DEPENDS pattern for non-default options


(ryoon)
diff -r1.1 -r1.2 pkgsrc/fonts/ghostscript-cidfonts-ryumin/options.mk

cvs diff -r1.1 -r1.2 pkgsrc/fonts/ghostscript-cidfonts-ryumin/options.mk (expand / switch to unified diff)

--- pkgsrc/fonts/ghostscript-cidfonts-ryumin/options.mk 2012/10/07 14:22:52 1.1
+++ pkgsrc/fonts/ghostscript-cidfonts-ryumin/options.mk 2018/01/13 01:09:16 1.2
@@ -1,43 +1,43 @@ @@ -1,43 +1,43 @@
1# $NetBSD: options.mk,v 1.1 2012/10/07 14:22:52 mef Exp $ 1# $NetBSD: options.mk,v 1.2 2018/01/13 01:09:16 ryoon Exp $
2 2
3# gcr = ghostscript-cidfonts-ryumin 3# gcr = ghostscript-cidfonts-ryumin
4PKG_OPTIONS_VAR= PKG_OPTIONS.gcr_type 4PKG_OPTIONS_VAR= PKG_OPTIONS.gcr_type
5PKG_SUPPORTED_OPTIONS= ipa adobe-cidfonts umefont motoya 5PKG_SUPPORTED_OPTIONS= ipa adobe-cidfonts umefont motoya
6# Other than adobe-cidfonts options may have problem on dvipdfmx -> gs invocation 6# Other than adobe-cidfonts options may have problem on dvipdfmx -> gs invocation
7# In case for includegraphicx eps file 7# In case for includegraphicx eps file
8PKG_SUGGESTED_OPTIONS= adobe-cidfonts 8PKG_SUGGESTED_OPTIONS= adobe-cidfonts
9 9
10.include "../../mk/bsd.options.mk" 10.include "../../mk/bsd.options.mk"
11 11
12# -------- Adobe CID font requested ------------- 12# -------- Adobe CID font requested -------------
13.if !empty(PKG_OPTIONS:Madobe-cidfonts) 13.if !empty(PKG_OPTIONS:Madobe-cidfonts)
14GS_CIDFMAP= cidfmap-adobe 14GS_CIDFMAP= cidfmap-adobe
15DEPENDS+= adobe-cidfonts-[0-9]*:../../fonts/adobe-cidfonts 15DEPENDS+= adobe-cidfonts-[0-9]*:../../fonts/adobe-cidfonts
16DEPENDS+= ghostscript-cidfonts-[0-9]*:../../fonts/ghostscript-cidfonts 16DEPENDS+= ghostscript-cidfonts-[0-9]*:../../fonts/ghostscript-cidfonts
17GCR_INSTALL_TYPE= adobe 17GCR_INSTALL_TYPE= adobe
18.endif 18.endif
19 19
20# -------- motoya-fonts (TTF) requested ------------- 20# -------- motoya-fonts (TTF) requested -------------
21.if !empty(PKG_OPTIONS:Mmotoya) 21.if !empty(PKG_OPTIONS:Mmotoya)
22GS_CIDFMAP= cidfmap-motoya 22GS_CIDFMAP= cidfmap-motoya
23DEPENDS+= ipafont-[0-9]*:../../fonts/motoya-fonts 23DEPENDS+= motoya-fonts-[0-9]*:../../fonts/motoya-fonts
24GCR_INSTALL_TYPE= ttf 24GCR_INSTALL_TYPE= ttf
25.endif 25.endif
26 26
27# -------- umefont (TTF) requested ------------- 27# -------- umefont (TTF) requested -------------
28.if !empty(PKG_OPTIONS:Mumefont) 28.if !empty(PKG_OPTIONS:Mumefont)
29GS_CIDFMAP= cidfmap-umefont 29GS_CIDFMAP= cidfmap-umefont
30DEPENDS+= ipafont-[0-9]*:../../fonts/umefont-ttf 30DEPENDS+= umefont-ttf-[0-9]*:../../fonts/umefont-ttf
31GCR_INSTALL_TYPE= ttf 31GCR_INSTALL_TYPE= ttf
32.endif 32.endif
33 33
34# -------- IPA (TTF) font requested ------------- 34# -------- IPA (TTF) font requested -------------
35.if !empty(PKG_OPTIONS:Mipa) 35.if !empty(PKG_OPTIONS:Mipa)
36GS_CIDFMAP= cidfmap-ipa 36GS_CIDFMAP= cidfmap-ipa
37DEPENDS+= ipafont-[0-9]*:../../fonts/ipafont 37DEPENDS+= ipafont-[0-9]*:../../fonts/ipafont
38GCR_INSTALL_TYPE= ttf 38GCR_INSTALL_TYPE= ttf
39.endif 39.endif
40 40
41# fonts/ja-sazanami-ttf/DESCR:Free Japanese TrueType font based on Wada lab. font (CLWFK) and 41# fonts/ja-sazanami-ttf/DESCR:Free Japanese TrueType font based on Wada lab. font (CLWFK) and
42# fonts/kochi-ttf/DESCR:Kochi-gothic is a free Japanese TrueType font developed by Yasuyuki Furukawa. 42# fonts/kochi-ttf/DESCR:Kochi-gothic is a free Japanese TrueType font developed by Yasuyuki Furukawa.
43# fonts/monafonts-ttf/DESCR:Japanese Windows font. This is named after ascii art 'mona' used in 43# fonts/monafonts-ttf/DESCR:Japanese Windows font. This is named after ascii art 'mona' used in