git: 245cfa940952 - main - converters/ascii2binary: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 03 Mar 2024 11:08:20 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=245cfa9409526e85ead22335ee5e29d7260041f2

commit 245cfa9409526e85ead22335ee5e29d7260041f2
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-03 10:06:47 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-03 11:08:07 +0000

    converters/ascii2binary: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 converters/ascii2binary/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/converters/ascii2binary/Makefile b/converters/ascii2binary/Makefile
index 53f469cee0c0..9ea71a49205f 100644
--- a/converters/ascii2binary/Makefile
+++ b/converters/ascii2binary/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ascii2binary
 PORTVERSION=	2.14
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	converters
 MASTER_SITES=	http://billposer.org/Software/Downloads/
 
@@ -13,12 +13,13 @@ LICENSE=	GPLv3
 USES=		gettext tar:bzip2
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 PLIST_FILES=	bin/ascii2binary bin/binary2ascii \
-		man/man1/ascii2binary.1.gz \
-		man/man1/binary2ascii.1.gz
+		share/man/man1/ascii2binary.1.gz \
+		share/man/man1/binary2ascii.1.gz
 
 pre-configure:
 	${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|" ${WRKSRC}/Makefile.in