aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/zabbix54-frontend/Makefile
blob: b70eaac36074e77bcfc95aa2786c9918e34c4a96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
PORTNAME=	zabbix54
PORTREVISION=	0
CATEGORIES=	net-mgmt
PKGNAMESUFFIX=	-frontend

MASTERDIR=	${.CURDIR}/../${PORTNAME}-server

NO_BUILD=	yes
NO_ARCH=	yes
PATCHDIR=
PLIST=		${PKGDIR}/pkg-plist.frontend

USE_PHP=	bcmath ctype dom fileinfo filter gd gettext hash json ldap mbstring \
		openssl pcre session simplexml snmp sockets xml xmlreader xmlwriter
USES+=		php:web

OPTIONS_DEFINE=		MYSQLI PGSQL ORACLE
OPTIONS_DEFAULT=	MYSQLI
MYSQLI_DESC=		MySQLI backend

MYSQLI_USE=	PHP=mysqli

PGSQL_USE=	PHP=pgsql

ORACLE_CONFIGURE_WITH=	oracle

do-install:
	@${MKDIR} ${STAGEDIR}${WWWDIR}
	(cd ${WRKSRC}/ui && \
		${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})

.include "${MASTERDIR}/Makefile"