pkgsrc/finance/ledger/Makefile

34 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2018/01/28 16:24:13 wiz Exp $
DISTNAME= ledger-3.1.1
PKGREVISION= 6
CATEGORIES= finance
MASTER_SITES= ${MASTER_SITE_GITHUB:=ledger/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= base@atomicules.co.uk
HOMEPAGE= https://ledger-cli.org/
COMMENT= Double-entry accounting system for command-line
LICENSE= modified-bsd
USE_CMAKE= yes
USE_LANGUAGES= c++ c
GCC_REQD+= 4.8
.include "options.mk"
REPLACE_INTERPRETER+= python
REPLACE.python.old= /usr/bin/env python
REPLACE.python.new= ${PYTHONBIN}
REPLACE_FILES.python+= contrib/getquote-uk.py acprep python/demo.py
REPLACE_FILES.python+= test/DocTests.py test/LedgerHarness.py
REPLACE_FILES.python+= test/convert.py test/RegressTests.py test/convert.py
REPLACE_FILES.python+= tools/genuuid
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/editline/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../math/mpfr/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"