summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/nagios-check_smartmon/Makefile11
-rw-r--r--net-mgmt/nagios-check_smartmon/pkg-plist1
2 files changed, 9 insertions, 3 deletions
diff --git a/net-mgmt/nagios-check_smartmon/Makefile b/net-mgmt/nagios-check_smartmon/Makefile
index 419809df397d..eba8a3be6618 100644
--- a/net-mgmt/nagios-check_smartmon/Makefile
+++ b/net-mgmt/nagios-check_smartmon/Makefile
@@ -5,16 +5,23 @@ PORTNAME= check_smartmon
PORTVERSION= 20100318
PORTREVISION= 2
CATEGORIES= net-mgmt
-MASTER_SITES= http://nognu.de/s/FreeBSD/distfiles/
+MASTER_SITES= http://ftp.bsdserwis.com/pub/FreeBSD/ports/distfiles/
PKGNAMEPREFIX= nagios-
MAINTAINER= ports@bsdserwis.com
COMMENT= Nagios plug-in to get status from smartmontools
+LICENSE= GPLv2+
+
RUN_DEPENDS= ${LOCALBASE}/sbin/smartctl:${PORTSDIR}/sysutils/smartmontools
-USES= python
+USES= python shebangfix
NO_BUILD= yes
+NO_ARCH= yes
+
+SHEBANG_FILES= check_smartmon
+
+PLIST_FILES= libexec/nagios/check_smartmon
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
diff --git a/net-mgmt/nagios-check_smartmon/pkg-plist b/net-mgmt/nagios-check_smartmon/pkg-plist
deleted file mode 100644
index b102a4375b18..000000000000
--- a/net-mgmt/nagios-check_smartmon/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-libexec/nagios/check_smartmon