1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/net-mgmt/zabbix32-frontend/Makefile
Danilo Egea Gondolfo 51dfd96e0f - New ports: Zabbix 3.2.0.
Zabbix is an enterprise-class open source distributed monitoring platform.

Release notes: https://www.zabbix.com/documentation/3.2/manual/introduction/whatsnew320

PR:		212799
Submitted by:	danilo
Reviewed by:	Pakhom Golynga <pg@pakhom.spb.ru>
2016-09-25 17:13:42 +00:00

52 lines
966 B
Makefile

# Created by: Pakhom Golynga <pg@pakhom.spb.ru>
# $FreeBSD$
PORTNAME= zabbix32
CATEGORIES= net-mgmt
PKGNAMESUFFIX= -frontend
MASTERDIR= ${.CURDIR}/../zabbix32-server
NO_BUILD= yes
NO_ARCH= yes
PATCHDIR=
PLIST= ${PKGDIR}/pkg-plist.frontend
USE_PHP= bcmath ctype gd pcre snmp sockets mbstring session dom xml \
xmlreader xmlwriter simplexml gettext ldap
USES+= php:web
OPTIONS_DEFINE= MYSQL MYSQLI PGSQL SQLITE ORACLE
OPTIONS_DEFAULT= MYSQL MYSQLI
MYSQLI_DESC= MySQLI backend
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
USE_PHP+= mysql
.endif
.if ${PORT_OPTIONS:MMYSQLI}
USE_PHP+= mysqli
.endif
.if ${PORT_OPTIONS:MPGSQL}
USE_PHP+= pgsql
.endif
.if ${PORT_OPTIONS:MSQLITE}
USE_PHP+= sqlite3
.endif
.if ${PORT_OPTIONS:MORACLE}
ZABBIX_REQUIRE=
CONFIGURE_ARGS+= --with-oracle
.endif
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC}/frontends/php && \
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include "${MASTERDIR}/Makefile"