Update finance/ledger to version 3.1
[dports.git] / finance / ledger / Makefile
1 # Created by: wcarey
2 # $FreeBSD$
3
4 PORTNAME=       ledger
5 PORTVERSION=    3.1
6 CATEGORIES=     finance
7
8 MAINTAINER=     woodycarey@hotmail.com
9 COMMENT=        John Wiegley's command line accounting program
10
11 LICENSE=        BSD3CLAUSE
12 LICENSE_FILE=   ${WRKSRC}/doc/LICENSE
13
14 BUILD_DEPENDS=  ${LOCALBASE}/include/utf8.h:${PORTSDIR}/devel/utf8cpp
15 LIB_DEPENDS=    libgmp.so:${PORTSDIR}/math/gmp \
16                 libmpfr.so:${PORTSDIR}/math/mpfr \
17                 libedit.so.0:${PORTSDIR}/devel/libedit \
18                 libboost_system.so:${PORTSDIR}/devel/boost-libs
19
20 USE_GITHUB=     yes
21 GH_ACCOUNT=     ledger
22 GH_TAGNAME=     v${PORTVERSION}
23 GH_COMMIT=      9df7fd4
24
25 USE_LDCONFIG=   yes
26 USES=           cmake compiler:c++11-lib
27
28 CMAKE_ARGS+=    -DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man \
29                 -DCMAKE_INCLUDE_PATH=${LOCALBASE}/include
30
31 .include <bsd.port.mk>