Update editors/libreoffice-tt to version 5.2.5
[dports.git] / net-mgmt / zabbix3-frontend / Makefile
1 # Created by: Pakhom Golynga <pg@pakhom.spb.ru>
2 # $FreeBSD$
3
4 PORTNAME=       zabbix3
5 CATEGORIES=     net-mgmt
6 PKGNAMESUFFIX=  -frontend
7
8 MAINTAINER=     pg@pakhom.spb.ru
9 COMMENT=        Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) LTS
10
11 LICENSE=        GPLv2
12
13 MASTERDIR=      ${.CURDIR}/../zabbix3-server
14
15 NO_BUILD=       yes
16 NO_ARCH=        yes
17 PATCHDIR=
18 PLIST=          ${PKGDIR}/pkg-plist.frontend
19
20 USE_PHP=        bcmath ctype gd pcre snmp sockets mbstring session dom xml \
21                 xmlreader xmlwriter simplexml gettext ldap
22
23 USES=   php:web gettext
24
25 OPTIONS_DEFINE=         MYSQL MYSQLI PGSQL SQLITE ORACLE
26 OPTIONS_DEFAULT=        MYSQLI
27 MYSQLI_DESC=            MySQLI backend
28
29 .include <bsd.port.options.mk>
30
31 .if ${PORT_OPTIONS:MMYSQL}
32 USE_PHP+=       mysql
33 .endif
34
35 .if ${PORT_OPTIONS:MMYSQLI}
36 USE_PHP+=       mysqli
37 .endif
38
39 .if ${PORT_OPTIONS:MPGSQL}
40 USE_PHP+=       pgsql
41 .endif
42
43 .if ${PORT_OPTIONS:MSQLITE}
44 USE_PHP+=       sqlite3
45 .endif
46
47 .if ${PORT_OPTIONS:MORACLE}
48 ZABBIX_REQUIRE=
49 CONFIGURE_ARGS+=        --with-oracle
50 .endif
51
52 do-install:
53         @${MKDIR} ${STAGEDIR}${WWWDIR}
54         (cd ${WRKSRC}/frontends/php && \
55                 ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
56
57 .include "${MASTERDIR}/Makefile"