2017-07-03 15:04:01 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 2017/07/03 13:04:01 joerg Exp $
|
2017-05-21 19:30:03 +02:00
|
|
|
|
|
|
|
.include "../../sysutils/zabbix/Makefile.common"
|
|
|
|
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-frontend-/}
|
2017-07-03 15:04:01 +02:00
|
|
|
PKGREVISION= 1
|
2017-05-21 19:30:03 +02:00
|
|
|
COMMENT= Zabbix PHP frontend
|
|
|
|
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2017-07-03 15:04:01 +02:00
|
|
|
do-configure:
|
|
|
|
${DO_NADA}
|
|
|
|
|
|
|
|
REPLACE_SH+= ${WRKSRC}/frontends/php/locale/*.sh
|
|
|
|
|
2017-05-21 19:30:03 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
BUILD_DEFS+= APACHE_GROUP APACHE_USER
|
|
|
|
PKG_GROUPS_VARS+= ${APACHE_GROUP}
|
|
|
|
PKG_USERS_VARS= ${APACHE_USER}
|
|
|
|
|
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-bcmath>=5.4.0:../../math/php-bcmath
|
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.4.0:../../graphics/php-gd
|
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-gettext>=5.4.0:../../devel/php-gettext
|
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.4.0:../../textproc/php-json
|
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-ldap>=5.4.0:../../databases/php-ldap
|
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.4.0:../../converters/php-mbstring
|
2017-06-06 11:12:59 +02:00
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=5.4.0:../../databases/php-mysqli
|
2017-05-21 19:30:03 +02:00
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5.4.0:../../databases/php-pgsql
|
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-sockets>=5.4.0:../../net/php-sockets
|
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-sysvsem>=5.4.0:../../devel/php-sysvsem
|
|
|
|
|
|
|
|
INSTALLATION_DIRS+= share/zabbix/frontend
|
|
|
|
|
|
|
|
do-install:
|
2017-07-03 15:04:01 +02:00
|
|
|
rm -f ${WRKSRC}/frontends/php/locale/*.orig
|
2017-05-21 19:30:03 +02:00
|
|
|
cd ${WRKSRC}/frontends; ${PAX} -rw php ${DESTDIR}${PREFIX}/share/zabbix/
|
|
|
|
|
|
|
|
.include "../../lang/php/phpversion.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|