freebsd-ports/finance/ledger/Makefile
2019-12-11 17:53:48 +00:00

34 lines
827 B
Makefile

# Created by: wcarey
# $FreeBSD$
PORTNAME= ledger
PORTVERSION= 3.1.1
DISTVERSIONPREFIX= v
PORTREVISION= 18
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>