mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
0b80f7727c
net-mgmt/zabbix-{agent,frontend,proxy,server} [1] - Convert to optionsNG - Remove the need for SQL patches by using REINPLACE - Remove manual installation of config files. - Change config include directories from dirrm to dirrmtry in pkg-plist - users may put files there. PR: ports/169153 [1] Submitted by: Pakhom Golynga <pakhom706@gmail.com> (maintainer) Approved by: flo (mentor)
50 lines
964 B
Makefile
50 lines
964 B
Makefile
# New ports collection makefile for: zabbix-frontend
|
|
# Date created: 2009-12-09
|
|
# Whom: Jim Riggs <ports@christianserving.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= zabbix2
|
|
PKGNAMESUFFIX= -frontend
|
|
|
|
MASTERDIR= ${.CURDIR}/../zabbix2-server
|
|
|
|
NO_BUILD= yes
|
|
PATCHDIR=
|
|
PLIST= ${PKGDIR}/pkg-plist.frontend
|
|
|
|
USE_PHP= bcmath ctype gd pcre snmp sockets mbstring session dom xml \
|
|
xmlreader xmlwriter
|
|
IGNORE_WITH_PHP= 4
|
|
WANT_PHP_WEB= yes
|
|
|
|
OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options
|
|
OPTIONS_DEFINE= MYSQL MYSQLI PGSQL SQLITE
|
|
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
|
|
|
|
do-install:
|
|
@${INSTALL} -d ${WWWDIR}
|
|
@cd ${WRKSRC}/frontends/php/ && ${COPYTREE_SHARE} . ${WWWDIR}
|
|
|
|
.include "${MASTERDIR}/Makefile"
|