ports/finance/ledger/Makefile
Dima Panov 67fb95fb3b
devel/boost: bump consumers after boost upgrade (+)
Get rid of direct dependency ob libbost_system.so, use libboost_thread.so instead
2025-10-20 14:48:39 +03:00

40 lines
1014 B
Makefile

PORTNAME= ledger
DISTVERSIONPREFIX= v
DISTVERSION= 3.3.2
PORTREVISION= 6
CATEGORIES= finance
MAINTAINER= woodycarey@hotmail.com
COMMENT= John Wiegley's command line accounting program
WWW= https://ledger-cli.org/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= utf8cpp>=0:devel/utf8cpp
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libgmp.so:math/gmp \
libmpfr.so:math/mpfr
USES= cmake compiler:c++11-lib cpe libedit
CPE_VENDOR= ${PORTNAME}-cli
USE_GITHUB= yes
USE_LDCONFIG= yes
OPTIONS_DEFINE= GNUPG PYTHON
OPTIONS_SUB= yes
GNUPG_LIB_DEPENDS= libgpgme.so:security/gpgme \
libgpgmepp.so:security/gpgmepp
GNUPG_CMAKE_BOOL= USE_GPGME
PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boost-libs>0:devel/boost-python-libs@${PY_FLAVOR}
PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boost-libs>0:devel/boost-python-libs@${PY_FLAVOR}
PYTHON_USES= python
PYTHON_CMAKE_BOOL= USE_PYTHON
do-test:
@cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS}
.include <bsd.port.mk>