summaryrefslogtreecommitdiff
path: root/finance/ledger/Makefile
blob: 614003e856577c7bfc6ada26f75c3da3f9f3a68f (plain)
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
# Created by: wcarey
# $FreeBSD$

PORTNAME=	ledger
PORTVERSION=	3.1.1
DISTVERSIONPREFIX=	v
PORTREVISION=	17
CATEGORIES=	finance

PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES=	c18a55f9ef99.patch:-p1

MAINTAINER=	woodycarey@hotmail.com
COMMENT=	John Wiegley's command line accounting program

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE.md

BUILD_DEPENDS=	${LOCALBASE}/include/utf8.h:devel/utf8cpp
LIB_DEPENDS=	libgmp.so:math/gmp \
		libmpfr.so:math/mpfr \
		libboost_system.so:devel/boost-libs

BROKEN_powerpc64=	fails to link: ibledger.so.3: undefined reference to boost::match_results

USE_GITHUB=	yes

USE_LDCONFIG=	yes
USES=		cmake compiler:c++11-lib libedit

CMAKE_ARGS=	-DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man \
		-DCMAKE_INCLUDE_PATH=${LOCALBASE}/include

.include <bsd.port.mk>