'Ledger' is a command-line accounting program, which uses a simple text file
as a ledger, yet provides powerful facilities for working with commodities, accounts, transactions, etc. It will read Gnucash data files directly. PR: 82685 Submitted by: Woody Carey <woodycarey@hotmail.com>
This commit is contained in:
parent
043e45ad08
commit
a683b2c98d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138420
@ -16,6 +16,7 @@
|
||||
SUBDIR += khacc
|
||||
SUBDIR += kmymoney2
|
||||
SUBDIR += ktoblzcheck
|
||||
SUBDIR += ledger
|
||||
SUBDIR += libofx
|
||||
SUBDIR += libstocks
|
||||
SUBDIR += mybudget
|
||||
|
50
finance/ledger/Makefile
Normal file
50
finance/ledger/Makefile
Normal file
@ -0,0 +1,50 @@
|
||||
# New ports collection makefile for: ledger
|
||||
# Date created: June 25th, 2005
|
||||
# Whom: wcarey
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ledger
|
||||
PORTVERSION= 2.3
|
||||
CATEGORIES= finance
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} \
|
||||
http://www.badplandude.com/~wcarey/ledger/
|
||||
MASTER_SITE_SUBDIR=ledger
|
||||
|
||||
MAINTAINER= woodycarey@hotmail.com
|
||||
COMMENT= John Wiegley's command line accounting program
|
||||
|
||||
LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4 \
|
||||
pcre:${PORTSDIR}/devel/pcre \
|
||||
xmltok:${PORTSDIR}/www/libwww \
|
||||
xmlparse:${PORTSDIR}/www/libwww
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"
|
||||
|
||||
NO_INSTALL_MANPAGES= yes
|
||||
INFO= ledger
|
||||
|
||||
# we need to write our own do-install, as the configure script produces
|
||||
# a Makefile which respects $prefix, not ${PREFIX} during the install
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/ledger.info ${PREFIX}/info/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ledger ${PREFIX}/bin/
|
||||
${INSTALL_DATA} ${WRKSRC}/libledger.a ${PREFIX}/lib/
|
||||
${MKDIR} ${PREFIX}/include/ledger
|
||||
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/ledger/
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${MKDIR} ${EXAMPLESDIR}/scripts
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${EXAMPLESDIR}/scripts/
|
||||
${INSTALL_DATA} ${WRKSRC}/sample.dat ${EXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/setup.py ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/ledger.el ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/ledger.vim ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/ledger.texi ${EXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/main.py ${EXAMPLESDIR}
|
||||
|
||||
post-install:
|
||||
${CAT} pkg-message
|
||||
|
||||
.include <bsd.port.mk>
|
2
finance/ledger/distinfo
Normal file
2
finance/ledger/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (ledger-2.3.tar.gz) = 9adca9883f62db33f57961d0ac6f13cf
|
||||
SIZE (ledger-2.3.tar.gz) = 611562
|
8
finance/ledger/pkg-descr
Normal file
8
finance/ledger/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
'Ledger' is a command-line accounting program, which uses a simple text file
|
||||
as a ledger, yet provides powerful facilities for working with commodities,
|
||||
accounts, transactions, etc. It will read Gnucash data files directly.
|
||||
|
||||
WWW: http://www.newartisans.com/ledger.html
|
||||
|
||||
- Woody Carey
|
||||
woodycarey@hotmail.com
|
4
finance/ledger/pkg-message
Normal file
4
finance/ledger/pkg-message
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
This port has installed sample data files, python samples and script samples
|
||||
for ledger in ${PREFIX}/share/examples/ledger/
|
||||
Have fun!
|
54
finance/ledger/pkg-plist
Normal file
54
finance/ledger/pkg-plist
Normal file
@ -0,0 +1,54 @@
|
||||
bin/ledger
|
||||
include/ledger/acconf.h
|
||||
include/ledger/amount.h
|
||||
include/ledger/balance.h
|
||||
include/ledger/binary.h
|
||||
include/ledger/config.h
|
||||
include/ledger/datetime.h
|
||||
include/ledger/debug.h
|
||||
include/ledger/derive.h
|
||||
include/ledger/emacs.h
|
||||
include/ledger/error.h
|
||||
include/ledger/format.h
|
||||
include/ledger/gnucash.h
|
||||
include/ledger/journal.h
|
||||
include/ledger/ledger.h
|
||||
include/ledger/mask.h
|
||||
include/ledger/ofx.h
|
||||
include/ledger/option.h
|
||||
include/ledger/parser.h
|
||||
include/ledger/py_eval.h
|
||||
include/ledger/pyfstream.h
|
||||
include/ledger/pyledger.h
|
||||
include/ledger/qif.h
|
||||
include/ledger/quotes.h
|
||||
include/ledger/reconcile.h
|
||||
include/ledger/textual.h
|
||||
include/ledger/timing.h
|
||||
include/ledger/util.h
|
||||
include/ledger/valexpr.h
|
||||
include/ledger/value.h
|
||||
include/ledger/walk.h
|
||||
include/ledger/xml.h
|
||||
lib/libledger.a
|
||||
%%EXAMPLESDIR%%/ledger.el
|
||||
%%EXAMPLESDIR%%/ledger.texi
|
||||
%%EXAMPLESDIR%%/ledger.vim
|
||||
%%EXAMPLESDIR%%/main.py
|
||||
%%EXAMPLESDIR%%/sample.dat
|
||||
%%EXAMPLESDIR%%/scripts/README
|
||||
%%EXAMPLESDIR%%/scripts/bal
|
||||
%%EXAMPLESDIR%%/scripts/bal-huquq
|
||||
%%EXAMPLESDIR%%/scripts/entry
|
||||
%%EXAMPLESDIR%%/scripts/getquote
|
||||
%%EXAMPLESDIR%%/scripts/report
|
||||
%%EXAMPLESDIR%%/scripts/tc
|
||||
%%EXAMPLESDIR%%/scripts/ti
|
||||
%%EXAMPLESDIR%%/scripts/to
|
||||
%%EXAMPLESDIR%%/scripts/trend
|
||||
%%EXAMPLESDIR%%/setup.py
|
||||
@dirrm share/nls/en_US.US-ASCII
|
||||
@dirrm share/nls/POSIX
|
||||
@dirrm %%EXAMPLESDIR%%/scripts
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
@dirrm include/ledger
|
Loading…
Reference in New Issue
Block a user