freebsd-ports/www/py-puppetboard/Makefile
Romain Tartière adcd4b94c9 New port for Puppetboard 0.2
Puppetboard depends on pypuppetdb>=0.3, so:

  - copy databases/py-pypuppetdb to databases/py-pypuppetdb03;
  - update databases/py-pypuppetdb03 to 0.3.1;
  - copy www/py-puppetboard to www/py-puppetboard02;
  - update www/py-puppetboard02 to 0.2.0;
  - register conflicts between these ports;
  - take maintainership of new ports.

While here:

  - Update projects account.

PR:		211604 [1], 211918 [2]
Submitted by:	neel@neelc.org [1], romain [2]
2016-10-15 07:28:38 +00:00

34 lines
969 B
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 \
${PYTHON_PKGNAMEPREFIX}Flask-WTF>=0.9.4:www/py-flask-wtf \
${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.19:textproc/py-MarkupSafe \
${PYTHON_PKGNAMEPREFIX}pypuppetdb>=0.1.1:databases/py-pypuppetdb \
${PYTHON_PKGNAMEPREFIX}requests>=2.2.1:www/py-requests
CONFLICTS_INSTALL=puppetboard02-*
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>