aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/py-xmpppy/Makefile
blob: 9baef787525c4c951269519be486b3c16e11102d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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=   2
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>