PKG_ARCH= * COMMENT= Nagios plugin to monitor PostgresQL DISTNAME= check_postgres-2.26.0 CATEGORIES= net databases MAINTAINER= Stuart Henderson HOMEPAGE= http://bucardo.org/wiki/Check_postgres SITES= http://bucardo.org/downloads/ # BSD PERMIT_PACKAGE= Yes MODULES= perl CONFIGURE_STYLE= perl TEST_DEPENDS= ${RUN_DEPENDS} \ databases/postgresql,-server RUN_DEPENDS= databases/p5-DBD-Pg pre-configure: @perl -pi -e 's,data space,data_space,g' ${WRKSRC}/t/CP_Testing.pm @${SUBST_CMD} ${WRKSRC}/check_postgres.pl INSTDIR= ${PREFIX}/libexec/nagios/ post-install: ${INSTALL_DATA_DIR} ${INSTDIR} cd ${INSTDIR} && ${PREFIX}/bin/check_postgres.pl --symlinks .include