pkgsrc/sysutils/ups-nut/Makefile.common
ghen 00bcf52691 Update Network UPS Tools (pkgsrc/sysutils/ups-nut-*) to version 2.0.5.
This release is a backport of the development version.  Many changes
have already been backported previously.  Thus it is more a
synchronisation release, though it includes many bugfixes and support
for new models.

- support for new devices: APC Smart-UPS with 6TI firmware; Belkin
  Small Enterprise F6C1500-TW-RK; Compaq R3000 XR, R5500 XR; Cyber
  Power 550SL, 725SL, 685AVR, 800AVR, 1200AVR, AE550, BC1200 and
  many similar models; Eltek; Inform GUARD; Microsol Rhino; Opti-UPS
  PowerES 420E; PowerMan RealSmart, BackPro; Powerware PW9315 3-phase;
  SOLA 305; Tripp-Lite SMART550USB, SMART2200RMXL2U, OMNI1000LCD,
  OMNI900LCD, OMNI650LCD, 1500 LCD, AVR550U; Viewsonic PowerES 420E.

- bcmxcp: added 3-phase support

- megatec: better hardware support, more instant commands

- mge-hid: support more instant commands

- newhidups: fixed APC and Tripp Lite bugs, various memory bugs,
  improved report buffering, improved Solaris support, added
  '-x explore' option for easy diagnosis of new devices

- solis: shutdown programming, support new cables, Solaris support

- tripplite_usb: updated SMARTPRO support, fixed OL/OB reporting,
  better error handling, some memory bugs

- new dummy-ups driver simulator

- added HTML interface for access to CGI scripts

- powerpanel: new driver for CyberPower BC1200 and similar models
2008-01-30 22:10:12 +00:00

31 lines
986 B
Makefile

# $NetBSD: Makefile.common,v 1.2 2008/01/30 22:10:12 ghen Exp $
DISTNAME= nut-2.0.5
CATEGORIES= sysutils
MASTER_SITES= http://random.networkupstools.org/source/2.0/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.networkupstools.org/
DISTINFO_FILE= ${.CURDIR}/../../sysutils/ups-nut/distinfo
PATCHDIR= ${.CURDIR}/../../sysutils/ups-nut/patches
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${NUT_CONFDIR:Q}
CONFIGURE_ARGS+= --datadir=${NUT_DATADIR:Q}
CONFIGURE_ARGS+= --localstatedir=${NUT_STATEDIR:Q}
CONFIGURE_ARGS+= --with-statepath=${NUT_STATEDIR:Q}
CONFIGURE_ARGS+= --with-htmlpath=${PREFIX:Q}/share/nut/html
CHECK_PORTABILITY_SKIP= packaging/*
.include "../../mk/bsd.prefs.mk"
PKG_SYSCONFSUBDIR?= nut
NUT_CONFDIR= ${PKG_SYSCONFDIR}
NUT_DATADIR= ${PREFIX}/share/nut
NUT_DOCDIR= ${PREFIX}/share/doc/nut
NUT_DRVDIR= ${PREFIX}/libexec/nut
NUT_EGDIR= ${PREFIX}/share/examples/nut
NUT_STATEDIR?= ${VARBASE}/db/nut
NUT_CGIDIR= ${PREFIX}/libexec/cgi-bin