Ticket #45334: finance-ledger-v3.1.patch
File finance-ledger-v3.1.patch, 3.1 KB (added by mvgrimes, 10 years ago) |
---|
-
finance/ledger/Portfile
4 4 PortSystem 1.0 5 5 6 6 name ledger 7 version 2.6.27 version 3.1 8 8 revision 1 9 homepage http:// wiki.github.com/jwiegley/ledger9 homepage http://ledger-cli.org/ 10 10 categories finance 11 11 12 12 description A command-line, double-entry accounting tool. 13 13 long_description Ledger is a powerful, double-entry accounting system that \ 14 14 is accessed from the UNIX command-line. 15 15 16 16 maintainers newartisans.com:johnw 17 17 18 18 platforms darwin 19 19 20 master_sites http://ftp.newartisans.com/pub/ledger/ \ 21 ftp://ftp.newartisans.com/pub/ledger/ 20 # Project uses submodules, so fetch from git rather than using the release 21 # tagball or the github PortGroup 22 fetch.type git 23 git.url https://github.com/ledger/ledger.git 24 git.branch v3.1 22 25 23 checksums md5 b2e6fa98e7339d1e130b1ea9af211c0f \24 sha1 2959e2c589f8d3f73b0f764326e8c8be3bfe0726 \25 rmd160 83c64bbd0a82b83d6a0f0f398564277ad1a9da8926 27 26 depends_build port:automake \ 28 27 port:autoconf \ 29 28 port:libtool 30 29 31 30 depends_lib port:pcre \ 31 port:boost \ 32 port:python27 \ 33 port:libiconv \ 34 port:zlib \ 32 35 port:gmp \ 33 port:expat 36 port:mpfr \ 37 port:ncurses \ 38 port:gettext \ 39 port:libedit \ 40 port:texlive-xetex \ 41 port:doxygen \ 42 port:graphviz \ 43 port:texinfo \ 44 port:lcov \ 45 port:sloccount 34 46 35 configure.args --disable-ofx36 47 37 # patchfiles patch-admin-libtool.m4.in.diff \38 # patch-ledger-ProjectFile.cpp.diff 48 # Needs a compiler that supports c++11; are there others? 49 compiler.whitelist macports-gcc-4.7 macports-gcc-4.8 macports-gcc-4.9 39 50 40 build.args DYLD_LIBRARY_PATH=${worksrcpath}/ledger/.libs 51 configure.cmd ./acprep opt config 52 build.cmd ./acprep opt make 41 53 42 54 destroot.args DESTDIR=${destroot}${prefix} \ 43 DYLD_LIBRARY_PATH=${worksrcpath}/ledger/.libs \44 55 docprefix=${destroot}/share/doc 45 46 variant ofx description {Allow reading of OFX data files} {47 depends_lib-append port:libofx48 configure.cppflags-append -I${prefix}/include/libofx49 configure.args-delete --disable-ofx50 configure.args-append --enable-ofx51 }52 53 variant debug description {Enable debug mode} {54 configure.args-append --enable-debug=yes55 }56 57 #livecheck.type regex58 #livecheck.url ${homepage}59 #livecheck.regex "Latest Stable Ledger \\(Version (\\d+.\\d+.\\d+)\\)"60