1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/net-mgmt/zabbix2-frontend/Makefile
Danilo G. Baio 97fa7442aa net-mgmt/zabbix2-*: Update to 2.0.21, Mark as deprecated
Mark as deprecated due to being marked end of life upstream
since August, 2017. This will be the last update.

https://www.zabbix.com/life_cycle_and_release_policy

Changes:	https://www.zabbix.com/rn/rn2.0.21

PR:		229588
Approved by:	Pakhom Golynga <pg@pakhom.spb.ru> (maintainer)
2018-07-09 14:06:32 +00:00

42 lines
889 B
Makefile

# Created by: Jim Riggs <ports@christianserving.org>
# $FreeBSD$
PORTNAME= zabbix2
PKGNAMESUFFIX= -frontend
CATEGORIES= net-mgmt
MASTERDIR= ${.CURDIR}/../zabbix2-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
MYSQL_VARS= IGNORE_WITH_PHP+="70 71 72"
MYSQL_USE= PHP=mysql
MYSQLI_USE= PHP=mysqli
PGSQL_USE= PHP=pgsql
SQLITE_USE= PHP=sqlite3
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MORACLE}
ZABBIX_REQUIRE=
CONFIGURE_ARGS+= --with-oracle
.endif
do-install:
@${INSTALL} -d ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC}/frontends/php/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
.include "${MASTERDIR}/Makefile"