forked from NetBSD/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 50
/
Makefile
48 lines (38 loc) · 1.42 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# $NetBSD: Makefile,v 1.39 2024/12/11 23:15:43 riastradh Exp $
DISTNAME= ledger-3.3.2
PKGREVISION= 7
CATEGORIES= finance
MASTER_SITES= ${MASTER_SITE_GITHUB:=ledger/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= [email protected]
HOMEPAGE= https://ledger-cli.org/
COMMENT= Double-entry accounting system for command-line
LICENSE= modified-bsd
CONFLICTS+= ledger32>=0
USE_CXX_FEATURES+= c++11
USE_LANGUAGES= c c++
TEST_TARGET= check
TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC:Q}/${CMAKE_BUILD_DIR:Q}
TEST_ENV+= DYLD_LIBRARY_PATH=${WRKSRC:Q}/${CMAKE_BUILD_DIR:Q}
# https://github.com/ledger/ledger/issues/2332
PYTHON_VERSIONS_ACCEPTED= 311 310 # PyUnicode_GET_SIZE
CMAKE_CONFIGURE_ARGS+= -DPython_EXECUTABLE:STRING=${TOOL_PYTHONBIN:Q}
.include "options.mk"
REPLACE_PYTHON+= contrib/getquote-uk.py
REPLACE_PYTHON+= acprep
REPLACE_PYTHON+= python/demo.py
REPLACE_PYTHON+= test/DocTests.py
REPLACE_PYTHON+= test/LedgerHarness.py
REPLACE_PYTHON+= test/RegressTests.py
REPLACE_PYTHON+= test/convert.py
REPLACE_PYTHON+= tools/genuuid
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/cmake/build.mk"
.include "../../devel/editline/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/tool.mk"
.include "../../math/mpfr/buildlink3.mk"
.include "../../textproc/utf8-cpp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"