update Wed Jun 16 06:37:00 PDT 2010
[pkgsrc.git] / wip / gretl / options.mk
1 # $NetBSD$
2
3 PKG_OPTIONS_VAR=                PKG_OPTIONS.gretl
4
5 # Options:
6
7 PKG_SUPPORTED_OPTIONS+=         readline
8 # provides a nice editable command line in gretlcli, the command-line program
9
10 PKG_SUPPORTED_OPTIONS+=         png
11 # enhance gretl's ability to work with PNG graphs created by gnuplot
12
13 PKG_SUPPORTED_OPTIONS+=         gnome
14 # gretl is integrated into the gnome desktop
15 # (file icons and associations, help system and so on)
16
17 PKG_SUPPORTED_OPTIONS+=         gmp
18 # supports gretl's Multiple Precision OLS plugin
19
20 # gtksourceview optional      syntax highlighting for gretl scripts
21
22 PKG_SUGGESTED_OPTIONS=          readline
23
24 .include "../../mk/bsd.options.mk"
25
26 .for option in ${PKG_SUPPORTED_OPTIONS}
27 .if !empty(PKG_OPTIONS:M${option})
28 PLIST_SUBST+=   ${option}=""
29 .else
30 PLIST_SUBST+=   ${option}="@comment "
31 .endif
32 .endfor
33
34 .if !empty(PKG_OPTIONS:Mreadline)
35 USE_GNU_READLINE=       YES
36 .include "../../devel/readline/buildlink3.mk"
37 .endif
38
39 .if !empty(PKG_OPTIONS:Mgmp)
40 .include "../../devel/gmp/buildlink3.mk"
41 .endif
42
43 .if !empty(PKG_OPTIONS:Mpng)
44 .include "../../graphics/png/buildlink3.mk"
45 .endif
46
47 # More?
48 #.include "../../x11/gtk2/buildlink3.mk"