Changeset 23316 for trunk/dports/gnome


Ignore:
Timestamp:
Mar 28, 2007, 7:11:04 PM (13 years ago)
Author:
mas@…
Message:

new variant +guile16 (enabled by default) to use old but working version of guile; enable OFX by default; really disable HBCI if requested by user while aqbanking is installed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/gnucash/Portfile

    r22261 r23316  
    44name              gnucash
    55version           2.0.5
    6 revision          0
     6revision          1
    77categories        gnome x11
    88maintainers       mas@seligma.com
     
    1919                  installation.  This port does not work around this \
    2020                  decision at the moment. -- \
    21                   Use variant +enable_ofx to get OFX connectivity built in. \
    22                   Without that variant, OFX will be disabled. \
    23                   HBCI and online stock quote retrieval are enabled by \
    24                   default, but can be disabled with variant +without_hbci.
     21                  There are several variants that disable dependencies that \
     22                  have proven problematic for some people.  Variant +guile16 \
     23                  is enabled by default because newer guile versions do not \
     24                  yet work correctly with MacPorts.
    2525homepage          http://www.gnucash.org/
    2626master_sites      http://www.gnucash.org/pub/gnucash/sources/stable/
     
    2828                  # gpg signature for 2.0.5 verified
    2929depends_lib       lib:XML/Parser.pm:p5-xml-parser \
    30                   port:glib1 \
    3130                  port:glib2 \
    3231                  port:gconf \
    33                   lib:libguile:slib-guile \
    34                   bin:g-wrap-config:g-wrap \
     32                  port:guile \
     33                  port:slib \
     34                  port:slib-guile \
     35                  port:g-wrap \
    3536                  lib:libpopt:popt \
    3637                  lib:libgnomeui:libgnomeui \
     
    3940                  lib:libgsf:libgsf \
    4041                  lib:aqbanking:aqbanking \
     42                  lib:libofx:libofx \
    4143                  lib:Finance/Quote.pm:p5-finance-quote \
    4244                  port:gnucash-docs
     
    4749                  LDFLAGS=-L${prefix}/lib
    4850configure.args    --disable-glibtest --disable-debug --disable-profile \
    49                   --disable-dependency-tracking --enable-hbci --disable-ofx
     51                  --disable-dependency-tracking --enable-hbci --enable-ofx
     52
     53default_variants +guile16
     54default_variants +without_ofx
     55        # ofx is not enabled by default since some of the ports required
     56        # by libofx have problems (distfile for mkcatalog is unavailable;
     57        # openjade requires gcc33 which reportedly does not work on Intel)
    5058
    5159variant without_quotes {
     
    5664        depends_lib-delete      lib:aqbanking:aqbanking
    5765        configure.args-delete   --enable-hbci
     66        configure.args-append   --disable-hbci
    5867}
    5968
    60 variant enable_ofx {
    61         # ofx is not enabled by default since some of the ports required
    62         # by libofx have problems (distfile for mkcatalog is unavailable;
    63         # openjade requires gcc33 which reportedly does not work on Intel)
    64         depends_lib-append      lib:libofx:libofx
    65         configure.args-delete   --disable-ofx
    66         configure.args-append   --enable-ofx
     69variant without_ofx {
     70        depends_lib-delete      lib:libofx:libofx
     71        configure.args-delete   --enable-ofx
     72        configure.args-append   --disable-ofx
    6773}
    6874
     
    7076        depends_lib-delete      port:gnucash-docs
    7177}
     78
     79variant guile16 {
     80        depends_lib-delete      port:guile
     81        depends_lib-delete      port:slib-guile
     82        depends_lib-delete      port:g-wrap
     83        depends_lib-append      port:guile16 \
     84                                port:slib-guile16 \
     85                                port:g-wrap16
     86}
Note: See TracChangeset for help on using the changeset viewer.