summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut-snmp/Makefile
blob: ec5f5d1fa9eb2023accd4654f43e7f88fb81af96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: Makefile,v 1.1.1.1 2006/08/16 13:30:35 ghen Exp $

.include "../../sysutils/ups-nut/Makefile.common"

PKGNAME=		${DISTNAME:S/nut/ups-nut-snmp/}
COMMENT=		Network UPS Tools SNMP driver

DEPENDS+=		ups-nut-2.*:../../sysutils/ups-nut

BUILD_TARGET=		all snmp
INSTALL_TARGET=		install-snmp

BUILD_DEFS+=		NUT_STATEDIR

CONFIGURE_ARGS+=	--with-drvpath=${NUT_DRVDIR:Q}

.include "../../net/net-snmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"