summaryrefslogtreecommitdiffstats
path: root/www/py-puppetboard/Makefile
blob: 57721d05205cea36518d1e87416c40d95d86d75d (plain)
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
# $FreeBSD$

PORTNAME=	puppetboard
PORTVERSION=	0.0.4
DISTVERSIONPREFIX=	v
CATEGORIES=	www python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	allanjude@FreeBSD.org
COMMENT=	Web interface to PuppetDB

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Flask>=0.10.1:${PORTSDIR}/www/py-flask \
		${PYTHON_PKGNAMEPREFIX}Flask-WTF>=0.9.4:${PORTSDIR}/www/py-flask-wtf \
		${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.19:${PORTSDIR}/textproc/py-MarkupSafe \
		${PYTHON_PKGNAMEPREFIX}pypuppetdb>=0.1.1:${PORTSDIR}/databases/py-pypuppetdb \
		${PYTHON_PKGNAMEPREFIX}requests>=2.2.1:${PORTSDIR}/www/py-requests

USE_GITHUB=	yes
GH_ACCOUNT=	puppet-community

USES=		python:2.7
USE_PYTHON=	autoplist distutils

PLIST_FILES=	"@sample etc/puppetboard/default_settings.py.sample"

post-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/puppetboard
	${CP} ${WRKSRC}/puppetboard/default_settings.py ${STAGEDIR}${PREFIX}/etc/puppetboard/default_settings.py.sample

.include <bsd.port.mk>
OpenPOWER on IntegriCloud