summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut-snmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ups-nut-snmp/Makefile')
-rw-r--r--sysutils/ups-nut-snmp/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/ups-nut-snmp/Makefile b/sysutils/ups-nut-snmp/Makefile
new file mode 100644
index 00000000000..ec5f5d1fa9e
--- /dev/null
+++ b/sysutils/ups-nut-snmp/Makefile
@@ -0,0 +1,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"