summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut-usb/Makefile
blob: 4eab0ed039c5e99256f2f273c7c14ed0f0bec1c6 (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:23:16 ghen Exp $

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

PKGNAME=		${DISTNAME:S/nut/ups-nut-usb/}
COMMENT=		Network UPS Tools USB drivers

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

BUILD_TARGET=		all usb
INSTALL_TARGET=		install-usb

BUILD_DEFS+=		NUT_STATEDIR

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

.include "../../devel/libusb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"