# Created by: jamrich.majo@gmail.com
# $FreeBSD: tags/RELEASE_10_2_0/net-mgmt/nagios-check_hdd_health/Makefile 343052 2014-02-06 12:15:49Z miwi $

PORTNAME=	nagios-check_hdd_health
PORTVERSION=	1.1
CATEGORIES=	net-mgmt
MASTER_SITES=	# No distfile
DISTFILES=	# No distfile

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Nagios plug-in to check HDD health from S.M.A.R.T

RUN_DEPENDS=	smartmontools>=0:${PORTSDIR}/sysutils/smartmontools

NO_BUILD=	yes

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
	@${INSTALL_SCRIPT} ${.CURDIR}/src/check_hdd_health ${STAGEDIR}${PREFIX}/libexec/nagios

.include <bsd.port.mk>
