git: 85add4ad4050 - main - graphics/jpegoptim: Move man pages to share/man

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Tue, 23 Jan 2024 14:48:51 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=85add4ad40500bbb2c00a9dbe51344eecaa16bbd

commit 85add4ad40500bbb2c00a9dbe51344eecaa16bbd
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-23 14:48:39 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-23 14:48:46 +0000

    graphics/jpegoptim: Move man pages to share/man
---
 graphics/jpegoptim/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/graphics/jpegoptim/Makefile b/graphics/jpegoptim/Makefile
index 0c869d3a43ec..80687e790431 100644
--- a/graphics/jpegoptim/Makefile
+++ b/graphics/jpegoptim/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	jpegoptim
 DISTVERSION=	1.5.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	https://www.kokkonen.net/tjko/src/
 
@@ -15,9 +15,10 @@ USES=		cpe gmake jpeg localbase:ldflags
 CPE_VENDOR=	${PORTNAME}_project
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 PLIST_FILES=	bin/jpegoptim \
-		man/man1/jpegoptim.1.gz
+		share/man/man1/jpegoptim.1.gz
 
 post-patch:
 	@${REINPLACE_CMD} -e \