mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 02:16:27 -04:00
Add Grafana graphs into Icinga Web 2 to display performance metrics. WWW: https://github.com/Mikesch-mp/icingaweb2-module-grafana
30 lines
639 B
Makefile
30 lines
639 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= icingaweb2-module-grafana
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.1.8
|
|
CATEGORIES= net-mgmt www
|
|
|
|
MAINTAINER= lme@FreeBSD.org
|
|
COMMENT= Add Grafana graphs into Icinga Web 2 to display performance metrics
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= icingaweb2>=2.4.1:net-mgmt/icingaweb2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= mikesch-mp
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//}
|
|
|
|
do-install:
|
|
@${RM} -r ${WRKSRC}/.README.md.swp ${WRKSRC}/.github
|
|
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
(cd ${WRKSRC} && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
|
|
|
|
.include <bsd.port.mk>
|