git: 7bda35ce9955 - main - x11-wm/amiwm: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 17:53:07 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7bda35ce995551b15e619f33ac407c412373e611

commit 7bda35ce995551b15e619f33ac407c412373e611
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 17:41:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 17:52:34 +0000

    x11-wm/amiwm: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 x11-wm/amiwm/Makefile                |  1 +
 x11-wm/amiwm/files/patch-Makefile.in | 17 +++++++++++++----
 x11-wm/amiwm/pkg-plist               |  2 +-
 3 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/x11-wm/amiwm/Makefile b/x11-wm/amiwm/Makefile
index 46eb989c3a80..39f2f8bff906 100644
--- a/x11-wm/amiwm/Makefile
+++ b/x11-wm/amiwm/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	amiwm
 PORTVERSION=	0.22.pl2
+PORTREVISION=	1
 CATEGORIES=	x11-wm
 MASTER_SITES=	https://ftp.lysator.liu.se/pub/X11/wm/amiwm/
 DISTNAME=	${PORTNAME}0.22pl2
diff --git a/x11-wm/amiwm/files/patch-Makefile.in b/x11-wm/amiwm/files/patch-Makefile.in
index 83dd1a3991ec..c00867e33bf7 100644
--- a/x11-wm/amiwm/files/patch-Makefile.in
+++ b/x11-wm/amiwm/files/patch-Makefile.in
@@ -1,6 +1,15 @@
---- Makefile.in.orig	2010-07-20 00:07:34.000000000 +0800
-+++ Makefile.in	2014-07-02 09:42:52.170996007 +0800
-@@ -43,7 +43,7 @@ DISTFILES = README README.modules INSTAL
+--- Makefile.in.orig	2023-04-16 16:11:41 UTC
++++ Makefile.in
+@@ -14,7 +14,7 @@ libdir = $(exec_prefix)/lib
+ exec_prefix = @exec_prefix@
+ bindir = $(exec_prefix)/bin
+ libdir = $(exec_prefix)/lib
+-mandir = $(prefix)/man
++mandir = $(prefix)/share/man
+ INSTALL = @INSTALL@
+ LN_S = @LN_S@
+ RM = -rm -f
+@@ -44,7 +44,7 @@ PACKAGENAME = amiwm
  
  PACKAGENAME = amiwm
  
@@ -9,7 +18,7 @@
  
  all : lib_all
  	@$(MAKE) local_all
-@@ -88,32 +88,32 @@ kbdlexer.c : kbdlexer.l
+@@ -89,32 +89,32 @@ install : $(PROGS) $(MODULES) Xsession Xsession2 Xinit
  	$(LEX) -t $< > kbdlexer.c
  
  install : $(PROGS) $(MODULES) Xsession Xsession2 Xinitrc amiwm-init
diff --git a/x11-wm/amiwm/pkg-plist b/x11-wm/amiwm/pkg-plist
index 101aeda8b12a..e284fb68c7bf 100644
--- a/x11-wm/amiwm/pkg-plist
+++ b/x11-wm/amiwm/pkg-plist
@@ -15,6 +15,6 @@ lib/X11/amiwm/requestchoice
 lib/X11/amiwm/schwartz.map
 lib/X11/amiwm/system.amiwmrc
 lib/X11/amiwm/system.map
-man/man1/amiwm.1.gz
+share/man/man1/amiwm.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/README.modules