aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-check_hdd_health
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2015-12-30 14:07:42 +0000
committerAlex Kozlov <ak@FreeBSD.org>2015-12-30 14:07:42 +0000
commit1a638f333ab86cf1908109b696bda4e4a549da9b (patch)
tree021f8f6143c4e23cef92d56615c160a3166db4a9 /net-mgmt/nagios-check_hdd_health
parent888ec9005fa728f43f5dfa0f71fe94e7c09bcce9 (diff)
downloadports-1a638f333ab86cf1908109b696bda4e4a549da9b.tar.gz
ports-1a638f333ab86cf1908109b696bda4e4a549da9b.zip
- Rename nonstandard src directory to files
- Modernize ports
Notes
Notes: svn path=/head/; revision=404857
Diffstat (limited to 'net-mgmt/nagios-check_hdd_health')
-rw-r--r--net-mgmt/nagios-check_hdd_health/Makefile10
-rw-r--r--net-mgmt/nagios-check_hdd_health/files/check_hdd_health (renamed from net-mgmt/nagios-check_hdd_health/src/check_hdd_health)0
-rw-r--r--net-mgmt/nagios-check_hdd_health/pkg-plist1
3 files changed, 7 insertions, 4 deletions
diff --git a/net-mgmt/nagios-check_hdd_health/Makefile b/net-mgmt/nagios-check_hdd_health/Makefile
index 631590e27e8c..39bab451ea93 100644
--- a/net-mgmt/nagios-check_hdd_health/Makefile
+++ b/net-mgmt/nagios-check_hdd_health/Makefile
@@ -4,8 +4,8 @@
PORTNAME= nagios-check_hdd_health
PORTVERSION= 1.1
CATEGORIES= net-mgmt
-MASTER_SITES= # No distfile
-DISTFILES= # No distfile
+MASTER_SITES= # none
+DISTFILES= # none
MAINTAINER= ports@FreeBSD.org
COMMENT= Nagios plug-in to check HDD health from S.M.A.R.T
@@ -13,9 +13,13 @@ COMMENT= Nagios plug-in to check HDD health from S.M.A.R.T
RUN_DEPENDS= smartmontools>=0:${PORTSDIR}/sysutils/smartmontools
NO_BUILD= yes
+NO_ARCH= yes
+
+PLIST_FILES= libexec/nagios/check_hdd_health
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
- @${INSTALL_SCRIPT} ${.CURDIR}/src/check_hdd_health ${STAGEDIR}${PREFIX}/libexec/nagios
+ ${INSTALL_SCRIPT} ${FILESDIR}/check_hdd_health \
+ ${STAGEDIR}${PREFIX}/libexec/nagios
.include <bsd.port.mk>
diff --git a/net-mgmt/nagios-check_hdd_health/src/check_hdd_health b/net-mgmt/nagios-check_hdd_health/files/check_hdd_health
index de20fb9359ae..de20fb9359ae 100644
--- a/net-mgmt/nagios-check_hdd_health/src/check_hdd_health
+++ b/net-mgmt/nagios-check_hdd_health/files/check_hdd_health
diff --git a/net-mgmt/nagios-check_hdd_health/pkg-plist b/net-mgmt/nagios-check_hdd_health/pkg-plist
deleted file mode 100644
index a7532a19b10a..000000000000
--- a/net-mgmt/nagios-check_hdd_health/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-libexec/nagios/check_hdd_health