1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/security/py-gssapi/Makefile
John W. O'Brien c561d32814 security/py-gssapi: enforce that exactly one GSSAPI_* option is set
You must set exactly one OPTION from among GSSAPI_BASE, GSSAPI_HEIMDAL,
and GSSAPI_MIT. This patch, converting that OPTION group from
RADIO to SINGLE will make the error much clearer in this case.

PR:		273769
Reported by:	Oclair <jason@aventia.pw>
MFH:		2023Q3
2023-09-22 00:56:49 -04:00

33 lines
837 B
Makefile

PORTNAME= gssapi
DISTVERSION= 1.8.3
CATEGORIES= security python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= john@saltant.com
COMMENT= High-level and low-level Python bindings to GSSAPI C libraries
WWW= https://github.com/pythongssapi/python-gssapi
LICENSE= ISCL
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR}
# Officially: 3.7-3.12
USES= python
USE_PYTHON= autoplist cython distutils
OPTIONS_SINGLE= GSSAPI
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
OPTIONS_DEFAULT= GSSAPI_BASE
GSSAPI_BASE_USES= gssapi ssl
GSSAPI_HEIMDAL_USES= gssapi:heimdal
GSSAPI_MIT_USES= gssapi:mit
MAKE_ENV+= GSSAPI_KRB5CONFIG=${KRB5CONFIG}
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} -type f -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>