33 lines
826 B
Makefile
33 lines
826 B
Makefile
# Created by: Ryan Steinmetz
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= check_hp_bladechassis
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= http://folk.uio.no/trondham/software/files/ \
|
|
ZI
|
|
PKGNAMEPREFIX= nagios-
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= Nagios Plugin to monitor your HP Blade Enclosure
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= p5-Net-SNMP>=0:net-mgmt/p5-Net-SNMP
|
|
|
|
USES= perl5 shebangfix
|
|
USE_PERL5= run
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= libexec/nagios/check_hp_bladechassis man/man8/check_hp_bladechassis.8.gz
|
|
SHEBANG_FILES= check_hp_bladechassis
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
|
|
${INSTALL_SCRIPT} ${WRKSRC}/check_hp_bladechassis \
|
|
${STAGEDIR}${PREFIX}/libexec/nagios
|
|
${INSTALL_MAN} ${WRKSRC}/check_hp_bladechassis.8 \
|
|
${STAGEDIR}${MANPREFIX}/man/man8
|
|
|
|
.include <bsd.port.mk>
|