diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-01-15 21:40:28 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-01-15 21:40:28 +0800 |
commit | d17f4033ae11c1ef211b336b25eb38a014e0c74b (patch) | |
tree | 98f96307b5a32cecd5d4e2104c22673c560b9789 /sysutils/hploscripts | |
parent | 7e85483bc4dd371692cb42e0670e76bc41c0a5ba (diff) | |
download | freebsd-ports-gnome-d17f4033ae11c1ef211b336b25eb38a014e0c74b.tar.gz freebsd-ports-gnome-d17f4033ae11c1ef211b336b25eb38a014e0c74b.tar.zst freebsd-ports-gnome-d17f4033ae11c1ef211b336b25eb38a014e0c74b.zip |
- Use DOC instead of NOPORTDOCS
- Pacify portlint
- Convert header
Diffstat (limited to 'sysutils/hploscripts')
-rw-r--r-- | sysutils/hploscripts/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/hploscripts/Makefile b/sysutils/hploscripts/Makefile index 666e1d5fbdae..f55713534f11 100644 --- a/sysutils/hploscripts/Makefile +++ b/sysutils/hploscripts/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: hploscripts -# Date created: 11 Feb 2010 -# Whom: Emanuel Haupt <ehaupt@FreeBSD.org> -# +# Created by: Emanuel Haupt <ehaupt@FreeBSD.org> # $FreeBSD$ -# PORTNAME= hploscripts PORTVERSION= 3.0 @@ -22,6 +18,10 @@ NO_BUILD= yes PORTDOCS= iLO_perl_xml.pdf linux-LOsamplescripts.txt +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e '1s|.*|#!${PERL}|' ${WRKSRC}/locfg.pl @@ -30,7 +30,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/*.xml ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/hponcfg_reformat.xsl ${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/locfg.pl ${PREFIX}/bin/locfg -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/iLO_perl_xml.pdf ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/linux-LOsamplescripts3.00.0-2.txt ${DOCSDIR}/linux-LOsamplescripts.txt |