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
|
2008-02-07 05:37:48 +01:00
|
|
|
PORTVERSION= 2.3
|
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
|
2007-05-27 21:54:17 +02:00
|
|
|
COMMENT= Utility to spin down ATA drives
|
2004-01-14 15:22:29 +01:00
|
|
|
|
2007-06-14 08:07:23 +02:00
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
2004-01-14 15:22:29 +01:00
|
|
|
MAN8= ataidle.8
|
2008-02-07 05:37:48 +01:00
|
|
|
PORTDOCS= COPYING Changelog README
|
2004-02-03 10:32:16 +01:00
|
|
|
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
|
|
|
|
|
2008-02-07 05:37:48 +01:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2004-01-14 15:22:29 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-02-07 05:37:48 +01:00
|
|
|
.if ${OSVERSION} < 600034
|
|
|
|
IGNORE= requires FreeBSD 6.1 or newer
|
2005-06-12 01:36:52 +02:00
|
|
|
.endif
|
|
|
|
|
2004-01-14 15:22:29 +01:00
|
|
|
.include <bsd.port.post.mk>
|