mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
992c97efcf
- Provide correct sample config files - Put pid file under /var/run/zabbix and default log file into /var/log/zabbix directory. Create the directories as needed. - Bump PKGREVISION for agent, proxy and server components only. PR: 258076
33 lines
681 B
Makefile
33 lines
681 B
Makefile
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"
|