pkgsrc/finance/ledger/options.mk
riastradh c99855c7b3 Import ledger 3.1.1 from wip, with some tweaks as 3.1.1nb1.
- Fill text in DESCR.
- Use lang/python/tool.mk explicitly.
- Add options.mk for python option.  (Other extensions TBD.)
- Patch a misuse of editline.
2017-02-18 05:48:51 +00:00

14 lines
371 B
Makefile

# $NetBSD: options.mk,v 1.1 2017/02/18 05:48:51 riastradh Exp $
PKG_SUPPORTED_OPTIONS+= python
PKG_OPTIONS_VAR= PKG_OPTIONS.ledger
PLIST_VARS+= python
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mpython)
CMAKE_ARGS+= -DUSE_PYTHON:BOOL=TRUE
PLIST.python= yes
PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q}
.include "../../devel/py-boost/buildlink3.mk"
.endif