- Remove easy_install dependency - Convert to PYDISTUTILS_AUTOPLIST - Bump PORTREVISION to enforce a cleanup for the easy_install references With hat: python@ Approved by: portmgr (implicit)
27 lines
673 B
Makefile
27 lines
673 B
Makefile
# Created by: Roland van Laar <roland@micite.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kerberos
|
|
PORTVERSION= 1.1.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= security python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= roland@micite.net
|
|
COMMENT= Kerberos bindings for python
|
|
|
|
LICENSE= APACHE20
|
|
|
|
BUILD_DEPENDS= krb5-config:${PORTSDIR}/security/krb5
|
|
LIB_DEPENDS= krb5support.0:${PORTSDIR}/security/krb5
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= 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
|
|
|
|
.include <bsd.port.mk>
|