diff options
author | bouyer <bouyer@pkgsrc.org> | 2011-07-29 15:11:40 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2011-07-29 15:11:40 +0000 |
commit | e1da8cea1cd7476f326cc1a992dc27e057907261 (patch) | |
tree | e0671a738498c503481fa6169f68798977774ba3 /sysutils/ups-nut-snmp | |
parent | ec64ef50add2cba984e79b7c24a8cf1eaed01f5e (diff) | |
download | pkgsrc-e1da8cea1cd7476f326cc1a992dc27e057907261.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-snmp')
-rw-r--r-- | sysutils/ups-nut-snmp/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/sysutils/ups-nut-snmp/Makefile b/sysutils/ups-nut-snmp/Makefile index 4d5003b825a..38a2eab67f6 100644 --- a/sysutils/ups-nut-snmp/Makefile +++ b/sysutils/ups-nut-snmp/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,18 @@ 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} +INSTALLATION_DIRS+= ${PREFIX}/libexec/nut +INSTALLATION_DIRS+= ${PREFIX}/${PKGMANDIR}/man8 + +CONFIGURE_ARGS+= --with-snmp --with-drvpath=${NUT_DRVDIR:Q} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/drivers/snmp-ups \ + ${DESTDIR}${PREFIX}/libexec/nut/ + ${INSTALL_MAN} ${WRKSRC}/docs/man/snmp-ups.8 \ + ${DESTDIR}${PREFIX}//${PKGMANDIR}/man8/ .include "../../net/net-snmp/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |