aboutsummaryrefslogtreecommitdiff
path: root/sysutils/hploscripts
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2010-08-10 11:43:53 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2010-08-10 11:43:53 +0000
commit621abc231f32917a787ca0d756dadecdb8b54114 (patch)
tree27d47073bfd8e63df6ba95e5d9f88dd9aa3202b5 /sysutils/hploscripts
parent8c560dccf8172787dd0d0277abf3860d89d16682 (diff)
downloadports-621abc231f32917a787ca0d756dadecdb8b54114.tar.gz
ports-621abc231f32917a787ca0d756dadecdb8b54114.zip
Fix build with NOPORTDOCS defined
Submitted by: QAT
Notes
Notes: svn path=/head/; revision=259059
Diffstat (limited to 'sysutils/hploscripts')
-rw-r--r--sysutils/hploscripts/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/hploscripts/Makefile b/sysutils/hploscripts/Makefile
index 0cadbb4338fe..471421100c96 100644
--- a/sysutils/hploscripts/Makefile
+++ b/sysutils/hploscripts/Makefile
@@ -7,6 +7,7 @@
PORTNAME= hploscripts
PORTVERSION= 3.0
+PORTREVISION= 1
CATEGORIES= sysutils perl5
MASTER_SITES= CRITICAL
@@ -28,10 +29,12 @@ do-install:
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/*.xml ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/hponcfg_reformat.xsl ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/locfg.pl ${PREFIX}/bin/locfg
+.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/iLO_perl_xml.pdf ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/linux-LOsamplescripts3.00.0-2.txt ${DOCSDIR}/linux-LOsamplescripts.txt
- ${INSTALL_SCRIPT} ${WRKSRC}/locfg.pl ${PREFIX}/bin/locfg
+.endif
regression-test: build
@${PERL} -c ${WRKSRC}/locfg.pl