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

File: [local] / ports / sysutils / apcupsd / patches / Attic / patch-platforms_etc_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$
--- platforms/etc/Makefile.orig	Mon Jan 25 01:03:45 2010
+++ platforms/etc/Makefile	Mon Jan 25 01:05:35 2010
@@ -7,13 +7,13 @@ all-install: install-etc
 all-uninstall: uninstall-etc
 
 install-etc:
-	$(call MKDIR,$(sysconfdir))
-	$(call INSTNEW,644,apcupsd.conf,$(sysconfdir))
-	$(call INSTORIG,744,changeme,$(sysconfdir))
-	$(call INSTORIG,744,commfailure,$(sysconfdir))
-	$(call INSTORIG,744,commok,$(sysconfdir))
-	$(call INSTORIG,744,offbattery,$(sysconfdir))
-	$(call INSTORIG,744,onbattery,$(sysconfdir))
+	$(call MKDIR,$(datadir)/examples/apcupsd/etc)
+	$(call INSTNEW,644,apcupsd.conf,$(datadir)/examples/apcupsd/etc)
+	$(call INSTORIG,744,changeme,$(datadir)/examples/apcupsd/etc)
+	$(call INSTORIG,744,commfailure,$(datadir)/examples/apcupsd/etc)
+	$(call INSTORIG,744,commok,$(datadir)/examples/apcupsd/etc)
+	$(call INSTORIG,744,offbattery,$(datadir)/examples/apcupsd/etc)
+	$(call INSTORIG,744,onbattery,$(datadir)/examples/apcupsd/etc)
 
 uninstall-etc: