# -*- 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: Portfile 73739 2010-11-23 09:42:31Z jmr@macports.org $ PortSystem 1.0 name ledger version 2.6.2 homepage http://wiki.github.com/jwiegley/ledger categories finance 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 newartisans.com:johnw platforms darwin master_sites http://ftp.newartisans.com/pub/ledger/ \ ftp://ftp.newartisans.com/pub/ledger/ checksums md5 b2e6fa98e7339d1e130b1ea9af211c0f \ sha1 2959e2c589f8d3f73b0f764326e8c8be3bfe0726 \ rmd160 83c64bbd0a82b83d6a0f0f398564277ad1a9da89 depends_build port:automake \ port:autoconf \ port:libtool depends_lib port:pcre \ port:gmp \ port:expat configure.args --disable-ofx #patchfiles patch-admin-libtool.m4.in.diff \ # patch-ledger-ProjectFile.cpp.diff build.args DYLD_LIBRARY_PATH=${worksrcpath}/ledger/.libs destroot.args DESTDIR=${destroot}${prefix} \ DYLD_LIBRARY_PATH=${worksrcpath}/ledger/.libs \ docprefix=${destroot}/share/doc variant ofx description {Allow reading of OFX data files} { depends_lib-append port:libofx configure.cppflags-append -I${prefix}/include/libofx configure.args-delete --disable-ofx configure.args-append --enable-ofx } variant debug description {Enable debug mode} { configure.args-append --enable-debug=yes } #livecheck.type regex #livecheck.url ${homepage} #livecheck.regex "Latest Stable Ledger \\(Version (\\d+.\\d+.\\d+)\\)"