Tweak finance/ledger version 3.2.1_1
[dports.git] / finance / ledger / Makefile
1 # Created by: wcarey
2
3 PORTNAME=       ledger
4 PORTVERSION=    3.2.1
5 PORTREVISION=   1
6 DISTVERSIONPREFIX=      v
7 CATEGORIES=     finance
8
9 MAINTAINER=     woodycarey@hotmail.com
10 COMMENT=        John Wiegley's command line accounting program
11
12 LICENSE=        BSD3CLAUSE
13 LICENSE_FILE=   ${WRKSRC}/LICENSE.md
14
15 BROKEN_FreeBSD_11_powerpc64=    fails to link on powerpc64 elfv1: ibledger.so.3: undefined reference to boost::match_results
16 BROKEN_FreeBSD_12_powerpc64=    fails to link on powerpc64 elfv1: ibledger.so.3: undefined reference to boost::match_results
17
18 BUILD_DEPENDS=  ${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp
19 LIB_DEPENDS=    libgmp.so:math/gmp \
20                 libmpfr.so:math/mpfr \
21                 libboost_system.so:devel/boost-libs
22
23 USES=           cmake compiler:c++11-lib libedit
24 USE_GITHUB=     yes
25 USE_LDCONFIG=   yes
26
27 CMAKE_ARGS=     -DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man \
28                 -DCMAKE_INCLUDE_PATH=${LOCALBASE}/include
29
30 do-test:
31         @cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS}
32
33 .include <bsd.port.mk>