freebsd-ports/net-mgmt/icingaweb2-module-idoreports/Makefile
Lars Engels 4fc808df0c Fix dependency syntax
PR:		210021
Submitted by:	fluffy@
Reported by:	mat@
2019-12-18 10:10:45 +00:00

34 lines
783 B
Makefile

# $FreeBSD$
PORTNAME= icingaweb2-module-idoreports
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0
PORTREVISION= 2
CATEGORIES= net-mgmt www
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= lme@FreeBSD.org
COMMENT= Host and service availability reports for Icinga
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.6.0:net-mgmt/icingaweb2@${PHP_FLAVOR} \
icingaweb2-module-reporting${PHP_PKGNAMESUFFIX}>=0.9:net-mgmt/icingaweb2-module-reporting@${PHP_FLAVOR}
USES= php:web,flavors
USE_GITHUB= yes
GH_ACCOUNT= icinga
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 <bsd.port.mk>