View | Details | Raw Unified | Return to bug 186518 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-23 / +14 lines)
Lines 2-40 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	ledger
4
PORTNAME=	ledger
5
PORTVERSION=	2.6.3
5
PORTVERSION=	3.1
6
PORTREVISION=	3
7
CATEGORIES=	finance
6
CATEGORIES=	finance
8
MASTER_SITES=	http://cloud.github.com/downloads/jwiegley/${PORTNAME}/
9
7
10
MAINTAINER=	woodycarey@hotmail.com
8
MAINTAINER=	woodycarey@hotmail.com
11
COMMENT=	John Wiegley's command line accounting program
9
COMMENT=	John Wiegley's command line accounting program
12
10
13
LICENSE=	BSD3CLAUSE
11
LICENSE=	BSD3CLAUSE
14
LICENSE_FILE=	${WRKSRC}/LICENSE
12
LICENSE_FILE=	${WRKSRC}/doc/LICENSE
15
13
14
BUILD_DEPENDS=	${LOCALBASE}/include/utf8.h:${PORTSDIR}/devel/utf8cpp
16
LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/gmp \
15
LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/gmp \
17
		libpcre.so:${PORTSDIR}/devel/pcre \
16
		libmpfr.so:${PORTSDIR}/math/mpfr \
18
		libxmltok.so:${PORTSDIR}/www/libwww \
17
		libedit.so.0:${PORTSDIR}/devel/libedit \
19
		libxmlparse.so:${PORTSDIR}/www/libwww
18
		libboost_system.so:${PORTSDIR}/devel/boost-libs
20
19
21
USES=		libtool
20
USE_GITHUB=	yes
21
GH_ACCOUNT=	ledger
22
GH_TAGNAME=	v${PORTVERSION}
23
GH_COMMIT=	9df7fd4
24
22
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
23
GNU_CONFIGURE=	yes
26
USES=		cmake compiler:c++11-lib
24
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/w3c-libwww
25
LDFLAGS+=	-L${LOCALBASE}/lib
26
27
27
SUB_FILES=	pkg-message
28
CMAKE_ARGS+=	-DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man \
29
		-DCMAKE_INCLUDE_PATH=${LOCALBASE}/include
28
30
29
INSTALL_TARGET=	install-strip
30
31
INFO=	ledger
32
33
post-install:
34
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/scripts
35
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${STAGEDIR}${EXAMPLESDIR}/scripts/
36
	${INSTALL_DATA} ${WRKSRC}/sample.dat ${STAGEDIR}${EXAMPLESDIR}
37
	${INSTALL_SCRIPT} ${WRKSRC}/setup.py ${STAGEDIR}${EXAMPLESDIR}
38
	${INSTALL_DATA} ${WRKSRC}/ledger.vim ${STAGEDIR}${EXAMPLESDIR}
