freebsd-ports/databases/zabbix3-libzbxpgsql/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

45 lines
1.1 KiB
Makefile

# Created by: Martin Waschbuesch <martin@waschbuesch.de>
# $FreeBSD$
PORTNAME= libzbxpgsql
PORTVERSION= 1.1.0
DISTVERSIONPREFIX= v
PORTREVISION= 3
CATEGORIES= databases
PKGNAMEPREFIX= zabbix3-
MAINTAINER= martin@waschbuesch.de
COMMENT= Zabbix agent module for comprehensive monitoring of PostgreSQL servers
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${NONEXISTENT}:net-mgmt/${PKGNAMEPREFIX}agent:patch
RUN_DEPENDS= zabbix_agentd:net-mgmt/${PKGNAMEPREFIX}agent
LIB_DEPENDS= libconfig.so:devel/libconfig
CONFLICTS= zabbix[0-9][0-9]-libzbxpgsql
USES= autoreconf gmake libtool pgsql
USE_GITHUB= yes
GH_ACCOUNT= cavaliercoder
GNU_CONFIGURE= yes
GET_ZBX_WRKSRC= cd ${.CURDIR:H:H}/net-mgmt/${PKGNAMEPREFIX}agent && make -V WRKSRC
CONFIGURE_ARGS= --with-zabbix=$$(${GET_ZBX_WRKSRC})
USE_LDCONFIG= yes
OPTIONS_DEFINE= EXAMPLES
PORTSCOUT= skipv:latest,gh-pages
do-install:
${INSTALL_LIB} ${WRKSRC}/src/.libs/libzbxpgsql.so ${STAGEDIR}${PREFIX}/lib/libzbxpgsql.so
do-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/templates/*.xml ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>