Simplify. Mark as only working with python-2.x, and enable python by

default.
Bump PKGREVISION.
This commit is contained in:
wiz 2017-09-06 21:08:09 +00:00
parent eb4fe0f27f
commit 8b491f4178
2 changed files with 10 additions and 9 deletions

View file

@ -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

View file

@ -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