mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
34 lines
707 B
Makefile
34 lines
707 B
Makefile
# Created by: Pakhom Golynga <pg@pakhom.spb.ru>
|
|
|
|
PORTNAME= zabbix4
|
|
CATEGORIES= net-mgmt
|
|
PKGNAMESUFFIX= -frontend
|
|
|
|
MASTERDIR= ${.CURDIR}/../zabbix4-server
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
PATCHDIR=
|
|
PLIST= ${PKGDIR}/pkg-plist.frontend
|
|
|
|
USE_PHP= bcmath ctype dom fileinfo filter gd gettext json ldap mbstring 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}/frontends/php && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
|
|
|
|
.include "${MASTERDIR}/Makefile"
|