git: ea7428e1599b - main - graphics/libimg: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 12:58:52 UTC
The branch main has been updated by eduardo:

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

commit ea7428e1599bcef46cfaa8a20cf89501da1f6654
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 12:13:16 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 12:58:24 +0000

    graphics/libimg: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 graphics/libimg/Makefile  |  3 +++
 graphics/libimg/pkg-plist | 40 ++++++++++++++++++++--------------------
 2 files changed, 23 insertions(+), 20 deletions(-)

diff --git a/graphics/libimg/Makefile b/graphics/libimg/Makefile
index d845377860c7..84ff7ee9b071 100644
--- a/graphics/libimg/Makefile
+++ b/graphics/libimg/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libimg
 PORTVERSION=	1.4.16
+PORTREVISION=	1
 CATEGORIES?=	graphics tk tcl
 MASTER_SITES=	SF/tkimg/tkimg/${PORTVERSION:R}/tkimg%20${PORTVERSION}
 DISTNAME=	Img-${PORTVERSION}-Source
@@ -32,6 +33,8 @@ DOS2UNIX_GLOB=	*.[ch] *.tcl *.msg *.in *.test license.terms
 EXTRACT_AFTER_ARGS=	--exclude 'config.*' --exclude Makefile --exclude \
 			'compat' --exclude win
 MAKE_ARGS+=	INSTALL_ROOT="${STAGEDIR}"
+GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ENV=	WRKDIR="${WRKDIR}"
 CONFIGURE_ARGS+=--enable-shared --disable-stubs
 
diff --git a/graphics/libimg/pkg-plist b/graphics/libimg/pkg-plist
index 5c3d1775c480..9f92210d33ad 100644
--- a/graphics/libimg/pkg-plist
+++ b/graphics/libimg/pkg-plist
@@ -7,26 +7,6 @@
 %%EXAMPLES%%%%EXAMPLESDIR%%/msgs/fr.msg
 %%EXAMPLES%%%%EXAMPLESDIR%%/msgs/ja.msg
 %%EXAMPLES%%%%EXAMPLESDIR%%/msgs/nl.msg
-man/mann/img-bmp.n.gz
-man/mann/img-dted.n.gz
-man/mann/img-gif.n.gz
-man/mann/img-flir.n.gz
-man/mann/img-ico.n.gz
-man/mann/img-jpeg.n.gz
-man/mann/img-pcx.n.gz
-man/mann/img-pixmap.n.gz
-man/mann/img-png.n.gz
-man/mann/img-ppm.n.gz
-man/mann/img-ps.n.gz
-man/mann/img-raw.n.gz
-man/mann/img-sgi.n.gz
-man/mann/img-sun.n.gz
-man/mann/img-tga.n.gz
-man/mann/img-tiff.n.gz
-man/mann/img-window.n.gz
-man/mann/img-xbm.n.gz
-man/mann/img-xpm.n.gz
-man/mann/img.n.gz
 lib/Img/libtkimg%%PORTVERSION%%.so
 lib/Img/libtkimgbmp%%PORTVERSION%%.so
 lib/Img/libtkimgdted%%PORTVERSION%%.so
@@ -50,6 +30,26 @@ lib/Img/libtkimgwindow%%PORTVERSION%%.so
 lib/Img/libtkimgxpm%%PORTVERSION%%.so
 lib/Img/pkgIndex.tcl
 lib/Img/tkimgConfig.sh
+share/man/mann/img-bmp.n.gz
+share/man/mann/img-dted.n.gz
+share/man/mann/img-gif.n.gz
+share/man/mann/img-flir.n.gz
+share/man/mann/img-ico.n.gz
+share/man/mann/img-jpeg.n.gz
+share/man/mann/img-pcx.n.gz
+share/man/mann/img-pixmap.n.gz
+share/man/mann/img-png.n.gz
+share/man/mann/img-ppm.n.gz
+share/man/mann/img-ps.n.gz
+share/man/mann/img-raw.n.gz
+share/man/mann/img-sgi.n.gz
+share/man/mann/img-sun.n.gz
+share/man/mann/img-tga.n.gz
+share/man/mann/img-tiff.n.gz
+share/man/mann/img-window.n.gz
+share/man/mann/img-xbm.n.gz
+share/man/mann/img-xpm.n.gz
+share/man/mann/img.n.gz
 @comment include/tkimg.h
 @comment include/tkimgDecls.h
 @comment lib/tkimgConfig.sh