freebsd-ports/security/py-gssapi/Makefile

32 lines
791 B
Makefile

PORTNAME= gssapi
DISTVERSION= 1.7.3
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= john@saltant.com
COMMENT= High-level and low-level Python bindings to GSSAPI C libraries
LICENSE= ISCL
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR}
# Officially: 3.6-3.10
USES= python:3.6-3.10
USE_PYTHON= distutils autoplist
OPTIONS_RADIO= GSSAPI
OPTIONS_RADIO_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>