ea8c8ec7da
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
37 lines
1,013 B
Makefile
37 lines
1,013 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= check_postgres_replication
|
|
PORTVERSION= 2010.12.16
|
|
PORTREVISION= 3
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= https://gist.github.com/raw/743942/4b9454d6aaf919fe77d15ecea09c7a001ae83b59/ \
|
|
LOCAL/brooks
|
|
PKGNAMEPREFIX= nagios-
|
|
DISTNAME= check_postgres_replication.py
|
|
EXTRACT_SUFX= # empty
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Nagios plugin to check the lag between a postgresql replica and master
|
|
|
|
LICENSE= MIT
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nagiosplugin>=0:sysutils/py-nagiosplugin@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR}
|
|
|
|
USES= python shebangfix
|
|
SHEBANG_FILES= check_postgres_replication.py
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
PLIST_FILES= libexec/nagios/check_postgres_replication
|
|
|
|
do-extract:
|
|
@${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
|
|
${STAGEDIR}${PREFIX}/libexec/nagios/${DISTNAME:S/.py//}
|
|
|
|
.include <bsd.port.mk>
|