1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/net-im/py-xmpppy/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

26 lines
672 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= A Python library that provides easy scripting with Jabber
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.7.1:${PORTSDIR}/dns/py-dnspython
USE_PYTHON= yes
USE_PYDISTUTILS= yes
NO_STAGE= yes
post-patch:
@${GREP} -lr '/usr/bin/python' ${WRKSRC} | \
${XARGS} ${REINPLACE_CMD} -e "s,^#!/usr/bin/python,#!${PYTHON_CMD},"
.include <bsd.port.mk>