sthen 3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00

32 lines
657 B
Makefile

# $OpenBSD: Makefile,v 1.7 2021/02/23 19:39:40 sthen Exp $
COMMENT = programmable completion functions for bash
GH_PROJECT = bash-completion
GH_ACCOUNT = scop
GH_TAGNAME = 2.11
CATEGORIES = shells sysutils
# GPLv2
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_RUNDEP = No
BUILD_DEPENDS = shells/bash
TEST_DEPENDS = devel/dejagnu \
devel/py-pexpect${MODPY_FLAVOR} \
devel/py-test${MODPY_FLAVOR}
USE_GMAKE = Yes
AUTOCONF_VERSION = 2.69
AUTOMAKE_VERSION = 1.16
CONFIGURE_STYLE = autoreconf
CONFIGURE_ENV = PYTEST=py.test${MODPY_BIN_SUFFIX}
FAKE_FLAGS = sysconfdir=${PREFIX}/share/examples/bash-completion/
.include <bsd.port.mk>