aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/nagios-statd
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-06-15 22:21:28 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-06-15 22:21:28 +0800
commitd6bd564768af018aea01c1591802ac66351f6d69 (patch)
tree9e13ead444379264084cd20c0e0fd368bac96b5f /sysutils/nagios-statd
parent8e8678f7b17e1286d3999c135a0d36dfeb1a1d32 (diff)
downloadfreebsd-ports-gnome-d6bd564768af018aea01c1591802ac66351f6d69.tar.gz
freebsd-ports-gnome-d6bd564768af018aea01c1591802ac66351f6d69.tar.zst
freebsd-ports-gnome-d6bd564768af018aea01c1591802ac66351f6d69.zip
- Add LICENSE
- Fix shebangs properly - Add NO_ARCH Approved by: portmgr blanket
Diffstat (limited to 'sysutils/nagios-statd')
-rw-r--r--sysutils/nagios-statd/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/nagios-statd/Makefile b/sysutils/nagios-statd/Makefile
index ed3ee42288e8..cb7831e7605e 100644
--- a/sysutils/nagios-statd/Makefile
+++ b/sysutils/nagios-statd/Makefile
@@ -3,19 +3,21 @@
PORTNAME= nagios-statd
PORTVERSION= 3.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils python net-mgmt
MASTER_SITES= http://www.twoevils.org/files/netsaint_statd/
MAINTAINER= jims@bluenotch.com
COMMENT= Daemon/client to check remote host information for Nagios
-USES= python
-USE_RC_SUBR= nagiosstatd
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/share/doc/LICENSE
-do-build:
- ${REINPLACE_CMD} -e 's,/usr/bin/python,/usr/bin/env python,' \
- ${WRKSRC}/bin/* ${WRKSRC}/sbin/*
+USES= python shebangfix
+SHEBANG_FILES= bin/nagios-stat sbin/nagios-statd
+USE_RC_SUBR= nagiosstatd
+NO_BUILD= yes
+NO_ARCH= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/nagios-stat ${STAGEDIR}${PREFIX}/bin