From 0cdffc383722c5e83a105ee4781b91158f472c1e Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 6 Sep 2017 21:08:09 +0000 Subject: Simplify. Mark as only working with python-2.x, and enable python by default. Bump PKGREVISION. --- finance/ledger/Makefile | 12 +++++------- finance/ledger/options.mk | 7 +++++-- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'finance') 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 -- cgit v1.2.3