2004-03-10 16:53:16 +01:00
|
|
|
# New ports collection makefile for: py-supybot
|
|
|
|
# Date created: 01 March 2004
|
|
|
|
# Whom: Tim Middleton <x@vex.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= supybot
|
2005-04-05 20:22:40 +02:00
|
|
|
PORTVERSION= 0.80.1
|
2004-03-10 16:53:16 +01:00
|
|
|
CATEGORIES= irc python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= supybot
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= Supybot-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= x@Vex.Net
|
|
|
|
COMMENT= Supybot - A Superb Python IRC bot
|
|
|
|
|
2004-04-08 08:56:17 +02:00
|
|
|
USE_PYTHON= 2.3+
|
2004-03-10 16:53:16 +01:00
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
|
2005-04-05 20:22:40 +02:00
|
|
|
DOCS= ACKS BUGS ChangeLog DEVS INSTALL LICENSE README RELNOTES TODO
|
|
|
|
|
|
|
|
MANCOMPRESSED= no
|
|
|
|
MAN1= supybot.1 supybot-adduser.1 supybot-newplugin.1 supybot-wizard.1
|
2004-03-10 16:53:16 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-04-05 20:22:40 +02:00
|
|
|
.for f in ${MAN1}
|
|
|
|
@${CP} ${WRKSRC}/docs/man/${f} ${PREFIX}/man/man1/
|
|
|
|
.endfor
|
2004-03-10 16:53:16 +01:00
|
|
|
.for f in ${DOCS}
|
2004-04-30 10:45:19 +02:00
|
|
|
@${CP} ${WRKSRC}/${f} ${DOCSDIR}/
|
2004-03-10 16:53:16 +01:00
|
|
|
.endfor
|
2004-04-30 10:45:19 +02:00
|
|
|
@${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}/
|
2004-03-10 16:53:16 +01:00
|
|
|
.endif
|
|
|
|
.if !defined(BATCH)
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|