# New ports collection makefile for:	ataidle
# Date created:		2004-01-11
# Whom:			Bruce Cran <bruce@cran.org.uk>
#
# $FreeBSD: ports/sysutils/ataidle/Makefile,v 1.21 2011/12/12 01:57:01 brucec Exp $
#

PORTNAME=	ataidle
PORTVERSION=	2.7.2
CATEGORIES=	sysutils
MASTER_SITES=	http://www.cran.org.uk/~brucec/software/

MAINTAINER=	bruce@cran.org.uk
COMMENT=	Utility to spin down ATA drives

USE_RC_SUBR=	${PORTNAME}
MAN8=		ataidle.8
PORTDOCS=	COPYING Changelog README
PLIST_FILES=	sbin/ataidle

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ataidle ${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/ataidle.8 ${MAN8PREFIX}/man/man8
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>
