git: 528fb8f8d3cf - main - devel/elf: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 11:25:35 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=528fb8f8d3cfdc92fb8fef4d9efc7647a87f8850

commit 528fb8f8d3cfdc92fb8fef4d9efc7647a87f8850
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 11:05:08 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 11:25:08 +0000

    devel/elf: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/elf/Makefile                     |  4 ++--
 devel/elf/files/patch-Makefile.in      |  6 +++---
 devel/elf/files/patch-doc__Makefile.in | 14 ++++++++++----
 devel/elf/files/patch-src__Makefile.in |  9 +++++----
 4 files changed, 20 insertions(+), 13 deletions(-)

diff --git a/devel/elf/Makefile b/devel/elf/Makefile
index a8c03f3d9db7..b1628609ab42 100644
--- a/devel/elf/Makefile
+++ b/devel/elf/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	elf
 PORTVERSION=	0.5.4p1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	devel
 MASTER_SITES=	PACKETSTORM/linux/reverse-engineering
 
@@ -12,7 +12,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		gmake libedit readline
 GNU_CONFIGURE=	yes
-PLIST_FILES=	bin/elf man/man1/elf.1.gz
+PLIST_FILES=	bin/elf share/man/man1/elf.1.gz
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/src/Makefile.in
diff --git a/devel/elf/files/patch-Makefile.in b/devel/elf/files/patch-Makefile.in
index cf52ecdcbed1..a25b2a467c28 100644
--- a/devel/elf/files/patch-Makefile.in
+++ b/devel/elf/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig	2014-06-07 13:38:33.334423095 +0800
-+++ Makefile.in	2014-06-07 13:39:03.004421673 +0800
-@@ -1,9 +1,9 @@
+--- Makefile.in.orig	2003-09-20 14:23:28 UTC
++++ Makefile.in
+@@ -1,9 +1,9 @@ all:		./src/Makefile
  all:		./src/Makefile
 -		cd ./src; make; cd ../
 +		cd ./src; ${MAKE}
diff --git a/devel/elf/files/patch-doc__Makefile.in b/devel/elf/files/patch-doc__Makefile.in
index 6656b0e34cec..9155ab611f8d 100644
--- a/devel/elf/files/patch-doc__Makefile.in
+++ b/devel/elf/files/patch-doc__Makefile.in
@@ -1,11 +1,17 @@
---- doc/Makefile.in.orig	2014-06-07 13:36:10.752433006 +0800
-+++ doc/Makefile.in	2014-06-07 13:36:26.417432242 +0800
-@@ -5,8 +5,8 @@ INSDIR=@prefix@/man/man1
+--- doc/Makefile.in.orig	2003-09-20 14:23:28 UTC
++++ doc/Makefile.in
+@@ -1,12 +1,12 @@ INC=-I../include
+ CC=gcc
+ CFLAGS=@CFLAGS@
+ INC=-I../include
+-INSDIR=@prefix@/man/man1
++INSDIR=@prefix@/share/man/man1
  
  
- install:	
+-install:	
 -		cp elf.1 $(INSDIR)/
 -		chmod 644 $(INSDIR)/elf.1
++install:
 +		cp elf.1 $(DESTDIR)$(INSDIR)/
 +		chmod 644 $(DESTDIR)$(INSDIR)/elf.1
  
diff --git a/devel/elf/files/patch-src__Makefile.in b/devel/elf/files/patch-src__Makefile.in
index d6bc0d078c6a..33a6ca0787ed 100644
--- a/devel/elf/files/patch-src__Makefile.in
+++ b/devel/elf/files/patch-src__Makefile.in
@@ -1,8 +1,9 @@
---- src/Makefile.in.orig	2003-09-20 10:23:28.000000000 -0400
-+++ src/Makefile.in	2014-08-15 12:59:59.000000000 -0400
+--- src/Makefile.in.orig	2003-09-20 14:23:28 UTC
++++ src/Makefile.in
 @@ -1,9 +1,9 @@
- CC=gcc
+-CC=gcc
 -INC=-I../include
++CC=cc
 +INC=-I../include ${CPPFLAGS}
  CFLAGS=@CFLAGS@
  PREFIX=@prefix@
@@ -12,7 +13,7 @@
  
  elf:		main.o elf.o
  		$(CC) $(CFLAGS) $(INC) main.o elf.o -o elf $(LIBS)
-@@ -16,7 +16,7 @@
+@@ -16,7 +16,7 @@ install:	elf
  		$(CC) $(CFLAGS) $(INC) -c main.c
  
  install:	elf