Ticket #45334: finance-ledger-v3.1-2.patch
File finance-ledger-v3.1-2.patch, 3.2 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.28 revision 1 9 homepage http:// wiki.github.com/jwiegley/ledger7 version 3.1 8 9 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 # tarball 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 port:libtool 28 port:libtool \ 29 port:doxygen \ 30 port:graphviz \ 31 port:libedit \ 32 port:texlive-xetex \ 33 port:texinfo 30 34 31 35 depends_lib port:pcre \ 36 port:expat \ 37 port:boost \ 38 port:python27 \ 39 port:libiconv \ 40 port:zlib \ 32 41 port:gmp \ 33 port:expat 42 port:mpfr \ 43 port:ncurses \ 44 port:gettext 34 45 35 configure.args --disable-ofx 46 # Needs a compiler that supports c++11; are there others? 47 # gcc-4.7 produces malloc segfaults 48 compiler.whitelist macports-gcc-4.8 macports-gcc-4.9 36 49 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 50 configure.cmd ${worksrcpath}/acprep opt config 51 build.cmd ${worksrcpath}/acprep opt make