1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/sysutils/ataidle/Makefile
Rong-En Fan 6dbf63cf4e - Update to 2.3
- Add pkg-message

PR:		ports/119731
Submitted by:	Bruce Cran <bruce at cran.org.uk> (maintainer)
2008-02-07 04:37:48 +00:00

39 lines
819 B
Makefile

# New ports collection makefile for: ataidle
# Date created: 2004-01-11
# Whom: Bruce Cran <bruce@cran.org.uk>
#
# $FreeBSD$
#
PORTNAME= ataidle
PORTVERSION= 2.3
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
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600034
IGNORE= requires FreeBSD 6.1 or newer
.endif
.include <bsd.port.post.mk>