freebsd-ports/net-im/py-xmpppy/Makefile
Marcus von Appen f850cf2ff0 - Convert ports of net-im/, net-mgmt/ and net-p2p/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-24 16:29:51 +00:00

24 lines
655 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= xmpppy
PORTVERSION= 0.5.0
PORTREVISION= 2
CATEGORIES= net-im python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}-rc1/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-${PORTVERSION}rc1
MAINTAINER= vg@FreeBSD.org
COMMENT= Python library that provides easy scripting with Jabber
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.7.1:${PORTSDIR}/dns/py-dnspython
USES= python
USE_PYTHON= distutils
post-patch:
@${GREP} -lr '/usr/bin/python' ${WRKSRC} | \
${XARGS} ${REINPLACE_CMD} -e "s,^#!/usr/bin/python,#!${PYTHON_CMD},"
.include <bsd.port.mk>