git: 5e5f74c1970e - main - converters/base91: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 18:19:54 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e5f74c1970e9e4b2059823ca5d0a7b4837e9503

commit 5e5f74c1970e9e4b2059823ca5d0a7b4837e9503
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-22 17:46:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 18:19:27 +0000

    converters/base91: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 converters/base91/Makefile             |  7 ++++---
 converters/base91/files/patch-Makefile | 10 +++-------
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/converters/base91/Makefile b/converters/base91/Makefile
index b10b096139c8..487ec01f86eb 100644
--- a/converters/base91/Makefile
+++ b/converters/base91/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	base91
 PORTVERSION=	0.6.0
+PORTREVISION=	1
 CATEGORIES=	converters
 MASTER_SITES=	SF/${PORTNAME}/basE91/${PORTVERSION}/
 
@@ -16,8 +17,8 @@ MAKE_ENV+=	INSTALL_DATA="${INSTALL_MAN}" INSTALL_PROGRAM="${INSTALL_PROGRAM}"
 PLIST_FILES=	bin/b91dec \
 		bin/b91enc \
 		bin/base91 \
-		man/man1/b91dec.1.gz \
-		man/man1/b91enc.1.gz \
-		man/man1/base91.1.gz
+		share/man/man1/b91dec.1.gz \
+		share/man/man1/b91enc.1.gz \
+		share/man/man1/base91.1.gz
 
 .include <bsd.port.mk>
diff --git a/converters/base91/files/patch-Makefile b/converters/base91/files/patch-Makefile
index 989205168c5d..73ddf207077d 100644
--- a/converters/base91/files/patch-Makefile
+++ b/converters/base91/files/patch-Makefile
@@ -1,6 +1,6 @@
 --- Makefile.orig	2006-09-03 18:00:00 UTC
 +++ Makefile
-@@ -1,15 +1,15 @@
+@@ -1,12 +1,12 @@
 -CFLAGS = -Wall -W -O2
 -LDFLAGS = -s
 +CFLAGS ?= -Wall -W -O2
@@ -19,12 +19,8 @@
 +prefix = ${PREFIX}
  exec_prefix = $(prefix)
  bindir = $(exec_prefix)/bin
--mandir = $(prefix)/share/man
-+mandir = $(prefix)/man
- man1dir = $(mandir)/man1
- manext = .1
- 
-@@ -23,7 +23,7 @@ all: $(BIN)
+ mandir = $(prefix)/share/man
+@@ -23,7 +23,7 @@ base91: cli.o base91.o
  	$(CC) $(CFLAGS) -c $<
  
  base91: cli.o base91.o