Annotation of pkgsrc/doc/guide/Makefile.common, Revision 1.3
1.3 ! wiz 1: # $NetBSD: Makefile.common,v 1.2 2005/11/28 06:41:20 jlam Exp $
1.1 tv 2: #
3: # This is included by doc/guide and meta-pkgs/pkgsrc-guide-tools.
4: #
5: # Because the outputs are configurable, this functions as a build-time
6: # dependency in doc/guide (customized to the desired output types),
7: # and a runtime dependency in meta-pkgs/pkgsrc-guide-tools (depending
8: # on all possible output tools).
9: #
10:
11: _GUIDE_DEPTYPE?= build
12: _GUIDE_OUTPUTS?= lint html html-split ascii pdf
13:
14: # html output
15: _GUIDE_DEPENDS+= docbook>=4.0:../../textproc/docbook
16: _GUIDE_DEPENDS+= docbook-xml>=4.0:../../textproc/docbook-xml
17: _GUIDE_DEPENDS+= docbook-xsl>=1.62.4:../../textproc/docbook-xsl
18: _GUIDE_DEPENDS+= dsssl-docbook-modular>=1.54:../../textproc/dsssl-docbook-modular
19: _GUIDE_DEPENDS+= opensp>=1.5:../../textproc/opensp
20: _GUIDE_DEPENDS+= libxslt>=1.0.30:../../textproc/libxslt
21:
22: .if !empty(_GUIDE_OUTPUTS:Mhtml*)
23: _GUIDE_DEPENDS+= tidy>=20021108:../../www/tidy
24: .endif
25:
26: .if !empty(_GUIDE_OUTPUTS:Mascii)
27: _GUIDE_DEPENDS+= w3m>=0.4:../../www/w3m
28: .endif
29:
30: .if !empty(_GUIDE_OUTPUTS:Mps) || !empty(_GUIDE_OUTPUTS:Mpdf)
31: _GUIDE_DEPENDS+= openjade>=1.3.2:../../textproc/openjade
1.3 ! wiz 32: _GUIDE_DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
1.1 tv 33: _GUIDE_DEPENDS+= tex-jadetex>=3.13:../../print/tex-jadetex
34: GHOSTSCRIPT_REQD= 7.05
1.2 jlam 35: . if ${_GUIDE_DEPTYPE} == "run"
36: USE_TOOLS+= gs:run
37: . else
38: USE_TOOLS+= gs
39: . endif
1.1 tv 40: .endif
41:
42: .if ${_GUIDE_DEPTYPE} == "run"
43: DEPENDS+= ${_GUIDE_DEPENDS}
44: .else
45: BUILD_DEPENDS+= ${_GUIDE_DEPENDS}
46: .endif
CVSweb <webmaster@jp.NetBSD.org>