git: 66040cf3bc85 - main - graphics/gocr: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 09:48:44 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=66040cf3bc8561927ff24cf55b09016625a669b6

commit 66040cf3bc8561927ff24cf55b09016625a669b6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 09:05:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 09:48:05 +0000

    graphics/gocr: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 graphics/gocr/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/graphics/gocr/Makefile b/graphics/gocr/Makefile
index 602ef31aff41..5fe77a3a1e6d 100644
--- a/graphics/gocr/Makefile
+++ b/graphics/gocr/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gocr
 PORTVERSION=	0.52
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://www-e.uni-magdeburg.de/jschulen/ocr/
 
@@ -13,11 +14,12 @@ LIB_DEPENDS=	libnetpbm.so:graphics/netpbm
 
 USES=		gmake
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--with-netpbm=${LOCALBASE}
 MAKE_ARGS=	prefix=${PREFIX} exec_prefix=${PREFIX}
 
 PLIST_FILES=	bin/gocr \
-		man/man1/gocr.1.gz
+		share/man/man1/gocr.1.gz
 PORTDOCS=	*
 
 DOCSRCDIR1=	${WRKSRC}