freebsd-ports/sysutils/ataidle/Makefile
2005-06-11 23:36:52 +00:00

38 lines
873 B
Makefile

# New ports collection makefile for: ataidle
# Date created: 2004-01-11
# Whom: Bruce Cran <bruce@cran.org.uk>
#
# $FreeBSD$
#
PORTNAME= ataidle
PORTVERSION= 0.8
CATEGORIES= sysutils
MASTER_SITES= http://www.cran.org.uk/bruce/software/
MAINTAINER= bruce@cran.org.uk
COMMENT= Utility to set spindown timeout for ATA drives
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.pre.mk>
.if ${OSVERSION} < 501105
IGNORE= "requires ATAng, available in 5.1-CURRENT or newer"
.endif
.if ${OSVERSION} > 600028
BROKEN= "Does not compile on FreeBSD >= 6.0"
.endif
.include <bsd.port.post.mk>