mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
9cc105ad6b
while here: - strict python version to 2.x only - move pkg-plist contents to PLIST_FILES - tab -> space in pkg-descr:WWW - use PYTHON_PKGNAMEPREFIX in dependency PR: 170475 Submitted by: Veniamin Gvozdikov <g.veniamin at googlemail dot com> (maintainer)
33 lines
784 B
Makefile
33 lines
784 B
Makefile
# New ports collection makefile for: py-jabberbot
|
|
# Date created: 2010-04-04
|
|
# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com>
|
|
#
|
|
# $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 <bsd.port.mk>
|