8953a15aa8
The main purpose of this module is to extend Icinga Director using some of it's exported hooks. Based on them it offers an Import Source able to deal with CSV, JSON, YAML and XML files. It also offers the possibility to deploy hand-crafted Icinga 2 config files through the Icinga Director. WWW: https://github.com/Icinga/icingaweb2-module-fileshipper
29 lines
578 B
Makefile
29 lines
578 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= icingaweb2-module-fileshipper
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.0.1
|
|
CATEGORIES= net-mgmt www
|
|
|
|
MAINTAINER= lme@FreeBSD.org
|
|
COMMENT= Import CSV, JSON, XML and YAML files for the Icinga Director
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= icingaweb2>=2.4.1:net-mgmt/icingaweb2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= icinga
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
(cd ${WRKSRC} && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
|
|
|
|
.include <bsd.port.mk>
|