diff options
author | John Wiegley <johnw@newartisans.com> | 2008-10-05 21:00:12 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-10-05 21:00:57 -0400 |
commit | be3875d4f3fff9a86b803a3520a312dbef4462bd (patch) | |
tree | f56e69020676956ad8c3acae1b970f8807b78051 /dist | |
parent | 31475d816d59c2deef2a61dcb7cf5e01d5e68111 (diff) | |
download | fork-ledger-be3875d4f3fff9a86b803a3520a312dbef4462bd.tar.gz fork-ledger-be3875d4f3fff9a86b803a3520a312dbef4462bd.tar.bz2 fork-ledger-be3875d4f3fff9a86b803a3520a312dbef4462bd.zip |
Added MacPorts Portfile.
Diffstat (limited to 'dist')
-rw-r--r-- | dist/Portfile | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/dist/Portfile b/dist/Portfile new file mode 100644 index 00000000..431f3dc3 --- /dev/null +++ b/dist/Portfile @@ -0,0 +1,63 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 +# $Id$ + +PortSystem 1.0 + +name ledger +version 2.6.1 +homepage http://www.newartisans.com/software/ledger.html +categories finance accounting reporting + +description A command-line, double-entry accounting tool. +long_description Ledger is a powerful, double-entry accounting system that \ + is accessed from the UNIX command-line. + +maintainers johnw@newartisans.com + +platforms darwin + +use_bzip2 no +master_sites ftp://ftp.newartisans.com/pub/ledger/:source +distname ${name}-${version} +distfiles ${distname}${extract.suffix}:source +checksums ${distname}${extract.suffix} \ + md5 7d2ebb3fbc0ca14e34f4aada9fe764a0 \ + sha1 d00ca4d61f28793c22be892411491d5ff48f156b \ + rmd160 e6ef6e0acfa125a88927ac399ec8e37fbbe1fe66 + +depends_build port:automake \ + port:autoconf \ + port:libtool + +depends_lib port:pcre \ + port:gmp \ + port:expat + +configure.args --with-extra-includes=${prefix}/include \ + --with-extra-libs=${prefix}/lib + +#patchfiles patch-admin-libtool.m4.in.diff \ +# patch-ledger-ProjectFile.cpp.diff + +build.args DYLD_LIBRARY_PATH=${worksrcpath}/ledger/.libs + +platform darwin 9 {} + +destroot.args DESTDIR=${destroot}${prefix} \ + DYLD_LIBRARY_PATH=${worksrcpath}/ledger/.libs \ + docprefix=${destroot}/share/doc + +post-destroot {} + +variant ofx description {Allow reading of OFX data files} { + depends_lib-append port:libofx +} + +variant debug description {Enable debug mode} { + configure.args-append --enable-debug=yes +} + +#livecheck.check regex +#livecheck.url ${homepage} +#livecheck.regex "Latest Stable Ledger \\(Version (\\d+.\\d+.\\d+)\\)" + |