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

jmr at macports.org jmr at macports.org
Tue Nov 23 01:42:37 PST 2010


Revision: 73739
          http://trac.macports.org/changeset/73739
Author:   jmr at macports.org
Date:     2010-11-23 01:42:31 -0800 (Tue, 23 Nov 2010)
Log Message:
-----------
ledger: make ofx variant work (#20788), add http source to master_sites, remove unrecognised configure args

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

Modified: trunk/dports/finance/ledger/Portfile
===================================================================
--- trunk/dports/finance/ledger/Portfile	2010-11-23 04:50:28 UTC (rev 73738)
+++ trunk/dports/finance/ledger/Portfile	2010-11-23 09:42:31 UTC (rev 73739)
@@ -16,7 +16,8 @@
 
 platforms           darwin
 
-master_sites        ftp://ftp.newartisans.com/pub/ledger/
+master_sites        http://ftp.newartisans.com/pub/ledger/ \
+                    ftp://ftp.newartisans.com/pub/ledger/
 
 checksums           	md5     b2e6fa98e7339d1e130b1ea9af211c0f \
                     	sha1    2959e2c589f8d3f73b0f764326e8c8be3bfe0726 \
@@ -30,8 +31,7 @@
                     port:gmp \
                     port:expat
 
-configure.args		--with-extra-includes=${prefix}/include \
-                    --with-extra-libs=${prefix}/lib
+configure.args		--disable-ofx
 
 #patchfiles          patch-admin-libtool.m4.in.diff \
 #                    patch-ledger-ProjectFile.cpp.diff
@@ -44,6 +44,9 @@
 
 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} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101123/c528b251/attachment.html>


More information about the macports-changes mailing list