aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/farbot/Makefile
blob: d281ebb40da2e8a4c163c0c9a16d0b5459bc7d37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Nick Barkas <snb@threerings.net>
# $FreeBSD$

PORTNAME=   farbot
PORTVERSION=    1.0.b2
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}
DISTNAME=   farbot-1.0-beta2

MAINTAINER= ports@FreeBSD.org
COMMENT=    FreeBSD Automated Release Bot

BUILD_DEPENDS=  ${LOCALBASE}/bin/zconfig:${PORTSDIR}/devel/py-zconfig
RUN_DEPENDS:=   ${BUILD_DEPENDS}

WRKSRC=     ${WRKDIR}/${DISTNAME}

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

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

post-install:
    ${INSTALL_DATA} ${WRKSRC}/farbot.conf ${STAGEDIR}${PREFIX}/etc/farbot.conf.sample
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${STAGEDIR}${DOCSDIR}/xhtml
    ${INSTALL_MAN} ${WRKSRC}/docs/xhtml/* ${STAGEDIR}${DOCSDIR}/xhtml
.endif

.include <bsd.port.mk>