summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut-cgi/Makefile
diff options
context:
space:
mode:
authormartin <martin>2000-12-28 16:07:51 +0000
committermartin <martin>2000-12-28 16:07:51 +0000
commitb2cb8277bdd4fef695ddda4433b9781605be44ab (patch)
tree6146e3a5968313cb1e11d55a75d63f05955a8987 /sysutils/ups-nut-cgi/Makefile
parent8b18744ae7a948904b6da0a73d983305305daa40 (diff)
downloadpkgsrc-b2cb8277bdd4fef695ddda4433b9781605be44ab.tar.gz
Initial import of ups-nut-cgi package from collver@softhome.net;
additional tools for monitoring UPSes using ups-nut and cgi scripts. Closes PR 11746.
Diffstat (limited to 'sysutils/ups-nut-cgi/Makefile')
-rw-r--r--sysutils/ups-nut-cgi/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/ups-nut-cgi/Makefile b/sysutils/ups-nut-cgi/Makefile
new file mode 100644
index 00000000000..b29c0bf88f7
--- /dev/null
+++ b/sysutils/ups-nut-cgi/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/28 16:07:51 martin Exp $
+#
+
+DISTNAME= nut-0.44.2
+PKGNAME= ups-nut-cgi-0.44.2
+CATEGORIES= sysutils
+MASTER_SITES= http://www.exploits.org/nut/release/
+
+MAINTAINER= collver@softhome.net
+HOMEPAGE= http://www.exploits.org/nut/
+
+DEPENDS+= gd-*:../../graphics/gd
+DEPENDS+= ups-nut-0*:../ups-nut
+BUILD_DEPENDS+= ${LOCALBASE}/bin/autoreconf:../../devel/autoconf
+
+WRKSRC= ${WRKDIR}/nut-0.44.2
+
+ALL_TARGET= cgi
+INSTALL_TARGET= install-cgi
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --sysconfdir=${LOCALBASE}/etc/nut \
+ --with-state-path=/var/db \
+ --with-cgipath=${LOCALBASE}/share/nut/cgi \
+ --with-graphics=${LOCALBASE}
+
+pre-configure:
+ cd ${WRKSRC}; ${LOCALBASE}/bin/autoreconf --force
+
+.include "../../mk/bsd.prefs.mk"
+.include "../../mk/bsd.pkg.mk"