git: 7607a3d39bf4 - main - graphics/lcms2: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 27 Jan 2024 00:31:01 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7607a3d39bf420bd6aa6a0f9184abe9a601d3cc7

commit 7607a3d39bf420bd6aa6a0f9184abe9a601d3cc7
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-26 23:52:10 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-27 00:30:41 +0000

    graphics/lcms2: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 graphics/lcms2/Makefile  |  4 +++-
 graphics/lcms2/pkg-plist | 10 +++++-----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/graphics/lcms2/Makefile b/graphics/lcms2/Makefile
index 1932d83fcf90..f570898e9360 100644
--- a/graphics/lcms2/Makefile
+++ b/graphics/lcms2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	lcms2
 PORTVERSION=	2.16
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	https://github.com/mm2/Little-CMS/releases/download/lcms${PORTVERSION}/
 
@@ -15,6 +16,7 @@ USES=		cpe libtool localbase:ldflags pathfix
 
 CONFIGURE_ARGS=	--with-fastfloat --with-threaded
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 USE_LDCONFIG=	yes
@@ -36,7 +38,7 @@ TIFFICC_CONFIGURE_WITH=	tiff
 TIFFICC_LIB_DEPENDS=	libtiff.so:graphics/tiff
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/utils/linkicc/linkicc.1 ${WRKSRC}/utils/psicc/psicc.1 ${WRKSRC}/utils/transicc/transicc.1 ${STAGEDIR}${PREFIX}/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/utils/linkicc/linkicc.1 ${WRKSRC}/utils/psicc/psicc.1 ${WRKSRC}/utils/transicc/transicc.1 ${STAGEDIR}${PREFIX}/share/man/man1/
 
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/
diff --git a/graphics/lcms2/pkg-plist b/graphics/lcms2/pkg-plist
index 0e4d983d02dc..d015dc249cf1 100644
--- a/graphics/lcms2/pkg-plist
+++ b/graphics/lcms2/pkg-plist
@@ -20,11 +20,11 @@ lib/liblcms2_threaded.so
 lib/liblcms2_threaded.so.1
 lib/liblcms2_threaded.so.1.0.0
 libdata/pkgconfig/lcms2.pc
-%%JPEGICC%%man/man1/jpgicc.1.gz
-man/man1/linkicc.1.gz
-man/man1/psicc.1.gz
-%%TIFFICC%%man/man1/tificc.1.gz
-man/man1/transicc.1.gz
+%%JPEGICC%%share/man/man1/jpgicc.1.gz
+share/man/man1/linkicc.1.gz
+share/man/man1/psicc.1.gz
+%%TIFFICC%%share/man/man1/tificc.1.gz
+share/man/man1/transicc.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/LittleCMS%%PORTVERSION%% API.pdf
 %%PORTDOCS%%%%DOCSDIR%%/LittleCMS%%PORTVERSION%% Plugin API.pdf
 %%PORTDOCS%%%%DOCSDIR%%/LittleCMS%%PORTVERSION%% tutorial.pdf