Package: cwm / 5.6-4

rename-cwm Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
Rename cwm and cwmrc.1 to start with 'openbsd-' to avoid conflict.
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 # cwm makefile for BSD make and GNU make
 # uses pkg-config, DESTDIR and PREFIX
 
-PROG=		cwm
+PROG=		openbsd-cwm
 
 PREFIX?=	/usr/local
 
@@ -38,8 +38,8 @@
 
 install: ${PROG}
 	install -d ${DESTDIR}${PREFIX}/bin ${DESTDIR}${MANPREFIX}/man1 ${DESTDIR}${MANPREFIX}/man5
-	install -m 755 cwm ${DESTDIR}${PREFIX}/bin
-	install -m 644 cwm.1 ${DESTDIR}${MANPREFIX}/man1
+	install -m 755 ${PROG} ${DESTDIR}${PREFIX}/bin
+	install -m 644 cwm.1 ${DESTDIR}${MANPREFIX}/man1/openbsd-cwm.1
 	install -m 644 cwmrc.5 ${DESTDIR}${MANPREFIX}/man5
 
 release:
--- a/cwm.1
+++ b/cwm.1
@@ -15,14 +15,14 @@
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
 .Dd $Mdocdate$
-.Dt CWM 1
+.Dt OPENBSD-CWM 1
 .Os
 .Sh NAME
-.Nm cwm
+.Nm openbsd-cwm
 .Nd a lightweight and efficient window manager for X11
 .Sh SYNOPSIS
 .\" For a program:  program [-abc] file ...
-.Nm cwm
+.Nm openbsd-cwm
 .Op Fl c Ar file
 .Op Fl d Ar display
 .Sh DESCRIPTION
--- a/cwmrc.5
+++ b/cwmrc.5
@@ -22,7 +22,7 @@
 .Nd calm window manager configuration file
 .Sh DESCRIPTION
 This manual page describes the
-.Xr cwm 1
+.Xr openbsd-cwm 1
 configuration file.
 .Pp
 The current line can be extended over multiple lines using a backslash
@@ -232,7 +232,7 @@
 Toggle sticky group mode.
 The default behavior for new windows is to not assign any group.
 By enabling sticky group mode,
-.Xr cwm 1
+.Xr openbsd-cwm 1
 will assign new windows to the currently selected group.
 .El
 .Sh EXAMPLE CONFIGURATION
@@ -281,10 +281,10 @@
 .Bl -tag -width 18n -compact
 .It restart
 Restart the running
-.Xr cwm 1 .
+.Xr openbsd-cwm 1 .
 .It quit
 Quit
-.Xr cwm 1 .
+.Xr openbsd-cwm 1 .
 .It terminal
 Spawn a new terminal.
 .It lock
@@ -483,11 +483,11 @@
 .Bl -tag -width "~/.cwmrcXXX" -compact
 .It Pa ~/.cwmrc
 default
-.Xr cwm 1
+.Xr openbsd-cwm 1
 configuration file
 .El
 .Sh SEE ALSO
-.Xr cwm 1
+.Xr openbsd-cwm 1
 .Sh HISTORY
 The
 .Nm