# New ports collection makefile for:	farbot
# Date created:		29 November 2006
# Whom:			Nick Barkas <snb@threerings.net>
#
# $FreeBSD: ports/sysutils/farbot/Makefile,v 1.3 2007/07/30 09:41:58 alexbl Exp $

PORTNAME=	farbot
PORTVERSION=	1.0.b1
CATEGORIES=	sysutils
MASTER_SITES=	http://dpw.threerings.net/projects/farbot/
DISTNAME=	farbot-1.0-beta1

MAINTAINER=	snb@threerings.net
COMMENT=	FreeBSD Automated Release Bot

BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/ZConfig:${PORTSDIR}/devel/py-zconfig \
		${PYTHON_SITELIBDIR}/twisted:${PORTSDIR}/devel/py-twistedCore
RUN_DEPENDS=	${BUILD_DEPENDS}

WRKSRC=		${WRKDIR}/${DISTNAME}

USE_PYTHON=	2.4+
USE_PYDISTUTILS=	yes
PYDISTUTILS_PKGNAME=	farb
PYDISTUTILS_PKGVERSION=	0.1

post-install:
	${INSTALL_DATA} ${WRKSRC}/farbot.conf ${PREFIX}/etc/farbot.conf.sample

.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}/xhtml
	${INSTALL_MAN} ${WRKSRC}/docs/xhtml/* ${DOCSDIR}/xhtml
.endif

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1