ports/82685: [NEW PORT]: finance/ledger commandline accounting program
Woody Carey
woodycarey at hotmail.com
Mon Jun 27 02:40:22 UTC 2005
>Number: 82685
>Category: ports
>Synopsis: [NEW PORT]: finance/ledger commandline accounting program
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 27 02:40:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Woody Carey <woodycarey at freebsd.org>
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD adsl-67-112-113-91.dsl.pltn13.pacbell.net 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri May 20 19:18:14 PDT 2005 wcarey at adsl-67-112-113-91.dsl.pltn13.pacbell.net:/usr/obj/usr/src/sys/SMP i386
>Description:
Please accept my new port of John Wiegley's ledger program to
FreeBSD 5-Stable. Thank you.
>How-To-Repeat:
none
>Fix:
--- ledger.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# ledger
# ledger/pkg-descr
# ledger/pkg-plist
# ledger/pkg-message
# ledger/Makefile
# ledger/distinfo
#
echo c - ledger
mkdir -p ledger > /dev/null 2>&1
echo x - ledger/pkg-descr
sed 's/^X//' >ledger/pkg-descr << 'END-of-ledger/pkg-descr'
X'Ledger' is a command-line accounting program, which uses a simple text file
Xas a ledger, yet provides powerful facilities for working with commodities,
Xaccounts, transactions, etc. It will read Gnucash data files directly.
X
XWWW: http://www.newartisans.com/ledger.html
X
X - Woody Carey
Xwoodycarey at hotmail.com
END-of-ledger/pkg-descr
echo x - ledger/pkg-plist
sed 's/^X//' >ledger/pkg-plist << 'END-of-ledger/pkg-plist'
Xbin/ledger
Xinclude/ledger/acconf.h
Xinclude/ledger/amount.h
Xinclude/ledger/balance.h
Xinclude/ledger/binary.h
Xinclude/ledger/config.h
Xinclude/ledger/datetime.h
Xinclude/ledger/debug.h
Xinclude/ledger/derive.h
Xinclude/ledger/emacs.h
Xinclude/ledger/error.h
Xinclude/ledger/format.h
Xinclude/ledger/gnucash.h
Xinclude/ledger/journal.h
Xinclude/ledger/ledger.h
Xinclude/ledger/mask.h
Xinclude/ledger/ofx.h
Xinclude/ledger/option.h
Xinclude/ledger/parser.h
Xinclude/ledger/py_eval.h
Xinclude/ledger/pyfstream.h
Xinclude/ledger/pyledger.h
Xinclude/ledger/qif.h
Xinclude/ledger/quotes.h
Xinclude/ledger/reconcile.h
Xinclude/ledger/textual.h
Xinclude/ledger/timing.h
Xinclude/ledger/util.h
Xinclude/ledger/valexpr.h
Xinclude/ledger/value.h
Xinclude/ledger/walk.h
Xinclude/ledger/xml.h
Xlib/libledger.a
X%%EXAMPLESDIR%%/ledger.el
X%%EXAMPLESDIR%%/ledger.texi
X%%EXAMPLESDIR%%/ledger.vim
X%%EXAMPLESDIR%%/main.py
X%%EXAMPLESDIR%%/sample.dat
X%%EXAMPLESDIR%%/scripts/README
X%%EXAMPLESDIR%%/scripts/bal
X%%EXAMPLESDIR%%/scripts/bal-huquq
X%%EXAMPLESDIR%%/scripts/entry
X%%EXAMPLESDIR%%/scripts/getquote
X%%EXAMPLESDIR%%/scripts/report
X%%EXAMPLESDIR%%/scripts/tc
X%%EXAMPLESDIR%%/scripts/ti
X%%EXAMPLESDIR%%/scripts/to
X%%EXAMPLESDIR%%/scripts/trend
X%%EXAMPLESDIR%%/setup.py
X at dirrm share/nls/en_US.US-ASCII
X at dirrm share/nls/POSIX
X at dirrm %%EXAMPLESDIR%%/scripts
X at dirrm %%EXAMPLESDIR%%
X at dirrm include/ledger
END-of-ledger/pkg-plist
echo x - ledger/pkg-message
sed 's/^X//' >ledger/pkg-message << 'END-of-ledger/pkg-message'
X
XThis port has installed sample data files, python samples and script samples
Xfor ledger in ${PREFIX}/share/examples/ledger/
XHave fun!
END-of-ledger/pkg-message
echo x - ledger/Makefile
sed 's/^X//' >ledger/Makefile << 'END-of-ledger/Makefile'
X# New ports collection makefile for: ledger
X# Date created: June 25th, 2005
X# Whom: wcarey
X#
X# $FreeBSD$
X#
X
XPORTNAME= ledger
XPORTVERSION= 2.3
XCATEGORIES= finance
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} \
X http://www.badplandude.com/~wcarey/ledger/
XMASTER_SITE_SUBDIR=ledger
X
XMAINTAINER= woodycarey at hotmail.com
XCOMMENT= John Wiegley's command line accounting program
X
XLIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4 \
X pcre:${PORTSDIR}/devel/pcre \
X xmltok:${PORTSDIR}/www/libwww \
X xmlparse:${PORTSDIR}/www/libwww
X
XHAS_CONFIGURE= yes
XCONFIGURE_ARGS= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"
X
XNO_INSTALL_MANPAGES= yes
XINFO= ledger
X
X# we need to write our own do-install, as the configure script produces
X# a Makefile which respects $prefix, not ${PREFIX} during the install
Xdo-install:
X ${INSTALL_DATA} ${WRKSRC}/ledger.info ${PREFIX}/info/
X ${INSTALL_PROGRAM} ${WRKSRC}/ledger ${PREFIX}/bin/
X ${INSTALL_DATA} ${WRKSRC}/libledger.a ${PREFIX}/lib/
X ${MKDIR} ${PREFIX}/include/ledger
X ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/ledger/
X ${MKDIR} ${EXAMPLESDIR}
X ${MKDIR} ${EXAMPLESDIR}/scripts
X ${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${EXAMPLESDIR}/scripts/
X ${INSTALL_DATA} ${WRKSRC}/sample.dat ${EXAMPLESDIR}
X ${INSTALL_SCRIPT} ${WRKSRC}/setup.py ${EXAMPLESDIR}
X ${INSTALL_DATA} ${WRKSRC}/ledger.el ${EXAMPLESDIR}
X ${INSTALL_DATA} ${WRKSRC}/ledger.vim ${EXAMPLESDIR}
X ${INSTALL_DATA} ${WRKSRC}/ledger.texi ${EXAMPLESDIR}
X ${INSTALL_SCRIPT} ${WRKSRC}/main.py ${EXAMPLESDIR}
X
Xpost-install:
X ${CAT} pkg-message
X
X.include <bsd.port.mk>
END-of-ledger/Makefile
echo x - ledger/distinfo
sed 's/^X//' >ledger/distinfo << 'END-of-ledger/distinfo'
XMD5 (ledger-2.3.tar.gz) = 9adca9883f62db33f57961d0ac6f13cf
XSIZE (ledger-2.3.tar.gz) = 611562
END-of-ledger/distinfo
exit
--- ledger.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list