diff options
author | wg <wg@FreeBSD.org> | 2013-06-27 20:38:11 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-06-27 20:38:11 +0800 |
commit | 9f999bd615d3a9e3c1fd124ebaeeb1611f191dbd (patch) | |
tree | 490904c62dbe67a196106f4ba1f3ac8f80f417da /sysutils | |
parent | 48c81026f7ae4e60dc54bc7ce2ee2d3547d3dab5 (diff) | |
download | freebsd-ports-gnome-9f999bd615d3a9e3c1fd124ebaeeb1611f191dbd.tar.gz freebsd-ports-gnome-9f999bd615d3a9e3c1fd124ebaeeb1611f191dbd.tar.zst freebsd-ports-gnome-9f999bd615d3a9e3c1fd124ebaeeb1611f191dbd.zip |
sysutils/ataidle: minor fixes
- Trim Makefile header
- Add DOCS option
- NOPORTDOCS -> PORTOPTIONS:MDOCS
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ataidle/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sysutils/ataidle/Makefile b/sysutils/ataidle/Makefile index 176967bb2e91..8ab51547c7b2 100644 --- a/sysutils/ataidle/Makefile +++ b/sysutils/ataidle/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: ataidle -# Date created: 2004-01-11 -# Whom: Bruce Cran <bruce@cran.org.uk> -# +# Created by: Bruce Cran <bruce@cran.org.uk> # $FreeBSD$ -# PORTNAME= ataidle PORTVERSION= 2.7.2 @@ -18,12 +14,16 @@ MAN8= ataidle.8 PORTDOCS= COPYING Changelog README PLIST_FILES= sbin/ataidle +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ataidle ${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/ataidle.8 ${MAN8PREFIX}/man/man8 -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif .include <bsd.port.mk> |