diff options
author | bouyer <bouyer> | 2011-07-29 15:11:40 +0000 |
---|---|---|
committer | bouyer <bouyer> | 2011-07-29 15:11:40 +0000 |
commit | a90981631edc1b40a4f983818b7fcac2042c8ab2 (patch) | |
tree | e0671a738498c503481fa6169f68798977774ba3 /sysutils/ups-nut-snmp | |
parent | 8bb61d5ec816f2ff75c5bd8d3b6a73726ec7c291 (diff) | |
download | pkgsrc-a90981631edc1b40a4f983818b7fcac2042c8ab2.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" |