# New ports collection makefile for: py-jabberbot # Date created: 2010-04-04 # Whom: Gvozdikov Veniamin # # $FreeBSD$ # PORTNAME= jabberbot PORTVERSION= 0.15 CATEGORIES= net-im python MASTER_SITES= SF/pythonjabberbot/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= g.veniamin@googlemail.com COMMENT= A simple Jabber Bot for Python LICENSE= GPLv3 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xmpppy>0:${PORTSDIR}/net-im/py-xmpppy USE_PYTHON= -2.7 USE_PYDISTUTILS= yes PLIST_FILES= %%PYTHON_SITELIBDIR%%/jabberbot.py \ %%PYTHON_SITELIBDIR%%/jabberbot.pyc \ %%PYTHON_SITELIBDIR%%/jabberbot.pyo post-patch: @${GREP} -lr '/usr/bin/python' ${WRKSRC} | \ ${XARGS} ${REINPLACE_CMD} -e "s,^#!/usr/bin/python,#!${PYTHON_CMD}," .include