2004-01-14 15:22:29 +01:00
|
|
|
# New ports collection makefile for: ataidle
|
|
|
|
# Date created: 2004-01-11
|
|
|
|
# Whom: Bruce Cran <bruce@cran.org.uk>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ataidle
|
2005-11-14 08:43:16 +01:00
|
|
|
PORTVERSION= 0.9
|
2004-01-14 15:22:29 +01:00
|
|
|
CATEGORIES= sysutils
|
2004-01-25 14:59:37 +01:00
|
|
|
MASTER_SITES= http://www.cran.org.uk/bruce/software/
|
2004-01-14 15:22:29 +01:00
|
|
|
|
|
|
|
MAINTAINER= bruce@cran.org.uk
|
|
|
|
COMMENT= Utility to set spindown timeout for ATA drives
|
|
|
|
|
|
|
|
MAN8= ataidle.8
|
2004-02-03 10:32:16 +01:00
|
|
|
PORTDOCS= COPYING ChangeLog README
|
|
|
|
PLIST_FILES= sbin/ataidle
|
2004-01-14 15:22:29 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ataidle ${PREFIX}/sbin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ataidle.8 ${MAN8PREFIX}/man/man8
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-02-03 10:32:16 +01:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
2004-01-14 15:22:29 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 501105
|
2005-11-14 08:43:16 +01:00
|
|
|
IGNORE= requires ATAng, available in 5.1-CURRENT or newer
|
2005-06-12 01:36:52 +02:00
|
|
|
.endif
|
|
|
|
|
2004-01-14 15:22:29 +01:00
|
|
|
.include <bsd.port.post.mk>
|