source: trunk/dports/finance/ledger/Portfile @ 53335

Last change on this file since 53335 was 53335, checked in by macsforever2000@…, 11 years ago

Update to version 2.6.2. (#20090)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- 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
2# $Id: Portfile 53335 2009-07-03 18:55:38Z macsforever2000@macports.org $
3
4PortSystem          1.0
5
6name                ledger
7version             2.6.2
8homepage            http://wiki.github.com/jwiegley/ledger
9categories          finance
10
11description         A command-line, double-entry accounting tool.
12long_description    Ledger is a powerful, double-entry accounting system that \
13                                is accessed from the UNIX command-line.
14
15maintainers         newartisans.com:johnw
16
17platforms           darwin
18
19use_bzip2           no
20master_sites        ftp://ftp.newartisans.com/pub/ledger/:source
21distname            ${name}-${version}
22distfiles           ${distname}${extract.suffix}:source
23checksums           ${distname}${extract.suffix} \
24                                                md5     b2e6fa98e7339d1e130b1ea9af211c0f \
25                        sha1    2959e2c589f8d3f73b0f764326e8c8be3bfe0726 \
26                        rmd160  83c64bbd0a82b83d6a0f0f398564277ad1a9da89
27
28depends_build       port:automake \
29                    port:autoconf \
30                    port:libtool
31
32depends_lib         port:pcre \
33                    port:gmp \
34                    port:expat
35
36configure.args          --with-extra-includes=${prefix}/include \
37                    --with-extra-libs=${prefix}/lib
38
39#patchfiles          patch-admin-libtool.m4.in.diff \
40#                    patch-ledger-ProjectFile.cpp.diff
41
42build.args          DYLD_LIBRARY_PATH=${worksrcpath}/ledger/.libs
43
44platform darwin 9 {}
45
46destroot.args       DESTDIR=${destroot}${prefix} \
47                    DYLD_LIBRARY_PATH=${worksrcpath}/ledger/.libs \
48                    docprefix=${destroot}/share/doc
49
50post-destroot {}
51
52variant ofx description {Allow reading of OFX data files} {
53    depends_lib-append          port:libofx
54}
55
56variant debug description {Enable debug mode} {
57    configure.args-append       --enable-debug=yes
58}
59
60#livecheck.check     regex
61#livecheck.url       ${homepage}
62#livecheck.regex     "Latest Stable Ledger \\(Version (\\d+.\\d+.\\d+)\\)"
63
Note: See TracBrowser for help on using the repository browser.