1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net-im/py-xmpppy/Makefile
Wen Heping 4f2475532d - Fix the run error with python-2.6
PR:		ports/145986
Submitted by:	Thorkill <fbsd@grid.einherjar.de>
Approved by:	maintainer(timeout, > 2 weeks)
2010-05-07 07:35:39 +00:00

29 lines
748 B
Makefile

# Ports collection makefile for: py-xmpppy
# Date created: 21 April 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xmpppy
PORTVERSION= 0.5.0
PORTREVISION= 1
CATEGORIES= net-im python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}-rc1/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-${PORTVERSION}rc1
MAINTAINER= g.veniamin@googlemail.com
COMMENT= A Python library that provides easy scripting with Jabber
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.7.1:${PORTSDIR}/dns/py-dnspython
USE_PYTHON= 2.6+
USE_PYDISTUTILS= yes
post-patch:
@${GREP} -lr '/usr/bin/python' ${WRKSRC} | \
${XARGS} ${REINPLACE_CMD} -e "s,^#!/usr/bin/python,#!${PYTHON_CMD},"
.include <bsd.port.mk>