blob: 45a0e8c3766876efbb756eeee5dfd7e342b75257 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
PORTNAME= icingaweb2-module-grafana
DISTVERSIONPREFIX= v
DISTVERSION= 1.3.6
PORTREVISION= 1
CATEGORIES= net-mgmt www
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
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${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR}
USES= php:web,flavors
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}/.idea ${WRKSRC}/.github
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && \
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>
|