Tweak net-mgmt/icingaweb2-module-businessprocess version 2.2.0_2
[dports.git] / net-mgmt / icingaweb2-module-idoreports / Makefile
1 PORTNAME=       icingaweb2-module-idoreports
2 DISTVERSIONPREFIX=      v
3 DISTVERSION=    0.9.0
4 PORTREVISION=   2
5 CATEGORIES=     net-mgmt www
6 PKGNAMESUFFIX=  ${PHP_PKGNAMESUFFIX}
7
8 MAINTAINER=     joneum@FreeBSD.org
9 COMMENT=        Host and service availability reports for Icinga
10
11 LICENSE=        GPLv2
12 LICENSE_FILE=   ${WRKSRC}/LICENSE
13
14 RUN_DEPENDS=    icingaweb2${PHP_PKGNAMESUFFIX}>=2.6.0:net-mgmt/icingaweb2@${PHP_FLAVOR} \
15                 icingaweb2-module-reporting${PHP_PKGNAMESUFFIX}>=0.9:net-mgmt/icingaweb2-module-reporting@${PHP_FLAVOR}
16
17 USES=           php:web,flavors
18
19 USE_GITHUB=     yes
20 GH_ACCOUNT=     icinga
21
22 NO_BUILD=       yes
23 NO_ARCH=        yes
24
25 WWWDIR?=        ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//}
26
27 do-install:
28         @${MKDIR} ${STAGEDIR}${WWWDIR}
29         (cd ${WRKSRC} && \
30                 ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
31
32 .include <bsd.port.mk>