e0ac1afbf4
- Thanks to crees@ for generating the initial patch PR: ports/163521 Submitted by: Pedro Giffuni <pfg apache.org> Hat: portmgr Exp run by: pav
31 lines
814 B
Makefile
31 lines
814 B
Makefile
# Ports collection makefile for: py-kerberos
|
|
# Date created: April 23, 2011
|
|
# Whom: Roland van Laar <roland@micite.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kerberos
|
|
PORTVERSION= 1.1.1
|
|
CATEGORIES= security python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= roland@micite.net
|
|
COMMENT= Kerberos bindings for python
|
|
|
|
LICENSE= AL2
|
|
|
|
BUILD_DEPENDS= krb5-config:${PORTSDIR}/security/krb5
|
|
LIB_DEPENDS= krb5support.0:${PORTSDIR}/security/krb5
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
PYEASYINSTALL_ARCHDEP= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|krb5|${PREFIX}/bin/krb5|g' ${WRKSRC}/setup.py
|
|
@${REINPLACE_CMD} -e 's|split|replace("/usr/lib:", "").split|g' ${WRKSRC}/setup.py
|
|
@${REINPLACE_CMD} -e 's|distutils.core|setuptools|g' ${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|