aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ataidle/Makefile
blob: 7a2d2064bc1b0109eab1416afe5f5c6326032502 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Bruce Cran <bruce@cran.org.uk>
# $FreeBSD$

PORTNAME=	ataidle
PORTVERSION=	2.7.2
CATEGORIES=	sysutils
MASTER_SITES=	http://bluestop.org/ataidle/

MAINTAINER=	wg@FreeBSD.org
COMMENT=	Utility to spin down ATA drives

LICENSE=	BSD

USE_RC_SUBR=	${PORTNAME}
PORTDOCS=	Changelog README
PLIST_FILES=	sbin/ataidle \
		man/man8/ataidle.8.gz

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ataidle ${STAGEDIR}${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/ataidle.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>