aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/py-jabberbot/Makefile
blob: 33bdcfd628d8054c11481fbf43b226a0c473a41c (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
# 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=    Simple Jabber Bot for Python

LICENSE=    GPLv3

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

USES=       python:2
USE_PYTHON= distutils autoplist

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

.include <bsd.port.mk>