39
40
.include <bsd.port.mk>
31
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (ledger-2.6.3.tar.gz) = b3ecd0174a3500bb96fe047617b1ee870cc5196deb0230393d933dceaeb7f717
1
SHA256 (ledger-3.1.tar.gz) = 97bd3dc14b88c2ec622b466e24011bc413485ec1c4e253093e3243ebb53da0b1
2
SIZE (ledger-2.6.3.tar.gz) = 660752
2
SIZE (ledger-3.1.tar.gz) = 817824
(-)files/pkg-message.in (-4 lines)
Lines 1-4 Link Here
1
2
This port has installed sample data files, python samples and script samples
3
for ledger in %%PREFIX%%/share/examples/ledger/
4
Have fun!
(-)pkg-plist (-37 / +50 lines)
Lines 1-52 Link Here
1
bin/ledger
1
bin/ledger
2
include/ledger/acconf.h
2
include/ledger/account.h
3
include/ledger/amount.h
3
include/ledger/amount.h
4
include/ledger/annotate.h
5
include/ledger/archive.h
4
include/ledger/balance.h
6
include/ledger/balance.h
5
include/ledger/binary.h
7
include/ledger/chain.h
6
include/ledger/config.h
8
include/ledger/commodity.h
9
include/ledger/compare.h
10
include/ledger/context.h
11
include/ledger/convert.h
7
include/ledger/csv.h
12
include/ledger/csv.h
8
include/ledger/datetime.h
13
include/ledger/draft.h
9
include/ledger/debug.h
10
include/ledger/derive.h
11
include/ledger/emacs.h
14
include/ledger/emacs.h
12
include/ledger/error.h
15
include/ledger/error.h
16
include/ledger/expr.h
17
include/ledger/exprbase.h
18
include/ledger/filters.h
19
include/ledger/flags.h
13
include/ledger/format.h
20
include/ledger/format.h
14
include/ledger/gnucash.h
21
include/ledger/generate.h
22
include/ledger/global.h
23
include/ledger/history.h
24
include/ledger/item.h
25
include/ledger/iterators.h
15
include/ledger/journal.h
26
include/ledger/journal.h
16
include/ledger/ledger.h
27
include/ledger/lookup.h
17
include/ledger/mask.h
28
include/ledger/mask.h
18
include/ledger/ofx.h
29
include/ledger/op.h
19
include/ledger/option.h
30
include/ledger/option.h
31
include/ledger/org.h
32
include/ledger/output.h
20
include/ledger/parser.h
33
include/ledger/parser.h
21
include/ledger/qif.h
34
include/ledger/pool.h
35
include/ledger/post.h
36
include/ledger/precmd.h
37
include/ledger/predicate.h
38
include/ledger/print.h
39
include/ledger/pstream.h
40
include/ledger/ptree.h
41
include/ledger/pyfstream.h
42
include/ledger/pyinterp.h
43
include/ledger/pyutils.h
44
include/ledger/query.h
22
include/ledger/quotes.h
45
include/ledger/quotes.h
23
include/ledger/reconcile.h
24
include/ledger/report.h
46
include/ledger/report.h
25
include/ledger/textual.h
47
include/ledger/scope.h
26
include/ledger/timing.h
48
include/ledger/select.h
27
include/ledger/util.h
49
include/ledger/session.h
28
include/ledger/valexpr.h
50
include/ledger/stats.h
51
include/ledger/stream.h
52
include/ledger/strptime.h
53
include/ledger/system.hh
54
include/ledger/temps.h
55
include/ledger/timelog.h
56
include/ledger/times.h
57
include/ledger/token.h
58
include/ledger/unistring.h
59
include/ledger/utils.h
29
include/ledger/value.h
60
include/ledger/value.h
30
include/ledger/walk.h
61
include/ledger/views.h
31
include/ledger/xml.h
62
include/ledger/xact.h
32
lib/libamounts.a
33
lib/libamounts.so
34
lib/libamounts.so.0
35
lib/libamounts.so.0.0.0
36
lib/libledger-2.6.3.so
37
lib/libledger.a
38
lib/libledger.so
63
lib/libledger.so
39
%%EXAMPLESDIR%%/ledger.vim
64
lib/libledger.so.3
40
%%EXAMPLESDIR%%/sample.dat
65
man/man1/ledger.1.gz
41
%%EXAMPLESDIR%%/scripts/README
42
%%EXAMPLESDIR%%/scripts/bal
43
%%EXAMPLESDIR%%/scripts/bal-huquq
44
%%EXAMPLESDIR%%/scripts/entry
45
%%EXAMPLESDIR%%/scripts/getquote
46
%%EXAMPLESDIR%%/scripts/ledger-du
47
%%EXAMPLESDIR%%/scripts/report
48
%%EXAMPLESDIR%%/scripts/tc
49
%%EXAMPLESDIR%%/scripts/ti
50
%%EXAMPLESDIR%%/scripts/to
51
%%EXAMPLESDIR%%/scripts/trend
52
%%EXAMPLESDIR%%/setup.py

Return to bug 186518