freebsd-ports/net-mgmt/icingaweb2-module-director/Makefile
Jochen Neumeister 8e7206467b net-mgmt/icinga*: - Take Maintainership
Sponsored by:	Netzkommune GmbH
2021-07-30 19:58:13 +02:00

36 lines
732 B
Makefile

PORTNAME= icingaweb2-module-director
DISTVERSIONPREFIX= v
DISTVERSION= 1.6.2
PORTREVISION= 2
CATEGORIES= net-mgmt www
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= joneum@FreeBSD.org
COMMENT= Configuration frontend for Icinga 2, integrated automation
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= icinga
NO_BUILD= yes
NO_ARCH= yes
OPTIONS_DEFINE= NLS
NLS_USES= gettext
NLS_USE= php=intl
WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//}
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && \
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>