1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/www/py-puppetboard/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

35 lines
1.0 KiB
Makefile

# $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:www/py-flask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Flask-WTF>=0.9.4:www/py-flask-wtf@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.19:textproc/py-MarkupSafe@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pypuppetdb>=0.1.1:databases/py-pypuppetdb@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.2.1:www/py-requests@${PY_FLAVOR}
CONFLICTS_INSTALL=puppetboard02-* puppetboard03-*
USE_GITHUB= yes
GH_ACCOUNT= voxpupuli
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>