summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--finance/ledger/Makefile12
-rw-r--r--finance/ledger/options.mk7
2 files changed, 10 insertions, 9 deletions
diff --git a/finance/ledger/Makefile b/finance/ledger/Makefile
index d323eb98c31..b4594abccd7 100644
--- a/finance/ledger/Makefile
+++ b/finance/ledger/Makefile
@@ -1,19 +1,17 @@
-# $NetBSD: Makefile,v 1.3 2017/08/24 20:03:13 adam Exp $
+# $NetBSD: Makefile,v 1.4 2017/09/06 21:08:09 wiz Exp $
-GITHUB_PROJECT= ledger
-VERSION= 3.1.1
-PKGREVISION= 3
-DISTNAME= ledger-${VERSION}
+DISTNAME= ledger-3.1.1
+PKGREVISION= 4
CATEGORIES= finance
MASTER_SITES= ${MASTER_SITE_GITHUB:=ledger/}
-GITHUB_TAG= v${VERSION}
+GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= base@atomicules.co.uk
HOMEPAGE= http://ledger-cli.org/
COMMENT= Double-entry accounting system for command-line
LICENSE= modified-bsd
-USE_CMAKE= YES
+USE_CMAKE= yes
USE_LANGUAGES= c++ c
GCC_REQD+= 4.8
diff --git a/finance/ledger/options.mk b/finance/ledger/options.mk
index 1c9d7091504..a74349b98ec 100644
--- a/finance/ledger/options.mk
+++ b/finance/ledger/options.mk
@@ -1,7 +1,9 @@
-# $NetBSD: options.mk,v 1.1 2017/02/18 05:48:51 riastradh Exp $
+# $NetBSD: options.mk,v 1.2 2017/09/06 21:08:09 wiz Exp $
-PKG_SUPPORTED_OPTIONS+= python
PKG_OPTIONS_VAR= PKG_OPTIONS.ledger
+PKG_SUPPORTED_OPTIONS+= python
+PKG_SUGGESTED_OPTIONS+= python
+
PLIST_VARS+= python
.include "../../mk/bsd.options.mk"
@@ -10,5 +12,6 @@ PLIST_VARS+= python
CMAKE_ARGS+= -DUSE_PYTHON:BOOL=TRUE
PLIST.python= yes
PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q}
+PYTHON_VERSIONS_ACCEPTED= 27 # as of 3.1.1
.include "../../devel/py-boost/buildlink3.mk"
.endif