Ledger version 2.6.2 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 2.6.2

      View the most recent changes for the ledger port at: ledger.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for ledger.
      The raw portfile for ledger 2.6.2 is located here:
      http://ledger.darwinports.com/dports/finance/ledger/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/ledger


      # -*- 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
      The ledger Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: ledger
      Version: 2.6.2
      Homepage: http://wiki.github.com/jwiegley/ledger
      Category: finance

      Description: A command-line, double-entry accounting tool.
      Long Description: Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line.

      Maintainers: newartisans.com:johnw

      Platform: darwin

      Master Sites: ftp://ftp.newartisans.com/pub/ledger/

      Checksums: md5 b2e6fa98e7339d1e130b1ea9af211c0f sha1 2959e2c589f8d3f73b0f764326e8c8be3bfe0726 rmd160 83c64bbd0a82b83d6a0f0f398564277ad1a9da89

      depends_build port:automake port:autoconf port:libtool

      depends_lib port:pcre port:gmp port:expat

      configure.args --with-extra-includes=${prefix}/include --with-extra-libs=${prefix}/lib

      #patchfiles patch-admin-libtool.m4.in.diff # patch-ledger-ProjectFile.cpp.diff

      build.args DYLD_LIBRARY_PATH=${worksrcpath}/ledger/.libs

      destroot.args DESTDIR=${destroot}${prefix} DYLD_LIBRARY_PATH=${worksrcpath}/ledger/.libs docprefix=${destroot}/share/doc

      Variant: ofx description {Allow reading of OFX data files} {
      depends_lib-append port:libofx
      }

      Variant: debug description {Enable debug mode} {
      configure.args-append --enable-debug=yes
      }

      #livecheck.type regex
      #livecheck.url ${homepage}
      #livecheck.regex "Latest Stable Ledger \\(Version (\\d+.\\d+.\\d+)\\)"


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/ledger
      % sudo port install ledger
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching ledger
      ---> Verifying checksum for ledger
      ---> Extracting ledger
      ---> Configuring ledger
      ---> Building ledger with target all
      ---> Staging ledger into destroot
      ---> Installing ledger
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using ledger with these commands:
      %  man ledger
      % apropos ledger
      % which ledger
      % locate ledger

     Where to find more information:

    Darwin Ports



    Lightbox this page.