aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/py-jabberbot/Makefile
blob: f55e4677d507fbf3609f347ca6055f550d6b9c2b (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
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# $FreeBSD$

PORTNAME=   jabberbot
PORTVERSION=    0.15
PORTREVISION=   1
CATEGORIES= net-im python
MASTER_SITES=   SF/pythonjabberbot/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= vg@FreeBSD.org
COMMENT=    A simple Jabber Bot for Python

LICENSE=    GPLv3

BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}xmpppy>0:${PORTSDIR}/net-im/py-xmpppy

USE_PYTHON= 2
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes

post-patch:
    @${GREP} -lr '/usr/bin/python' ${WRKSRC} | \
        ${XARGS} ${REINPLACE_CMD} -e "s,^#!/usr/bin/python,#!${PYTHON_CMD},"

.include <bsd.port.mk>