From c90ae1c47943202ad8c77a75501fa87967842e83 Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Tue, 24 Sep 2013 14:50:22 +0000 Subject: [PATCH] sysutils/ataidle: allow staging - Allow staging --- sysutils/ataidle/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/sysutils/ataidle/Makefile b/sysutils/ataidle/Makefile index 582e7b210ce9..3cba6d8ce895 100644 --- a/sysutils/ataidle/Makefile +++ b/sysutils/ataidle/Makefile @@ -10,21 +10,20 @@ MAINTAINER= wg@FreeBSD.org COMMENT= Utility to spin down ATA drives USE_RC_SUBR= ${PORTNAME} -MAN8= ataidle.8 PORTDOCS= COPYING Changelog README -PLIST_FILES= sbin/ataidle +PLIST_FILES= sbin/ataidle \ + man/man8/ataidle.8.gz OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ataidle ${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/ataidle.8 ${MAN8PREFIX}/man/man8 + ${INSTALL_PROGRAM} ${WRKSRC}/ataidle ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/ataidle.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .endif .include