x11-wm/i3: add PREFIX to the man pages pathes
Bump PORTREVISION. Approved by: bapt (maintainer)
This commit is contained in:
parent
9b39331539
commit
b998385f30
@ -1,5 +1,6 @@
|
|||||||
PORTNAME= i3
|
PORTNAME= i3
|
||||||
DISTVERSION= 4.24
|
DISTVERSION= 4.24
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= x11-wm
|
CATEGORIES= x11-wm
|
||||||
MASTER_SITES= https://i3wm.org/downloads/ \
|
MASTER_SITES= https://i3wm.org/downloads/ \
|
||||||
http://i3wm.org/downloads/
|
http://i3wm.org/downloads/
|
||||||
@ -40,4 +41,9 @@ MAKE_JOBS_UNSAFE= yes
|
|||||||
|
|
||||||
CONFLICTS_INSTALL= i3-gaps
|
CONFLICTS_INSTALL= i3-gaps
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
|
||||||
|
${WRKSRC}/man/i3-config-wizard.1 \
|
||||||
|
${WRKSRC}/man/i3.1
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|||||||
17
x11-wm/i3/files/patch-man_i3-config-wizard.1
Normal file
17
x11-wm/i3/files/patch-man_i3-config-wizard.1
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
--- man/i3-config-wizard.1.orig 2025-06-15 17:44:02 UTC
|
||||||
|
+++ man/i3-config-wizard.1
|
||||||
|
@@ -54,12 +54,12 @@ Display a short help message and exit\&.
|
||||||
|
Display a short help message and exit\&.
|
||||||
|
.RE
|
||||||
|
.SH "FILES"
|
||||||
|
-.SS "/etc/i3/config\&.keycodes"
|
||||||
|
+.SS "%%PREFIX%%/etc/i3/config\&.keycodes"
|
||||||
|
.sp
|
||||||
|
This file contains the default configuration with keycodes\&. All the bindcode lines will be transformed to bindsym and the user\-specified modifier will be used\&.
|
||||||
|
.SH "DESCRIPTION"
|
||||||
|
.sp
|
||||||
|
-i3\-config\-wizard is started by i3 in its default config, unless ~/\&.i3/config exists\&. i3\-config\-wizard creates a keysym based i3 config file (based on /etc/i3/config\&.keycodes) in ~/\&.i3/config\&.
|
||||||
|
+i3\-config\-wizard is started by i3 in its default config, unless ~/\&.i3/config exists\&. i3\-config\-wizard creates a keysym based i3 config file (based on %%PREFIX%%/etc/i3/config\&.keycodes) in ~/\&.i3/config\&.
|
||||||
|
.sp
|
||||||
|
The advantage of using keysyms is that the config file is easy to read, understand and modify\&. However, if we shipped with a keysym based default config file, the key positions would not be consistent across different keyboard layouts (take for example the homerow for movement)\&. Therefore, we ship with a keycode based default config and let the wizard transform it according to your current keyboard layout\&.
|
||||||
|
.SH "SEE ALSO"
|
||||||
20
x11-wm/i3/files/patch-man_i3.1
Normal file
20
x11-wm/i3/files/patch-man_i3.1
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- man/i3.1.orig 2024-11-06 17:26:59 UTC
|
||||||
|
+++ man/i3.1
|
||||||
|
@@ -261,7 +261,7 @@ When starting, i3 looks for configuration files in the
|
||||||
|
.sp -1
|
||||||
|
.IP " 3." 4.2
|
||||||
|
.\}
|
||||||
|
-/etc/xdg/i3/config (or $XDG_CONFIG_DIRS/i3/config if set)
|
||||||
|
+/usr/local/etc/xdg/i3/config (or $XDG_CONFIG_DIRS/i3/config if set)
|
||||||
|
.RE
|
||||||
|
.sp
|
||||||
|
.RS 4
|
||||||
|
@@ -272,7 +272,7 @@ When starting, i3 looks for configuration files in the
|
||||||
|
.sp -1
|
||||||
|
.IP " 4." 4.2
|
||||||
|
.\}
|
||||||
|
-/etc/i3/config
|
||||||
|
+/usr/local/etc/i3/config
|
||||||
|
.RE
|
||||||
|
.sp
|
||||||
|
You can specify a custom path using the \-c option\&.
|
||||||
Loading…
x
Reference in New Issue
Block a user