4fc808df0c
PR: 210021 Submitted by: fluffy@ Reported by: mat@
39 lines
834 B
Makefile
39 lines
834 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= icingaweb2-module-businessprocess
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.2.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= net-mgmt www
|
|
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= lme@FreeBSD.org
|
|
COMMENT= Manage Business Processes in Icinga Web 2
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} \
|
|
icingaweb2-module-ipl${PHP_PKGNAMESUFFIX}>=0.1.1:net-mgmt/icingaweb2-module-ipl@${PHP_FLAVOR}
|
|
|
|
USES= php:web,flavors
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= icinga
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
|
|
NLS_USES= gettext php
|
|
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>
|