summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/ledger')
-rw-r--r--app-office/ledger/ChangeLog39
-rw-r--r--app-office/ledger/Manifest7
-rw-r--r--app-office/ledger/files/50ledger-gentoo.el5
-rw-r--r--app-office/ledger/files/50ledger-mode-gentoo.el6
-rw-r--r--app-office/ledger/ledger-2.5-r1.ebuild63
-rw-r--r--app-office/ledger/ledger-2.5-r2.ebuild69
-rw-r--r--app-office/ledger/metadata.xml10
7 files changed, 199 insertions, 0 deletions
diff --git a/app-office/ledger/ChangeLog b/app-office/ledger/ChangeLog
new file mode 100644
index 0000000..2cd2cad
--- /dev/null
+++ b/app-office/ledger/ChangeLog
@@ -0,0 +1,39 @@
+# ChangeLog for app-office/ledger
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ChangeLog,v 1.7 2007/10/14 23:31:52 opfer Exp $
+
+*ledger-2.5-r2 (14 Oct 2007)
+
+ 14 Oct 2007; Christian Faulhammer <opfer@gentoo.org>
+ +files/50ledger-gentoo.el, +ledger-2.5-r2.ebuild:
+ fixed Emacs support, see bug 193463
+
+ 16 Sep 2007; Christian Faulhammer <opfer@gentoo.org> ledger-2.5-r1.ebuild:
+ adding elisp-site-regen, so Emacs start-up is updated, see bug 158073
+
+ 15 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
+ add <herd>no-herd</herd>
+
+ 14 Feb 2007; Christian Faulhammer <opfer@gentoo.org> ledger-2.5-r1.ebuild:
+ change from elisp.eclass to elisp-common.eclass, as reported in bug 158073
+
+ 22 Nov 2006; Piotr Jaroszyński <peper@gentoo.org> ledger-2.5-r1.ebuild:
+ Add ~amd64 wrt bug #155839.
+
+*ledger-2.5-r1 (20 Nov 2006)
+
+ 20 Nov 2006; <wrobel@gentoo.org> -ledger-2.5.ebuild,
+ +ledger-2.5-r1.ebuild:
+ Fixed installation with use flag emacs activated. see #155682.
+
+ 18 Nov 2006; <wrobel@gentoo.org> +files/50ledger-mode-gentoo.el,
+ +metadata.xml, +ledger-2.5.ebuild:
+ app-office/ledger-2.5 now in the tree. License added, local use flags
+ described and ebuild fixed.
+
+*ledger-2.5 (18 Nov 2006)
+
+ 18 Nov 2006; <wrobel@gentoo.org> +files/50ledger-mode-gentoo.el,
+ +metadata.xml, +ledger-2.5.ebuild:
+ Added app-office/ledger-2.5 to the tree.
+
diff --git a/app-office/ledger/Manifest b/app-office/ledger/Manifest
new file mode 100644
index 0000000..eeb60c9
--- /dev/null
+++ b/app-office/ledger/Manifest
@@ -0,0 +1,7 @@
+AUX 50ledger-gentoo.el 161 RMD160 ebbaeac2a050ea128c4e981894b86d8e68986942 SHA1 72771799a560086c7c0ebcbddb8484493ec77162 SHA256 a4a15d31f9dddd6c2e4bba1f02a15c22d6f123ded9ae8bf07d98e1e64b53fa4f
+AUX 50ledger-mode-gentoo.el 140 RMD160 ff51a34c9859ca4bad42937b12b065c40e09828f SHA1 649e80c0ee167630d634d3e1a859223e9008deba SHA256 9811f26d8b6633f132fa4d717e97e975ae0f4048bca3d2f8804ddd15fe966cc2
+DIST ledger-2.5.tar.gz 829947 RMD160 4380ecc5275df22b48a202e82e0b6a723bcd3c69 SHA1 4ba1053fc65d44201904abf1776d071b2cfe492d SHA256 9def110964965c5dcbb1680ca3d5844ab9d0128d4176d0a90fbd0164fee8031c
+EBUILD ledger-2.5-r1.ebuild 1584 RMD160 d273499668ad16b633eed0384555248bc856cd34 SHA1 67b59a4081c72c238a25e5df5e2f8424fd0cfcbc SHA256 97bcde578a11fecdfc6dfdd66fe336c694e5848f29b4a4b8e5c931a6957581eb
+EBUILD ledger-2.5-r2.ebuild 1699 RMD160 bbb4dbe5b43f6d06cfe4b00f745f154e694ca731 SHA1 13f16d9c577e4fd2efb3724114a66ef8647f9b6c SHA256 a0b644425e2f2176955d07ee6b539bb5f10f6161284cf2765d90e7a99e79ef62
+MISC ChangeLog 1443 RMD160 f135d93216a43b5d8b018662b40037f3d401dd6f SHA1 e7366bdded1acd6ba2baeb75f9daec82ff1e8375 SHA256 0379fba5c5cffe9eee5426caaa28bd88ff1743bed6cc9e430b1f2581a35336d8
+MISC metadata.xml 299 RMD160 4fbfb9bf736f390e35663fcfe144982b4f119145 SHA1 dda01420cc21330c3e678295996f6389b4755763 SHA256 9f63d40a10853bdd9bec929b14a619627ad0d2b9776bc40170e587059f2c1016
diff --git a/app-office/ledger/files/50ledger-gentoo.el b/app-office/ledger/files/50ledger-gentoo.el
new file mode 100644
index 0000000..2783661
--- /dev/null
+++ b/app-office/ledger/files/50ledger-gentoo.el
@@ -0,0 +1,5 @@
+
+;;; app-office/ledger site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'ledger-mode "ledger" "A mode for editing ledger data files." t)
diff --git a/app-office/ledger/files/50ledger-mode-gentoo.el b/app-office/ledger/files/50ledger-mode-gentoo.el
new file mode 100644
index 0000000..ca3f2b6
--- /dev/null
+++ b/app-office/ledger/files/50ledger-mode-gentoo.el
@@ -0,0 +1,6 @@
+;;; ledger site-lisp configuration
+
+
+(require 'ledger) ; load ledger mode
+
+(require 'timeclock) ; helper functions for time management
diff --git a/app-office/ledger/ledger-2.5-r1.ebuild b/app-office/ledger/ledger-2.5-r1.ebuild
new file mode 100644
index 0000000..b6550e8
--- /dev/null
+++ b/app-office/ledger/ledger-2.5-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ledger-2.5-r1.ebuild,v 1.5 2007/09/16 13:32:23 mr_bones_ Exp $
+
+inherit eutils elisp-common
+
+DESCRIPTION="Ledger is an command-line accounting tool that provides double-entry accounting with a minimum of frills, and yet with a maximum of expressiveness and flexibility."
+HOMEPAGE="http://www.newartisans.com/software.html"
+
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="NewArtisans"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="emacs debug gnuplot ofx xml"
+
+DEPEND="dev-libs/gmp
+ dev-libs/libpcre
+ ofx? ( >=dev-libs/libofx-0.7 )
+ xml? ( dev-libs/expat )
+ emacs? ( virtual/emacs )
+ gnuplot? ( sci-visualization/gnuplot )"
+
+SITEFILE=50ledger-mode-gentoo.el
+
+src_compile() {
+
+ econf \
+ $(use_enable xml) \
+ $(use_enable ofx) \
+ $(use_enable debug) \
+ $(use_with emacs lispdir ${D}/usr/share/emacs/site-lisp/${PN}) \
+ || die "Configure failed!"
+
+ emake || die "Make failed!"
+}
+
+src_install() {
+
+ dodoc sample.dat README NEWS ledger.pdf
+
+ ## One script uses vi, the outher the Finance perl module
+ ## Did not add more use flags though
+ insinto /usr/share/${P}
+ doins scripts/entry scripts/getquote scripts/bal scripts/bal-huquq
+
+ use emacs && elisp-site-file-install ${FILESDIR}/${SITEFILE}
+
+ einstall || die "Installation failed!"
+
+ if use gnuplot; then
+ mv scripts/report ledger-report
+ dobin ledger-report
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/app-office/ledger/ledger-2.5-r2.ebuild b/app-office/ledger/ledger-2.5-r2.ebuild
new file mode 100644
index 0000000..66c8781
--- /dev/null
+++ b/app-office/ledger/ledger-2.5-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ledger-2.5-r2.ebuild,v 1.1 2007/10/14 23:31:52 opfer Exp $
+
+inherit eutils elisp-common
+
+DESCRIPTION="A command-line accounting tool that provides double-entry accounting with a minimum of frills, and yet with a maximum of expressiveness and flexibility."
+HOMEPAGE="http://www.newartisans.com/software.html"
+
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="NewArtisans"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="emacs debug gnuplot ofx xml"
+
+DEPEND="dev-libs/gmp
+ dev-libs/libpcre
+ ofx? ( >=dev-libs/libofx-0.7 )
+ xml? ( dev-libs/expat )
+ emacs? ( virtual/emacs )
+ gnuplot? ( sci-visualization/gnuplot )"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_compile() {
+
+ econf \
+ $(use_enable xml) \
+ $(use_enable ofx) \
+ $(use_enable debug) \
+ $(use_with emacs lispdir "${D}${SITELISP}/${PN}") \
+ || die "Configure failed!"
+
+ emake || die "Make failed!"
+}
+
+src_install() {
+
+ dodoc sample.dat README NEWS ledger.pdf
+
+ ## One script uses vi, the outher the Finance perl module
+ ## Did not add more use flags though
+ insinto /usr/share/${P}
+ doins scripts/entry scripts/getquote scripts/bal scripts/bal-huquq
+
+ einstall || die "Installation failed!"
+
+ # Remove timeclock since it is part of Emacs
+ rm -f "${D}${SITELISP}/${PN}"/timeclock.*
+
+ if use emacs; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
+ || die "elisp-site-file-install failed"
+ fi
+
+ if use gnuplot; then
+ mv scripts/report ledger-report
+ dobin ledger-report
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/app-office/ledger/metadata.xml b/app-office/ledger/metadata.xml
new file mode 100644
index 0000000..3493808
--- /dev/null
+++ b/app-office/ledger/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>wrobel@gentoo.org</email>
+ <name>Gunnar Wrobel</name>
+ <description>Primary maintainer</description>
+</maintainer>
+</pkgmetadata>