pkgsrc/security/py-gssapi/Makefile

36 lines
914 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.7 2017/12/06 12:19:43 adam Exp $
DISTNAME= gssapi-1.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gssapi/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pypi.python.org/pypi/gssapi
COMMENT= Low-level and high-level wrappers around GSSAPI C libraries
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
DEPENDS+= ${PYPKGPREFIX}-six>=1.4.0:../../lang/py-six
.include "../../lang/python/distutils.mk"
.if ${PYVERSSUFFIX} == "2.7"
DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
.endif
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= mitkrb posix
# On Darwin, py-gssapi uses -framework GSS
.if ${OPSYS} != "Darwin"
PLIST.posix= yes
. include "../../mk/krb5.buildlink3.mk"
. if ${KRB5_TYPE} == "mit-krb5"
PLIST.mitkrb= yes
. endif
.endif
.include "../../mk/bsd.pkg.mk"