PORTNAME= icingaweb2-module-reporting DISTVERSIONPREFIX= v DISTVERSION= 1.0.1 PORTREVISION= 0 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= joneum@FreeBSD.org COMMENT= Reporting module for Icinga Web 2 WWW= https://github.com/Icinga/icingaweb2-module-reporting LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.12.1:net-mgmt/icingaweb2@${PHP_FLAVOR} \ icingaweb2-module-reactbundle${PHP_PKGNAMESUFFIX}>=0.9.0:net-mgmt/icingaweb2-module-reactbundle@${PHP_FLAVOR} \ icinga-php-library${PHP_PKGNAMESUFFIX}>=0.13.1:net-mgmt/icinga-php-library@${PHP_FLAVOR} USES= php:web,flavors USE_GITHUB= yes GH_ACCOUNT= icinga OPTIONS_DEFINE= PDF PDF_DESC= Use Chromium to export PDFs OPTIONS_DEFAULT= PDF PDF_RUN_DEPENDS= icingaweb2-module-pdfexport${PHP_PKGNAMESUFFIX}>=0.9:net-mgmt/icingaweb2-module-pdfexport@${PHP_FLAVOR} 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