422fb91b89
Account for change in bioctl output: http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/bioctl/bioctl.c.diff?r1=1.98;r2=1.99;f=h ok sthen@
36 lines
1017 B
Makefile
36 lines
1017 B
Makefile
# $OpenBSD: Makefile,v 1.3 2012/04/04 21:49:44 merdely Exp $
|
|
|
|
PKG_ARCH = *
|
|
|
|
COMMENT = Nagios plugin to check RAID status with bioctl
|
|
|
|
DISTNAME = check_bioctl-1.16
|
|
CATEGORIES = net
|
|
|
|
MAINTAINER = Michael Erdely <merdely@openbsd.org>
|
|
|
|
HOMEPAGE = https://www.monitoringexchange.org/inventory/Check-Plugins/Hardware/Devices/RAID-Controller/check_bioctl
|
|
MASTER_SITES = https://www.monitoringexchange.org/attachment/download/Check-Plugins/Hardware/Devices/RAID-Controller/check_bioctl/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
NO_BUILD = Yes
|
|
NO_REGRESS = Yes
|
|
|
|
RUN_DEPENDS = net/nagios/plugins,-main
|
|
|
|
do-configure:
|
|
@${SUBST_CMD} ${WRKSRC}/check_bioctl ${WRKSRC}/README
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/libexec/nagios
|
|
${INSTALL_SCRIPT} ${WRKSRC}/check_bioctl ${PREFIX}/libexec/nagios
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/check_bioctl
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/check_bioctl
|
|
|
|
.include <bsd.port.mk>
|