diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-30 19:27:19 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-30 19:27:19 -0400 |
commit | 165300ea84fd420d67e0e1b7cfe3b77377d5f885 (patch) | |
tree | 1f3558af70186815074beedbca35dd5124e8ffe5 /dist | |
parent | 38fa1e17d73535d80407ea833ffe1474017e62eb (diff) | |
download | fork-ledger-165300ea84fd420d67e0e1b7cfe3b77377d5f885.tar.gz fork-ledger-165300ea84fd420d67e0e1b7cfe3b77377d5f885.tar.bz2 fork-ledger-165300ea84fd420d67e0e1b7cfe3b77377d5f885.zip |
Updated the MacPorts Portfile for 3.0.
Diffstat (limited to 'dist')
-rw-r--r-- | dist/Portfile | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/dist/Portfile b/dist/Portfile index 431f3dc3..c7305e96 100644 --- a/dist/Portfile +++ b/dist/Portfile @@ -4,7 +4,7 @@ PortSystem 1.0 name ledger -version 2.6.1 +version 3.0 homepage http://www.newartisans.com/software/ledger.html categories finance accounting reporting @@ -29,9 +29,9 @@ depends_build port:automake \ port:autoconf \ port:libtool -depends_lib port:pcre \ - port:gmp \ - port:expat +depends_lib port:gmp \ + port:mpfr \ + port:boost configure.args --with-extra-includes=${prefix}/include \ --with-extra-libs=${prefix}/lib @@ -50,11 +50,25 @@ destroot.args DESTDIR=${destroot}${prefix} \ post-destroot {} variant ofx description {Allow reading of OFX data files} { - depends_lib-append port:libofx + depends_lib-append port:libofx } variant debug description {Enable debug mode} { - configure.args-append --enable-debug=yes + configure.args-append --enable-debug=yes +} + +variant python25 description {build python 2.5 support} conflicts python26 { + set pyversion 2.5 + depends_lib-delete port:boost + depends_lib-append port:boost+python25 \ + port:python[strsed ${pyversion} {g/[.]//}] +} + +variant python26 description {build python 2.6 support} conflicts python25 { + set pyversion 2.6 + depends_lib-delete port:boost + depends_lib-append port:boost+python26 \ + port:python[strsed ${pyversion} {g/[.]//}] } #livecheck.check regex |