1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/irc/py-gozerbot/Makefile
Martin Wilke 76cde93983 gozerbot is a modular Python IRC and Jabber bot
Features:
    * user management by userhost .. bot will not respond if it doesn't know you
    * fleet .. use more than one bot in a program (list of bots)
    * use the bot through dcc chat .. partyline
    * fetch rss feeds.
    * keep todo and shop lists
    * karma
    * quote
    * remember items
    * relaying between bots
    * program your own plugins
    * other stuff

WWW: http://www.gozerbot.org/

PR:		ports/116456
Submitted by:	Sten Spans <sten at blinkenlights.nl>
2007-10-06 10:08:52 +00:00

59 lines
1.5 KiB
Makefile

# New ports collection makefile for: py-gozerbot
# Date created: Wed Sep 19 00:04:39 CEST 2007
# Whom: Sten Spans <sten@blinkenlights.nl>
#
# $FreeBSD$
#
PORTNAME= gozerbot
PORTVERSION= 0.7.1.1
CATEGORIES= irc python
MASTER_SITES= http://gozerbot.org/media/tarball/ http://gozerbot.googlecode.com/files/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= gozerbot-${PORTVERSION}
MAINTAINER= sten@blinkenlights.nl
COMMENT= Gozerbot - A modular Python IRC and Jabber bot
USE_PYTHON= 2.4+
USE_PYDISTUTILS= yes
PYDISTUTILS_EGGINFO= gozerbot-GOZERBOT.${PORTVERSION}-py${PYTHON_VER}.egg-info
SUB_FILES= pkg-message
OPTIONS= XMPP "Jabber functions" off \
MYSQL "Mysql functions" off
LATEST_LINK= ${PKGNAMESUFFIX}-${PORTNAME}
OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
MAN1= gozerbot.1
DOCS=BASIC COLLECTIVE FAQ FLEET FLOW JABBER \
OPER PROGRAMPLUGIN RELAY RSS \
THNX TOURDECODE UDP UPGRADE USER WEBSERVER
post-install:
.if !defined(BATCH)
@${SED} -e 's:%%PREFIX%%:${PREFIX}:g'
.endif
@${CAT} ${PKGMESSAGE}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${INSTALL_MAN} ${WRKSRC}/man/gozerbot.1.FreeBSD ${PREFIX}/man/man1/gozerbot.1
.include <bsd.port.pre.mk>
.if defined(WITH_MYSQL)
RUN_DEPENDS+=${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb
.endif
.if defined(WITH_XMPP)
RUN_DEPENDS+=${PYTHON_SITELIBDIR}/xmpp/__init__.py:${PORTSDIR}/net-im/py-xmpppy
.endif
.include <bsd.port.post.mk>