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:${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 |
22 |
USE_LDCONFIG= yes |
21 |
GH_ACCOUNT= ledger |
23 |
GNU_CONFIGURE= yes |
22 |
GH_TAGNAME= v${PORTVERSION} |
24 |
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/w3c-libwww |
23 |
GH_COMMIT= 9df7fd4 |
25 |
LDFLAGS+= -L${LOCALBASE}/lib |
|
|
26 |
|
24 |
|
27 |
SUB_FILES= pkg-message |
25 |
USES= cmake |
28 |
|
26 |
|
29 |
INSTALL_TARGET= install-strip |
27 |
CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man |
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 |
|
28 |
|
40 |
.include <bsd.port.mk> |
29 |
.include <bsd.port.mk> |