Files
ports/sysutils/ataidle/Makefile
T
Pav Lucistnik 648a7c329f - Improve rc script
PR:		ports/117514
Submitted by:	Bruce Cran <bruce@cran.org.uk> (maintainer)
2007-10-26 13:38:21 +00:00

37 lines
797 B
Makefile

# New ports collection makefile for: ataidle
# Date created: 2004-01-11
# Whom: Bruce Cran <bruce@cran.org.uk>
#
# $FreeBSD$
#
PORTNAME= ataidle
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.cran.org.uk/bruce/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.pre.mk>
.if ${OSVERSION} < 501105
IGNORE= requires FreeBSD 5.2 or newer
.endif
.include <bsd.port.post.mk>