Merge from vendor branch TNF:
[pkgsrcv2.git] / devel / doxygen / options.mk
1 # $NetBSD: options.mk,v 1.3 2011/10/10 19:31:28 minskim Exp $
2 #
3 PKG_OPTIONS_VAR=        PKG_OPTIONS.doxygen
4 PKG_SUPPORTED_OPTIONS=  latex
5 PKG_SUGGESTED_OPTIONS=  latex
6
7 .include "../../mk/bsd.options.mk"
8
9 PLIST_VARS+=            latex
10
11 .if !empty(PKG_OPTIONS:Mlatex)
12 PLIST.latex=            yes
13
14 INSTALL_TARGET+=        install_docs
15
16 # XXX Clearly separate what is build time vs runtime, and move
17 # build-time dependencies into USE_TOOLS framework.
18
19 BUILD_DEPENDS+= tex-epsf-[0-9]*:../../print/tex-epsf
20 BUILD_DEPENDS+= tex-tocloft-[0-9]*:../../print/tex-tocloft
21 DEPENDS+=       dvipsk-[0-9]*:../../print/dvipsk
22 DEPENDS+=       makeindexk-[0-9]*:../../textproc/makeindexk
23 DEPENDS+=       tex-a4wide>=2010nb1:../../print/tex-a4wide
24 DEPENDS+=       tex-ec-[0-9]*:../../fonts/tex-ec
25 DEPENDS+=       tex-epstopdf-[0-9]*:../../graphics/tex-epstopdf
26 DEPENDS+=       tex-fancyhdr-[0-9]*:../../print/tex-fancyhdr
27 DEPENDS+=       tex-float-[0-9]*:../../print/tex-float
28 DEPENDS+=       tex-graphics-[0-9]*:../../print/tex-graphics
29 DEPENDS+=       tex-hyperref-[0-9]*:../../print/tex-hyperref
30 DEPENDS+=       tex-latex-[0-9]*:../../print/tex-latex
31 DEPENDS+=       tex-latex-bin-[0-9]*:../../print/tex-latex-bin
32 DEPENDS+=       tex-listings-[0-9]*:../../print/tex-listings
33 DEPENDS+=       tex-oberdiek-[0-9]*:../../print/tex-oberdiek
34 DEPENDS+=       tex-psnfss>=9.2anb2:../../fonts/tex-psnfss
35 DEPENDS+=       tex-pspicture-[0-9]*:../../print/tex-pspicture
36 DEPENDS+=       tex-tools-[0-9]*:../../print/tex-tools
37
38 .endif