Ticket #45334: finance-ledger-v3.1-3.patch

File finance-ledger-v3.1-3.patch, 2.9 KB (added by mvgrimes, 9 years ago)
  • finance/ledger/Portfile

     
    22# $Id$
    33
    44PortSystem          1.0
     5PortGroup           github 1.0
     6github.setup        ledger ledger 3.1 v
     7fetch.type          git
    58
    69name                ledger
    7 version             2.6.2
    8 revision            1
    9 homepage            http://wiki.github.com/jwiegley/ledger
     10
     11homepage            http://ledger-cli.org/
    1012categories          finance
    1113
    1214description         A command-line, double-entry accounting tool.
    1315long_description    Ledger is a powerful, double-entry accounting system that \
    14                                 is accessed from the UNIX command-line.
     16                    is accessed from the UNIX command-line.
    1517
    1618maintainers         newartisans.com:johnw
    1719
    1820platforms           darwin
    1921
    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  83c64bbd0a82b83d6a0f0f398564277ad1a9da89
    26 
    2722depends_build       port:automake \
    2823                    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
    3030
    3131depends_lib         port:pcre \
     32                    port:expat \
     33                    port:boost \
     34                    port:python27 \
     35                    port:libiconv \
     36                    port:zlib \
    3237                    port:gmp \
    33                     port:expat
     38                    port:mpfr \
     39                    port:ncurses \
     40                    port:gettext
    3441
    35 configure.args          --disable-ofx
     42# Needs a compiler that supports c++11. Do we need to whitelist?
    3643
    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 
     44configure.cmd       ${worksrcpath}/acprep opt config
     45build.cmd           ${worksrcpath}/acprep opt make