freebsd-ports/sysutils/hploscripts/Makefile
Andrej Zverev 935fc1ffdb - convert to the new perl5 framework
- convert USE_GMAKE to Uses

Approved by:	portmgr (bapt@, blanket)
2013-09-16 07:29:08 +00:00

41 lines
1,023 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= hploscripts
PORTVERSION= 3.0
PORTREVISION= 2
CATEGORIES= sysutils perl5
MASTER_SITES= CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= HP Lights-Out management perl scripts
BUILD_DEPENDS= p5-IO-Socket-SSL>=1.19:${PORTSDIR}/security/p5-IO-Socket-SSL
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= shebangfix perl5
NO_BUILD= yes
SHEBANG_FILES= locfg.pl
PORTDOCS= iLO_perl_xml.pdf linux-LOsamplescripts.txt
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
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 ${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
.endif
regression-test: build
@${PERL} -c ${WRKSRC}/locfg.pl
.include <bsd.port.mk>