[BACK]Return to patch-src_cgi_Makefile CVS log [TXT][DIR] Up to [local] / ports / sysutils / apcupsd / patches

File: [local] / ports / sysutils / apcupsd / patches / Attic / patch-src_cgi_Makefile (download)

Revision 1.1, Fri Jan 29 20:35:45 2010 UTC (14 years, 5 months ago) by yason
Branch: MAIN

update to 3.14.8

$OpenBSD$
--- src/cgi/Makefile.orig	Mon Jan 25 08:07:59 2010
+++ src/cgi/Makefile	Mon Jan 25 08:09:54 2010
@@ -39,10 +39,10 @@ install-cgi:
 	$(call INSTPROG,755,upsstats.cgi,$(cgibin))
 	$(call INSTPROG,755,upsfstats.cgi,$(cgibin))
 	$(call INSTPROG,755,upsimage.cgi,$(cgibin))
-	$(call MKDIR,$(sysconfdir))
-	$(call INSTNEW,644,apcupsd.css,$(sysconfdir))
-	$(call INSTNEW,644,$(topdir)/platforms/etc/hosts.conf,$(sysconfdir))
-	$(call INSTNEW,644,$(topdir)/platforms/etc/multimon.conf,$(sysconfdir))
+	$(call MKDIR,$(datadir)/examples/apcupsd/etc/)
+	$(call INSTNEW,644,apcupsd.css,$(datadir)/examples/apcupsd/etc/)
+	$(call INSTNEW,644,$(topdir)/platforms/etc/hosts.conf,$(datadir)/examples/apcupsd/etc/)
+	$(call INSTNEW,644,$(topdir)/platforms/etc/multimon.conf,$(datadir)/examples/apcupsd/etc/)
 
 uninstall-cgi:
 	$(call UNINST,$(cgibin)/multimon.cgi)