diff options
Diffstat (limited to 'dist')
-rw-r--r-- | dist/Portfile | 77 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/01libgmp-contents.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/01libgmp.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/02libintl-contents.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/02libintl.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/03libosp-contents.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/03libosp.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/04libofx-contents.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/04libofx.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/05libpcre-contents.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/05libpcre.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/06ledger-contents.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/06ledger.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/07ledger-contents.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/07ledger.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/08ledger-contents.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/08ledger.xml | 1 | ||||
-rw-r--r-- | dist/pkg/ledger.pmdoc/index.xml | 1 | ||||
-rwxr-xr-x | dist/pkg/post-install.sh | 8 |
19 files changed, 102 insertions, 0 deletions
diff --git a/dist/Portfile b/dist/Portfile new file mode 100644 index 00000000..c7305e96 --- /dev/null +++ b/dist/Portfile @@ -0,0 +1,77 @@ +# -*- 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 +# $Id$ + +PortSystem 1.0 + +name ledger +version 3.0 +homepage http://www.newartisans.com/software/ledger.html +categories finance accounting reporting + +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 johnw@newartisans.com + +platforms darwin + +use_bzip2 no +master_sites ftp://ftp.newartisans.com/pub/ledger/:source +distname ${name}-${version} +distfiles ${distname}${extract.suffix}:source +checksums ${distname}${extract.suffix} \ + md5 7d2ebb3fbc0ca14e34f4aada9fe764a0 \ + sha1 d00ca4d61f28793c22be892411491d5ff48f156b \ + rmd160 e6ef6e0acfa125a88927ac399ec8e37fbbe1fe66 + +depends_build port:automake \ + port:autoconf \ + port:libtool + +depends_lib port:gmp \ + port:mpfr \ + port:boost + +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 + +platform darwin 9 {} + +destroot.args DESTDIR=${destroot}${prefix} \ + DYLD_LIBRARY_PATH=${worksrcpath}/ledger/.libs \ + docprefix=${destroot}/share/doc + +post-destroot {} + +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 +} + +variant python25 description {build python 2.5 support} conflicts python26 { + set pyversion 2.5 + depends_lib-delete port:boost + depends_lib-append port:boost+python25 \ + port:python[strsed ${pyversion} {g/[.]//}] +} + +variant python26 description {build python 2.6 support} conflicts python25 { + set pyversion 2.6 + depends_lib-delete port:boost + depends_lib-append port:boost+python26 \ + port:python[strsed ${pyversion} {g/[.]//}] +} + +#livecheck.check regex +#livecheck.url ${homepage} +#livecheck.regex "Latest Stable Ledger \\(Version (\\d+.\\d+.\\d+)\\)" + diff --git a/dist/pkg/ledger.pmdoc/01libgmp-contents.xml b/dist/pkg/ledger.pmdoc/01libgmp-contents.xml new file mode 100644 index 00000000..0a430288 --- /dev/null +++ b/dist/pkg/ledger.pmdoc/01libgmp-contents.xml @@ -0,0 +1 @@ +<pkg-contents spec="1.12"><f n="libgmp.3.4.2.dylib" o="root" g="admin" p="33261" pt="/opt/local/lib/libgmp.3.4.2.dylib" m="false" t="file"/></pkg-contents>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/01libgmp.xml b/dist/pkg/ledger.pmdoc/01libgmp.xml new file mode 100644 index 00000000..23719cb0 --- /dev/null +++ b/dist/pkg/ledger.pmdoc/01libgmp.xml @@ -0,0 +1 @@ +<pkgref spec="1.12" uuid="20CB3809-D9CA-4DC8-9D1C-7AF1A63BB48A"><config><identifier>com.newartisans.ledger261.libgmp342.pkg</identifier><version>1</version><description/><post-install type="none"/><requireAuthorization/><installFrom>/opt/local/lib/libgmp.3.4.2.dylib</installFrom><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>parent</mod><mod>installTo.path</mod><mod>installTo</mod></config><contents><file-list>01libgmp-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/02libintl-contents.xml b/dist/pkg/ledger.pmdoc/02libintl-contents.xml new file mode 100644 index 00000000..c48f3143 --- /dev/null +++ b/dist/pkg/ledger.pmdoc/02libintl-contents.xml @@ -0,0 +1 @@ +<pkg-contents spec="1.12"><f n="libintl.8.0.2.dylib" o="root" g="admin" p="33188" pt="/opt/local/lib/libintl.8.0.2.dylib" m="false" t="file"/></pkg-contents>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/02libintl.xml b/dist/pkg/ledger.pmdoc/02libintl.xml new file mode 100644 index 00000000..07805206 --- /dev/null +++ b/dist/pkg/ledger.pmdoc/02libintl.xml @@ -0,0 +1 @@ +<pkgref spec="1.12" uuid="45E37CF4-128B-4810-9BC8-BDE24D0C2D31"><config><identifier>com.newartisans.ledger261.libintl802.pkg</identifier><version>1</version><description/><post-install type="none"/><requireAuthorization/><installFrom>/opt/local/lib/libintl.8.0.2.dylib</installFrom><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>parent</mod><mod>installTo.path</mod><mod>installTo</mod></config><contents><file-list>02libintl-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/03libosp-contents.xml b/dist/pkg/ledger.pmdoc/03libosp-contents.xml new file mode 100644 index 00000000..f620ae64 --- /dev/null +++ b/dist/pkg/ledger.pmdoc/03libosp-contents.xml @@ -0,0 +1 @@ +<pkg-contents spec="1.12"><f n="libosp.5.0.0.dylib" o="root" g="admin" p="33261" pt="/opt/local/lib/libosp.5.0.0.dylib" m="false" t="file"/></pkg-contents>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/03libosp.xml b/dist/pkg/ledger.pmdoc/03libosp.xml new file mode 100644 index 00000000..0c355399 --- /dev/null +++ b/dist/pkg/ledger.pmdoc/03libosp.xml @@ -0,0 +1 @@ +<pkgref spec="1.12" uuid="68EFD971-45E8-41F0-A238-48A0D7DB919A"><config><identifier>com.newartisans.ledger261.libosp500.pkg</identifier><version>1</version><description/><post-install type="none"/><requireAuthorization/><installFrom>/opt/local/lib/libosp.5.0.0.dylib</installFrom><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>parent</mod><mod>installTo.path</mod><mod>installTo</mod></config><contents><file-list>03libosp-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/04libofx-contents.xml b/dist/pkg/ledger.pmdoc/04libofx-contents.xml new file mode 100644 index 00000000..9fd6b67f --- /dev/null +++ b/dist/pkg/ledger.pmdoc/04libofx-contents.xml @@ -0,0 +1 @@ +<pkg-contents spec="1.12"><f n="libofx.3.0.1.dylib" o="root" g="admin" p="33261" pt="/opt/local/lib/libofx.3.0.1.dylib" m="false" t="file"/></pkg-contents>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/04libofx.xml b/dist/pkg/ledger.pmdoc/04libofx.xml new file mode 100644 index 00000000..44ac60c7 --- /dev/null +++ b/dist/pkg/ledger.pmdoc/04libofx.xml @@ -0,0 +1 @@ +<pkgref spec="1.12" uuid="25459941-C854-492F-BBCB-AB386E085408"><config><identifier>com.newartisans.ledger261.libofx301.pkg</identifier><version>1</version><description/><post-install type="none"/><requireAuthorization/><installFrom>/opt/local/lib/libofx.3.0.1.dylib</installFrom><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>parent</mod><mod>installTo.path</mod><mod>installTo</mod></config><contents><file-list>04libofx-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/05libpcre-contents.xml b/dist/pkg/ledger.pmdoc/05libpcre-contents.xml new file mode 100644 index 00000000..244c7d22 --- /dev/null +++ b/dist/pkg/ledger.pmdoc/05libpcre-contents.xml @@ -0,0 +1 @@ +<pkg-contents spec="1.12"><f n="libpcre.0.0.1.dylib" o="root" g="admin" p="33261" pt="/opt/local/lib/libpcre.0.0.1.dylib" m="false" t="file"/></pkg-contents>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/05libpcre.xml b/dist/pkg/ledger.pmdoc/05libpcre.xml new file mode 100644 index 00000000..28d7188b --- /dev/null +++ b/dist/pkg/ledger.pmdoc/05libpcre.xml @@ -0,0 +1 @@ +<pkgref spec="1.12" uuid="C507CC8C-58DE-41FF-ACAF-393176088653"><config><identifier>com.newartisans.ledger261.libpcre001.pkg</identifier><version>1</version><description/><post-install type="none"/><requireAuthorization/><installFrom>/opt/local/lib/libpcre.0.0.1.dylib</installFrom><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>parent</mod><mod>installTo.path</mod><mod>installTo</mod></config><contents><file-list>05libpcre-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/06ledger-contents.xml b/dist/pkg/ledger.pmdoc/06ledger-contents.xml new file mode 100644 index 00000000..277b9294 --- /dev/null +++ b/dist/pkg/ledger.pmdoc/06ledger-contents.xml @@ -0,0 +1 @@ +<pkg-contents spec="1.12"><f n="ledger.pdf" o="johnw" g="501" p="33188" pt="/Users/johnw/Products/2.6.1/ledger.pdf" m="false" t="file"/></pkg-contents>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/06ledger.xml b/dist/pkg/ledger.pmdoc/06ledger.xml new file mode 100644 index 00000000..d90d9a33 --- /dev/null +++ b/dist/pkg/ledger.pmdoc/06ledger.xml @@ -0,0 +1 @@ +<pkgref spec="1.12" uuid="332F048F-7778-42FF-AABB-A519AC0CCEC5"><config><identifier>com.newartisans.ledger261.ledger.pkg</identifier><version>1</version><description/><post-install type="none"/><requireAuthorization/><installFrom>/Users/johnw/Products/2.6.1/ledger.pdf</installFrom><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>parent</mod></config><contents><file-list>06ledger-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/07ledger-contents.xml b/dist/pkg/ledger.pmdoc/07ledger-contents.xml new file mode 100644 index 00000000..8314ef4d --- /dev/null +++ b/dist/pkg/ledger.pmdoc/07ledger-contents.xml @@ -0,0 +1 @@ +<pkg-contents spec="1.12"><f n="ledger.info" o="johnw" g="501" p="33188" pt="/Users/johnw/Projects/branches/2.6.1/ledger.info" m="false" t="file"/></pkg-contents>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/07ledger.xml b/dist/pkg/ledger.pmdoc/07ledger.xml new file mode 100644 index 00000000..582ed128 --- /dev/null +++ b/dist/pkg/ledger.pmdoc/07ledger.xml @@ -0,0 +1 @@ +<pkgref spec="1.12" uuid="AF6A8ADD-2251-4548-B762-B0FFC7D664DE"><config><identifier>com.newartisans.ledger261.ledger-1.pkg</identifier><version>1</version><description/><post-install type="none"/><requireAuthorization/><installFrom>/Users/johnw/Projects/branches/2.6.1/ledger.info</installFrom><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>parent</mod><mod>scripts.postinstall.path</mod><mod>installTo.path</mod><mod>installTo</mod></config><contents><file-list>07ledger-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/08ledger-contents.xml b/dist/pkg/ledger.pmdoc/08ledger-contents.xml new file mode 100644 index 00000000..6adf8d2c --- /dev/null +++ b/dist/pkg/ledger.pmdoc/08ledger-contents.xml @@ -0,0 +1 @@ +<pkg-contents spec="1.12"><f n="ledger.el" o="johnw" g="501" p="33188" pt="/Users/johnw/Projects/branches/2.6.1/ledger.el" m="false" t="file"/></pkg-contents>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/08ledger.xml b/dist/pkg/ledger.pmdoc/08ledger.xml new file mode 100644 index 00000000..28489728 --- /dev/null +++ b/dist/pkg/ledger.pmdoc/08ledger.xml @@ -0,0 +1 @@ +<pkgref spec="1.12" uuid="3E76E43D-8A47-4CE2-B9C9-7F8BD8040222"><config><identifier>com.newartisans.ledger261.ledger-2.pkg</identifier><version>1</version><description/><post-install type="none"/><requireAuthorization/><installFrom>/Users/johnw/Projects/branches/2.6.1/ledger.el</installFrom><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>parent</mod><mod>installTo.path</mod><mod>installTo</mod></config><contents><file-list>08ledger-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
\ No newline at end of file diff --git a/dist/pkg/ledger.pmdoc/index.xml b/dist/pkg/ledger.pmdoc/index.xml new file mode 100644 index 00000000..0c8c8963 --- /dev/null +++ b/dist/pkg/ledger.pmdoc/index.xml @@ -0,0 +1 @@ +<pkmkdoc spec="1.12"><properties><title>Ledger 2.6.1</title><build>/Users/johnw/Projects/ledger/Ledger 2.6.1.pkg</build><organization>com.newartisans</organization><userSees ui="easy"/><min-target os="3"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><description>Ledger is a command-line, double-entry accounting system.</description><contents><choice title="libgmp" id="gmp" description="The GNP multi-precision math library. " starts_selected="true" starts_enabled="true" starts_hidden="false"><customLoc mod="true">/usr/lib</customLoc><pkgref id="com.newartisans.ledger261.libgmp342.pkg"/></choice><choice title="libintl.8.0.2" id="choice9" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.newartisans.ledger261.libintl802.pkg"/></choice><choice title="libosp.5.0.0" id="choice10" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.newartisans.ledger261.libosp500.pkg"/></choice><choice title="libofx.3.0.1" id="choice11" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.newartisans.ledger261.libofx301.pkg"/></choice><choice title="libpcre.0.0.1" id="choice12" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.newartisans.ledger261.libpcre001.pkg"/></choice><choice title="ledger" id="choice13" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.newartisans.ledger261.ledger.pkg"/><pkgref id="com.newartisans.ledger261.ledger-1.pkg"/></choice><choice title="ledger" id="choice14" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.newartisans.ledger261.ledger-2.pkg"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource relative="true" mod="true" type="license">LICENSE</resource><resource relative="true" mod="true" type="readme">README</resource></locale></resources><requirements><requirement id="sosv" operator="ge" value="'10.5.0'"/></requirements><flags/><item type="file">01libgmp.xml</item><item type="file">02libintl.xml</item><item type="file">03libosp.xml</item><item type="file">04libofx.xml</item><item type="file">05libpcre.xml</item><item type="file">06ledger.xml</item><item type="file">07ledger.xml</item><item type="file">08ledger.xml</item><mod>properties.customizeOption</mod><mod>properties.userDomain</mod><mod>properties.title</mod><mod>description</mod><mod>properties.anywhereDomain</mod><mod>properties.systemDomain</mod></pkmkdoc>
\ No newline at end of file diff --git a/dist/pkg/post-install.sh b/dist/pkg/post-install.sh new file mode 100755 index 00000000..158ca7c2 --- /dev/null +++ b/dist/pkg/post-install.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +ln -sf /usr/lib/libexpat.1.5.2.dylib /usr/lib/libexpat.1.dylib +ln -sf /usr/lib/libexpat.1.5.2.dylib /usr/lib/libexpat.dylib + +ln -sf /usr/lib/libgmp.3.4.2.dylib /usr/lib/libgmp.3.dylib +ln -sf /usr/lib/libgmp.3.4.2.dylib /usr/lib/libgmp.dylib + |