mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
9790b23f11
- Hook provided test suite to our framework PR: 240241 Approved by: maintainer timeout
34 lines
933 B
Makefile
34 lines
933 B
Makefile
# Created by: wcarey
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ledger
|
|
PORTVERSION= 3.2.1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= finance
|
|
|
|
MAINTAINER= woodycarey@hotmail.com
|
|
COMMENT= John Wiegley's command line accounting program
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
BROKEN_FreeBSD_11_powerpc64= fails to link on powerpc64 elfv1: ibledger.so.3: undefined reference to boost::match_results
|
|
BROKEN_FreeBSD_12_powerpc64= fails to link on powerpc64 elfv1: ibledger.so.3: undefined reference to boost::match_results
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/utf8.h:devel/utf8cpp
|
|
LIB_DEPENDS= libgmp.so:math/gmp \
|
|
libmpfr.so:math/mpfr \
|
|
libboost_system.so:devel/boost-libs
|
|
|
|
USES= cmake compiler:c++11-lib libedit
|
|
USE_GITHUB= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man \
|
|
-DCMAKE_INCLUDE_PATH=${LOCALBASE}/include
|
|
|
|
do-test:
|
|
@cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS}
|
|
|
|
.include <bsd.port.mk>
|