diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2009-12-13 22:30:18 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2009-12-13 22:30:18 +0000 |
commit | 391c68d29c56317c38c9ba153c558dd36d8b62dc (patch) | |
tree | 9acac72bca2b91360000dcc1ddb2900b79b7c987 /net-mgmt/zabbix16-frontend | |
parent | 94e62a7ca7045514babb2c2994caf68e7a90b313 (diff) |
Notes
Diffstat (limited to 'net-mgmt/zabbix16-frontend')
-rw-r--r-- | net-mgmt/zabbix16-frontend/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/net-mgmt/zabbix16-frontend/Makefile b/net-mgmt/zabbix16-frontend/Makefile new file mode 100644 index 000000000000..13deef7e3ec7 --- /dev/null +++ b/net-mgmt/zabbix16-frontend/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: zabbix16-frontend +# Date created: 2009-12-10 +# Whom: Jim Riggs <ports@christianserving.org> +# +# $FreeBSD$ +# + +PORTNAME= zabbix +PKGNAMESUFFIX= -frontend + +MASTERDIR= ${.CURDIR}/../zabbix16-server + +NO_BUILD= yes +PATCHDIR= +PLIST= ${PKGDIR}/pkg-plist.frontend + +USE_PHP= bcmath gd pcre snmp sockets +WANT_PHP_WEB= yes + +OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options +OPTIONS= MYSQL "Use MySQL backend" on \ + PGSQL "Use PostgreSQL backend" off \ + SQLITE "Use SQLite backend" off + +.include <bsd.port.options.mk> + +.ifndef WITHOUT_MYSQL +USE_PHP+= mysql +.endif + +.ifdef WITH_MYSQLI +USE_PHP+= mysqli +.endif + +.ifdef WITH_PGSQL +USE_PHP+= pgsql +.endif + +.ifdef WITH_SQLITE +USE_PHP+= sqlite +.endif + +do-install: + @${INSTALL} -d ${WWWDIR} + @cd ${WRKSRC}/frontends/php/ && ${COPYTREE_SHARE} . ${WWWDIR} + +.include "${MASTERDIR}/Makefile" |