| @@ -1,26 +1,28 @@ | | | @@ -1,26 +1,28 @@ |
1 | # $NetBSD: options.mk,v 1.1 2016/03/03 13:23:22 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.2 2016/08/13 23:18:56 tron Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.pari | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.pari |
4 | PKG_SUPPORTED_OPTIONS= doc gmp x11 | | 4 | PKG_SUPPORTED_OPTIONS= doc gmp x11 |
5 | # x11 is not suggested because it's not reasonable to include a GUI in | | 5 | # x11 is not suggested because it's not reasonable to include a GUI in |
6 | # a foundation library. | | 6 | # a foundation library. |
7 | PKG_SUGGESTED_OPTIONS= doc gmp | | 7 | PKG_SUGGESTED_OPTIONS= doc gmp |
8 | | | 8 | |
9 | .include "../../mk/bsd.options.mk" | | 9 | .include "../../mk/bsd.options.mk" |
10 | | | 10 | |
11 | PLIST_VARS+= doc | | 11 | PLIST_VARS+= doc |
12 | .if !empty(PKG_OPTIONS:Mdoc) | | 12 | .if !empty(PKG_OPTIONS:Mdoc) |
13 | BUILD_DEPENDS+= tex-amsfonts>=3.0:../../fonts/tex-amsfonts | | 13 | BUILD_DEPENDS+= tex-amsfonts>=3.0:../../fonts/tex-amsfonts |
| | | 14 | BUILD_DEPENDS+= tex-hyphen-german-*:../../print/tex-hyphen-german |
| | | 15 | BUILD_DEPENDS+= tex-hyphen-russian-*:../../print/tex-hyphen-russian |
14 | BUILD_DEPENDS+= tex-pdftex>=1.40.11:../../print/tex-pdftex | | 16 | BUILD_DEPENDS+= tex-pdftex>=1.40.11:../../print/tex-pdftex |
15 | PLIST.doc= yes | | 17 | PLIST.doc= yes |
16 | BUILD_TARGET+= doc | | 18 | BUILD_TARGET+= doc |
17 | INSTALL_TARGET+= install-doc | | 19 | INSTALL_TARGET+= install-doc |
18 | MAKE_ENV+= PDFTEX=${LOCALBASE}/bin/pdftex | | 20 | MAKE_ENV+= PDFTEX=${LOCALBASE}/bin/pdftex |
19 | .endif | | 21 | .endif |
20 | | | 22 | |
21 | PLIST_VARS+= nogmp gmp | | 23 | PLIST_VARS+= nogmp gmp |
22 | .if !empty(PKG_OPTIONS:Mgmp) | | 24 | .if !empty(PKG_OPTIONS:Mgmp) |
23 | PLIST.gmp= yes | | 25 | PLIST.gmp= yes |
24 | CONFIGURE_ARGS+= --with-gmp=${BUILDLINK_PREFIX.gmp} | | 26 | CONFIGURE_ARGS+= --with-gmp=${BUILDLINK_PREFIX.gmp} |
25 | .include "../../devel/gmp/buildlink3.mk" | | 27 | .include "../../devel/gmp/buildlink3.mk" |
26 | .else | | 28 | .else |