[134991] trunk/dports/finance/ledger/Portfile

khindenburg at macports.org khindenburg at macports.org
Sun Apr 12 15:53:39 PDT 2015


Revision: 134991
          https://trac.macports.org/changeset/134991
Author:   khindenburg at macports.org
Date:     2015-04-12 15:53:39 -0700 (Sun, 12 Apr 2015)
Log Message:
-----------
ledger: update to 3.1 maintainer timeout #45334

Modified Paths:
--------------
    trunk/dports/finance/ledger/Portfile

Modified: trunk/dports/finance/ledger/Portfile
===================================================================
--- trunk/dports/finance/ledger/Portfile	2015-04-12 22:41:16 UTC (rev 134990)
+++ trunk/dports/finance/ledger/Portfile	2015-04-12 22:53:39 UTC (rev 134991)
@@ -2,59 +2,46 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 
+github.setup        ledger ledger 3.1 v
+fetch.type          git
+
 name                ledger
-version             2.6.2
-revision            1
-homepage            http://wiki.github.com/jwiegley/ledger
+
+homepage            http://ledger-cli.org/
 categories          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.
-
+                    is accessed from the UNIX command-line.
+license             BSD
 maintainers         newartisans.com:johnw
 
 platforms           darwin
 
-master_sites        http://ftp.newartisans.com/pub/ledger/ \
-                    ftp://ftp.newartisans.com/pub/ledger/
-
-checksums           	md5     b2e6fa98e7339d1e130b1ea9af211c0f \
-                    	sha1    2959e2c589f8d3f73b0f764326e8c8be3bfe0726 \
-                    	rmd160  83c64bbd0a82b83d6a0f0f398564277ad1a9da89
-
 depends_build       port:automake \
                     port:autoconf \
-                    port:libtool
+                    port:cmake \
+                    port:libtool \
+                    port:doxygen \
+                    path:bin/dot:graphviz \
+                    port:libedit \
+                    port:texlive-xetex \
+                    port:texinfo
 
 depends_lib         port:pcre \
+                    port:expat \
+                    port:boost \
+                    port:python27 \
+                    port:libiconv \
+                    port:zlib \
                     port:gmp \
-                    port:expat
+                    port:mpfr \
+                    port:ncurses \
+                    port:gettext
 
-configure.args		--disable-ofx
+# Needs a compiler that supports c++11. Do we need to whitelist?
 
-#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
-    configure.cppflags-append   -I${prefix}/include/libofx
-    configure.args-delete       --disable-ofx
-    configure.args-append       --enable-ofx
-}
-
-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+)\\)"
-
+configure.cmd       ${worksrcpath}/acprep opt config
+build.cmd           ${worksrcpath}/acprep opt make
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150412/5276005e/attachment.html>


More information about the macports-changes mailing list