summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut-cgi
diff options
context:
space:
mode:
authorlukem <lukem@pkgsrc.org>2002-12-17 05:53:41 +0000
committerlukem <lukem@pkgsrc.org>2002-12-17 05:53:41 +0000
commitea7becbda808dddca7c17bcca67714df65017e3b (patch)
tree379f71a0bb9a4cca0f9a9f6a246667640f8c4e3a /sysutils/ups-nut-cgi
parent0fefa9240c9b4380ae6a34df90da355d5608c54e (diff)
downloadpkgsrc-ea7becbda808dddca7c17bcca67714df65017e3b.tar.gz
install cgi into libexec/cgi-bin instead of share/nut/cgi
Diffstat (limited to 'sysutils/ups-nut-cgi')
-rw-r--r--sysutils/ups-nut-cgi/Makefile6
-rw-r--r--sysutils/ups-nut-cgi/PLIST9
2 files changed, 6 insertions, 9 deletions
diff --git a/sysutils/ups-nut-cgi/Makefile b/sysutils/ups-nut-cgi/Makefile
index fa8aeeefdf9..95b71ffdb47 100644
--- a/sysutils/ups-nut-cgi/Makefile
+++ b/sysutils/ups-nut-cgi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2002/12/13 04:23:20 lukem Exp $
+# $NetBSD: Makefile,v 1.21 2002/12/17 05:53:41 lukem Exp $
DISTNAME= nut-1.2.1
PKGNAME= ups-nut-cgi-1.2.1
@@ -26,7 +26,7 @@ PKG_SYSCONFSUBDIR?= nut
NUT_CONFDIR= ${PKG_SYSCONFDIR}
NUT_EGDIR= ${PREFIX}/share/examples/nut
NUT_STATEDIR= /var/db/nut
-NUT_CGIDIR= ${PREFIX}/share/nut/cgi
+NUT_CGIDIR= ${PREFIX}/libexec/cgi-bin
CONF_FILES= ${NUT_EGDIR}/hosts.conf.sample ${NUT_CONFDIR}/hosts.conf
CONF_FILES+= ${NUT_EGDIR}/upsset.conf.sample \
@@ -36,8 +36,6 @@ CONF_FILES+= ${NUT_EGDIR}/upsstats-single.html.sample \
CONF_FILES+= ${NUT_EGDIR}/upsstats.html.sample \
${NUT_CONFDIR}/upsstats.html
-OWN_DIRS= ${NUT_CONFDIR}
-
.include "../../graphics/gd/buildlink2.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/ups-nut-cgi/PLIST b/sysutils/ups-nut-cgi/PLIST
index e54f79e70dc..bda38d0e6ad 100644
--- a/sysutils/ups-nut-cgi/PLIST
+++ b/sysutils/ups-nut-cgi/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2002/12/13 04:23:21 lukem Exp $
+@comment $NetBSD: PLIST,v 1.5 2002/12/17 05:53:42 lukem Exp $
share/examples/nut/hosts.conf.sample
share/examples/nut/upsset.conf.sample
share/examples/nut/upsstats-single.html.sample
@@ -9,7 +9,6 @@ man/man5/upsstats.html.5
man/man8/upsimage.cgi.8
man/man8/upsset.cgi.8
man/man8/upsstats.cgi.8
-share/nut/cgi/upsimage.cgi
-share/nut/cgi/upsset.cgi
-share/nut/cgi/upsstats.cgi
-@dirrm share/nut/cgi
+libexec/cgi-bin/upsimage.cgi
+libexec/cgi-bin/upsset.cgi
+libexec/cgi-bin/upsstats.cgi