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