aboutsummaryrefslogtreecommitdiff
path: root/sysutils/farbot/Makefile
blob: 8766416b9c655e1c6c8a220bfd31baf760a68b38 (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
36
37
# Created by: Nick Barkas <snb@threerings.net>
# $FreeBSD$

PORTNAME=	farbot
PORTVERSION=	1.0
DISTVERSIONPREFIX=	v
CATEGORIES=	sysutils

MAINTAINER=	portmaster@BSDforge.com
COMMENT=	FreeBSD Automated Release Bot

LICENSE=	BSD3CLAUSE

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

USE_GITHUB=	yes
GH_ACCOUNT=	threerings
GH_PROJECT=	farbot
GH_TAGNAME=	c824009

USES=		python
USE_PYTHON=	distutils autoplist
PYDISTUTILS_PKGNAME=	farb
PYDISTUTILS_PKGVERSION=	0.1
NO_ARCH=	yes

OPTIONS_DEFINE=	DOCS

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

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}/xhtml
	${INSTALL_MAN} ${WRKSRC}/docs/xhtml/* ${STAGEDIR}${DOCSDIR}/xhtml

.include <bsd.port.mk>