Fixup fromcvs/togit conversion
[pkgsrcv2.git] / devel / scmgit-base / options.mk
1 # $NetBSD: options.mk,v 1.5 2011/04/19 17:08:18 drochner Exp $
2 #
3 PKG_OPTIONS_VAR=        PKG_OPTIONS.scmgit
4 PKG_SUPPORTED_OPTIONS=  python
5 PKG_SUGGESTED_OPTIONS=  python
6
7 .include "../../mk/bsd.options.mk"
8
9 PLIST_VARS+=            python
10
11 .if !empty(PKG_OPTIONS:Mpython)
12 PY_PATCHPLIST=  yes
13 MAKE_FLAGS+=    PYTHON_PATH=${PYTHONBIN}
14 PLIST.python=           yes
15 # not executable
16 CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/git_remote_helpers/*.py
17 CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/git_remote_helpers/git/*.py
18 .include "../../lang/python/application.mk"
19 .include "../../lang/python/extension.mk"
20 .else
21 CONFIGURE_ARGS+=        --without-python
22 .endif