diff options
author | glewis <glewis@FreeBSD.org> | 2004-08-24 23:21:13 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2004-08-24 23:21:13 +0800 |
commit | 12e6113754da1395f115040104b96bf79d8941f0 (patch) | |
tree | a5ecbd9e5f341c2f2e1b0f407fe5c7107934cddb /sysutils/powerman/files | |
parent | e9ddc9d4d306ddd20abff9ca1d9fca113c96a5fd (diff) | |
download | freebsd-ports-graphics-12e6113754da1395f115040104b96bf79d8941f0.tar.gz freebsd-ports-graphics-12e6113754da1395f115040104b96bf79d8941f0.tar.zst freebsd-ports-graphics-12e6113754da1395f115040104b96bf79d8941f0.zip |
. Update to 1.0.20.
Diffstat (limited to 'sysutils/powerman/files')
-rw-r--r-- | sysutils/powerman/files/patch-Makefile | 24 | ||||
-rw-r--r-- | sysutils/powerman/files/patch-man-powerman.1 | 14 |
2 files changed, 15 insertions, 23 deletions
diff --git a/sysutils/powerman/files/patch-Makefile b/sysutils/powerman/files/patch-Makefile index 660e1b2426b..4ca481a7ee7 100644 --- a/sysutils/powerman/files/patch-Makefile +++ b/sysutils/powerman/files/patch-Makefile @@ -1,7 +1,7 @@ $FreeBSD$ ---- Makefile.orig Thu Dec 4 08:55:02 2003 -+++ Makefile Tue Mar 30 16:31:45 2004 +--- Makefile.orig Fri Dec 19 09:39:10 2003 ++++ Makefile Thu Aug 5 14:57:44 2004 @@ -1,20 +1,19 @@ PROJECT = powerman VERSION = $(shell perl -ne 'print,exit if s/^\s*VERSION:\s*(\S*).*/\1/i' META) @@ -22,22 +22,21 @@ $FreeBSD$ +prefix = ${PREFIX} exec_prefix = ${prefix} bindir = ${exec_prefix}/bin - sbindir = ${exec_prefix}/sbin +-sbindir = ${exec_prefix}/sbin -mandir = $(prefix)/man -etcdir = /etc ++sbindir = ${exec_prefix}/sbin +mandir = ${prefix}/man +etcdir = ${prefix}/etc packagedir = ${etcdir}/${PROJECT} all: progs tests -@@ -26,40 +25,39 @@ +@@ -26,38 +25,38 @@ $(MAKE) -C test install: all - $(mkinstalldirs) $(DESTDIR)$(bindir) - $(INSTALL) src/powerman $(DESTDIR)$(bindir)/ -- ln -s $(bindir)/powerman $(DESTDIR)$(bindir)/off -- ln -s $(bindir)/powerman $(DESTDIR)$(bindir)/on - ln -s $(bindir)/powerman $(DESTDIR)$(bindir)/pm - $(mkinstalldirs) $(DESTDIR)$(sbindir) - $(INSTALL) src/powermand $(DESTDIR)$(sbindir)/ @@ -68,12 +67,10 @@ $FreeBSD$ - $(INSTALL) -m 644 man/powerman-devices.7 $(DESTDIR)$(mandir)/man7 - $(mkinstalldirs) $(DESTDIR)/etc/rc.d/init.d - $(INSTALL) -m 755 scripts/powerman.init $(DESTDIR)/etc/rc.d/init.d/powerman -+ $(mkinstalldirs) $(bindir) ++ $(mkinstalldirs) $(bindir) + ${BSD_INSTALL_PROGRAM} src/powerman $(bindir)/ -+ ln -s $(bindir)/powerman $(bindir)/off -+ ln -s $(bindir)/powerman $(bindir)/on + ln -s $(bindir)/powerman $(bindir)/pm -+ $(mkinstalldirs) $(sbindir) ++ $(mkinstalldirs) $(sbindir) + ${BSD_INSTALL_PROGRAM} src/powermand $(sbindir)/ + $(mkinstalldirs) $(packagedir) + ${BSD_INSTALL_DATA} etc/baytech.dev $(packagedir) @@ -85,7 +82,7 @@ $FreeBSD$ + ${BSD_INSTALL_DATA} etc/wti-rps10.dev $(packagedir) + ${BSD_INSTALL_DATA} etc/apc.dev $(packagedir) + ${BSD_INSTALL_DATA} etc/apcnew.dev $(packagedir) -+# $(INSTALL) etc/vicebox.dev $(packagedir) ++# ${BSD_INSTALL_DATA} etc/vicebox.dev $(packagedir) + ${BSD_INSTALL_DATA} etc/vpc.dev $(packagedir) + ${BSD_INSTALL_DATA} etc/ibmh8.dev $(packagedir) + ${BSD_INSTALL_DATA} etc/phantom.dev $(packagedir) @@ -95,10 +92,11 @@ $FreeBSD$ + ${BSD_INSTALL_DATA} etc/ipmipower.dev $(packagedir) + $(mkinstalldirs) $(mandir)/man1 + ${BSD_INSTALL_DATA} man/powerman.1 $(mandir)/man1 ++ $(mkinstalldirs) $(mandir)/man8 + ${BSD_INSTALL_DATA} man/powermand.1 $(mandir)/man8/powermand.8 -+ $(mkinstalldirs) $(mandir)/man5 ++ $(mkinstalldirs) $(mandir)/man5 + ${BSD_INSTALL_DATA} man/powerman.conf.5 $(mandir)/man5 -+ $(mkinstalldirs) $(mandir)/man7 ++ $(mkinstalldirs) $(mandir)/man7 + ${BSD_INSTALL_DATA} man/powerman-devices.7 $(mandir)/man7 + ${BSD_INSTALL_SCRIPT} scripts/powerman.init $(etcdir)/rc.d/powermand.sh diff --git a/sysutils/powerman/files/patch-man-powerman.1 b/sysutils/powerman/files/patch-man-powerman.1 index 85533db5534..2400270a502 100644 --- a/sysutils/powerman/files/patch-man-powerman.1 +++ b/sysutils/powerman/files/patch-man-powerman.1 @@ -1,8 +1,8 @@ $FreeBSD$ ---- man/powerman.1.orig Fri Oct 17 12:42:58 2003 -+++ man/powerman.1 Thu Jun 10 08:38:06 2004 -@@ -152,22 +152,22 @@ +--- man/powerman.1.orig Fri Dec 19 09:39:10 2003 ++++ man/powerman.1 Mon Aug 23 16:19:38 2004 +@@ -146,18 +146,18 @@ powerman --on "foo[0,4-5]" .fi .SH "FILES" @@ -15,14 +15,8 @@ $FreeBSD$ -/usr/bin/pm +%%PREFIX%%/bin/pm .br --/usr/bin/on -+%%PREFIX%%/bin/on - .br --/usr/bin/off -+%%PREFIX%%/bin/off - .br -/etc/powerman/powerman.conf -+%%PREFIX%%/etc/powerman.conf ++%%PREFIX%%/etc/powerman/powerman.conf .br -/etc/powerman/*.dev +%%PREFIX%%/etc/powerman/*.dev |