summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut-usb
diff options
context:
space:
mode:
authorbouyer <bouyer>2011-07-29 15:11:40 +0000
committerbouyer <bouyer>2011-07-29 15:11:40 +0000
commit8eaf2868ea9b29178a2102953694bc099d7259dc (patch)
treee0671a738498c503481fa6169f68798977774ba3 /sysutils/ups-nut-usb
parent85b1c0c3abc08930fa9478325f448f7ac9ed7ea9 (diff)
downloadpkgsrc-8eaf2868ea9b29178a2102953694bc099d7259dc.tar.gz
Update ups-nut* from 2.0.5 to 2.6.1. Changes are too large to list here,
see: http://www.networkupstools.org/source/2.6/new-2.6.1.txt
Diffstat (limited to 'sysutils/ups-nut-usb')
-rw-r--r--sysutils/ups-nut-usb/Makefile19
-rw-r--r--sysutils/ups-nut-usb/PLIST9
2 files changed, 21 insertions, 7 deletions
diff --git a/sysutils/ups-nut-usb/Makefile b/sysutils/ups-nut-usb/Makefile
index 0deff2a02cd..7d9f60b1b91 100644
--- a/sysutils/ups-nut-usb/Makefile
+++ b/sysutils/ups-nut-usb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/06/20 01:09:36 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2011/07/29 15:11:40 bouyer Exp $
PKG_DESTDIR_SUPPORT= user-destdir
@@ -9,12 +9,23 @@ COMMENT= Network UPS Tools USB drivers
DEPENDS+= ups-nut-2.*:../../sysutils/ups-nut
-BUILD_TARGET= all usb
-INSTALL_TARGET= install-usb
+INSTALLATION_DIRS+= ${PREFIX}/libexec/nut
+INSTALLATION_DIRS+= ${PREFIX}/${PKGMANDIR}/man8
BUILD_DEFS+= NUT_STATEDIR
-CONFIGURE_ARGS+= --with-drvpath=${NUT_DRVDIR:Q}
+CONFIGURE_ARGS+= --with-usb --with-drvpath=${NUT_DRVDIR:Q}
+
+do-install:
+ for f in usbhid-ups bcmxcp_usb tripplite_usb blazer_usb richcomm_usb;\
+ do \
+ ${INSTALL_PROGRAM} ${WRKSRC}/drivers/$$f \
+ ${DESTDIR}${PREFIX}/libexec/nut/; \
+ done
+ for f in usbhid-ups.8 bcmxcp_usb.8 tripplite_usb.8 richcomm_usb.8; do \
+ ${INSTALL_MAN} ${WRKSRC}/docs/man/$$f \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/; \
+ done
.include "../../devel/libusb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/ups-nut-usb/PLIST b/sysutils/ups-nut-usb/PLIST
index 93ed4c3d1c6..ced5a3f0e8d 100644
--- a/sysutils/ups-nut-usb/PLIST
+++ b/sysutils/ups-nut-usb/PLIST
@@ -1,7 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/16 13:23:16 ghen Exp $
+@comment $NetBSD: PLIST,v 1.2 2011/07/29 15:11:40 bouyer Exp $
libexec/nut/bcmxcp_usb
-libexec/nut/newhidups
+libexec/nut/blazer_usb
libexec/nut/tripplite_usb
+libexec/nut/richcomm_usb
+libexec/nut/usbhid-ups
man/man8/bcmxcp_usb.8
-man/man8/newhidups.8
man/man8/tripplite_usb.8
+man/man8/richcomm_usb.8
+man/man8/usbhid-ups.8