mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
Changelog: https://github.com/NETWAYS/icingaweb2-module-grafana/releases/tag/v3.1.0 Use default value for WWW defined in Mk/bsd.sites.mk. PR: 286095
31 lines
706 B
Makefile
31 lines
706 B
Makefile
PORTNAME= icingaweb2-module-grafana
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 3.1.0
|
|
CATEGORIES= net-mgmt www
|
|
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= dsh@bamus.cz
|
|
COMMENT= Add Grafana graphs into Icinga Web 2 to display performance metrics
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.11.4:net-mgmt/icingaweb2@${PHP_FLAVOR}
|
|
|
|
USES= php:web,flavors
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= NETWAYS
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//}
|
|
|
|
do-install:
|
|
@${RM} -r ${WRKSRC}/.idea ${WRKSRC}/.github
|
|
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
(cd ${WRKSRC} && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
|
|
|
|
.include <bsd.port.mk>
|