mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
30 lines
709 B
Makefile
30 lines
709 B
Makefile
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jabberbot
|
|
PORTVERSION= 0.15
|
|
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.7
|
|
USE_PYDISTUTILS= yes
|
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/jabberbot.py \
|
|
%%PYTHON_SITELIBDIR%%/jabberbot.pyc \
|
|
%%PYTHON_SITELIBDIR%%/jabberbot.pyo
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
@${GREP} -lr '/usr/bin/python' ${WRKSRC} | \
|
|
${XARGS} ${REINPLACE_CMD} -e "s,^#!/usr/bin/python,#!${PYTHON_CMD},"
|
|
|
|
.include <bsd.port.mk>
|