=================================================================== RCS file: /cvs/ports/sysutils/apcupsd/patches/Attic/patch-platforms_openbsd_Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- ports/sysutils/apcupsd/patches/Attic/patch-platforms_openbsd_Makefile 2008/11/10 13:15:33 1.1.1.1 +++ ports/sysutils/apcupsd/patches/Attic/patch-platforms_openbsd_Makefile 2010/01/29 20:35:45 1.2 @@ -1,16 +1,10 @@ -$OpenBSD: patch-platforms_openbsd_Makefile,v 1.1.1.1 2008/11/10 13:15:33 yason Exp $ ---- platforms/openbsd/Makefile.orig Mon Jun 2 01:57:55 2008 -+++ platforms/openbsd/Makefile Wed Aug 6 00:41:14 2008 -@@ -1,64 +0,0 @@ --topdir:=../.. -- --SUBDIRS = --include $(topdir)/autoconf/targets.mak -- --all-install: install-openbsd --all-uninstall: uninstall-openbsd -- --install-openbsd: +$OpenBSD: patch-platforms_openbsd_Makefile,v 1.2 2010/01/29 20:35:45 yason Exp $ +--- platforms/openbsd/Makefile.orig Mon Jan 25 07:50:11 2010 ++++ platforms/openbsd/Makefile Mon Jan 25 07:57:27 2010 +@@ -7,58 +7,8 @@ all-install: install-openbsd + all-uninstall: uninstall-openbsd + + install-openbsd: - $(call DISTINST,OpenBSD) - $(call MKDIR,/etc) - $(call INSTPROG,744,apcupsd,/etc/rc.apcupsd) @@ -50,8 +44,10 @@ - echo "Once you are satisfied, uncomment the appropriate"; \ - echo "lines in /etc/rc.local" ) | /usr/bin/fmt; \ - fi -- --uninstall-openbsd: ++ $(call MKDIR,$(sbindir)) ++ $(call INSTPROG,744,apcupsd,$(sbindir)/apcupsctl) + + uninstall-openbsd: - $(call DISTUNINST,OpenBSD) - -$(call UNINST,/etc/rc.apcupsd) - $(VV)-today="`date +%Y%m%d%H%M`"; \ @@ -66,3 +62,4 @@ - chmod 644 $$f; \ - fi; \ - done ++ $(call UNINST,$(sbindir)/apcupsctl)