aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-07-13 00:07:15 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-07-13 00:07:15 +0800
commitd2ce9b8a28ce3979b62a4b7fca235c8f2a5b03fb (patch)
tree8a1ab72b49ccd6ff30c465f49deff7414fcb9380 /databases
parent1bf2dcd553f3cc7162199cf04a29f27e6c99adc0 (diff)
downloadfreebsd-ports-gnome-d2ce9b8a28ce3979b62a4b7fca235c8f2a5b03fb.tar.gz
freebsd-ports-gnome-d2ce9b8a28ce3979b62a4b7fca235c8f2a5b03fb.tar.zst
freebsd-ports-gnome-d2ce9b8a28ce3979b62a4b7fca235c8f2a5b03fb.zip
- Add LICENSE
- Add NO_ARCH - Use PLIST_FILES instead of PLIST
Diffstat (limited to 'databases')
-rw-r--r--databases/nagios-check_postgres_replication/Makefile10
-rw-r--r--databases/nagios-check_postgres_replication/pkg-plist1
2 files changed, 7 insertions, 4 deletions
diff --git a/databases/nagios-check_postgres_replication/Makefile b/databases/nagios-check_postgres_replication/Makefile
index 91484524c685..225509f4ff97 100644
--- a/databases/nagios-check_postgres_replication/Makefile
+++ b/databases/nagios-check_postgres_replication/Makefile
@@ -12,13 +12,17 @@ EXTRACT_SUFX=
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:${PORTSDIR}/sysutils/py-nagiosplugin \
${PYTHON_PKGNAMEPREFIX}psycopg2>=0:${PORTSDIR}/databases/py-psycopg2
-USES= pgsql python
-
-NO_WRKSUBDIR= yes
+NO_ARCH= yes
NO_BUILD= yes
+NO_WRKSUBDIR= yes
+USES= pgsql python
+
+PLIST_FILES= libexec/nagios/check_postgres_replication
do-extract:
${MKDIR} ${WRKDIR}
diff --git a/databases/nagios-check_postgres_replication/pkg-plist b/databases/nagios-check_postgres_replication/pkg-plist
deleted file mode 100644
index 9427c9b65057..000000000000
--- a/databases/nagios-check_postgres_replication/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-libexec/nagios/check_postgres_replication