601583c320
Patch provided by Sergey Svishchev in private mail.
33 lines
878 B
Makefile
33 lines
878 B
Makefile
# $NetBSD: Makefile,v 1.6 2007/02/22 19:26:56 wiz Exp $
|
|
#
|
|
|
|
PKGREVISION= 1
|
|
CATEGORIES= net sysutils
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://sourceforge.net/projects/nagiosplug/
|
|
COMMENT= Nagios plugins
|
|
|
|
.include "../../net/nagios-plugins/Makefile.common"
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
CONFIGURE_ARGS+= --without-pgsql --without-mysql \
|
|
--without-smbclient-command --without-snmpget-command \
|
|
--without-snmpgetnext-command --without-fping-command
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
CONFIGURE_ARGS+= --with-df-command="/bin/df -Pklt nokernfs,procfs,fdesc"
|
|
.endif
|
|
|
|
DEPENDS+= nagios-base>=2.0:../../net/nagios-base
|
|
|
|
.if !exists(/usr/bin/ssh)
|
|
DEPENDS+= {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh
|
|
.endif
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|