git: eab2da25d880 - main - graphics/exrtools: Move manpages to share/man

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 17:43:58 UTC
The branch main has been updated by ehaupt:

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

commit eab2da25d88041b929ca2b3589606aef189f291a
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 17:39:12 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 17:43:28 +0000

    graphics/exrtools: Move manpages to share/man
---
 graphics/exrtools/Makefile  | 11 +++++++----
 graphics/exrtools/pkg-plist | 24 ++++++++++++------------
 2 files changed, 19 insertions(+), 16 deletions(-)

diff --git a/graphics/exrtools/Makefile b/graphics/exrtools/Makefile
index e7e1a3c70c8e..94b0861bffea 100644
--- a/graphics/exrtools/Makefile
+++ b/graphics/exrtools/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	exrtools
-PORTVERSION=	0.4
-PORTREVISION=	34
+DISTVERSION=	0.4
+PORTREVISION=	35
 CATEGORIES=	graphics
 MASTER_SITES=	http://scanline.ca/exrtools/ \
 		LOCAL/ehaupt
@@ -12,13 +12,16 @@ WWW=		http://scanline.ca/exrtools/
 LICENSE=	GPLv2
 
 LIB_DEPENDS=	libImath.so:math/Imath \
-		libpng.so:graphics/png \
-		libOpenEXR.so:graphics/openexr
+		libOpenEXR.so:graphics/openexr \
+		libpng.so:graphics/png
 
 USES=		compiler:c++11-lang gmake jpeg localbase:ldflags pkgconfig
 
 GNU_CONFIGURE=	yes
 
+# remove after manprefix migration
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|<values\.h>|<float.h>|' \
 		${WRKSRC}/src/exrnormalize.c \
diff --git a/graphics/exrtools/pkg-plist b/graphics/exrtools/pkg-plist
index 52bbdf027903..24384cf70244 100644
--- a/graphics/exrtools/pkg-plist
+++ b/graphics/exrtools/pkg-plist
@@ -9,15 +9,15 @@ bin/exrtopng
 bin/jpegtoexr
 bin/pngtoexr
 bin/ppmtoexr
-man/man1/exrblur.1.gz
-man/man1/exrchr.1.gz
-man/man1/exricamtm.1.gz
-man/man1/exrnlm.1.gz
-man/man1/exrnormalize.1.gz
-man/man1/exrpptm.1.gz
-man/man1/exrstats.1.gz
-man/man1/exrtools.1.gz
-man/man1/exrtopng.1.gz
-man/man1/jpegtoexr.1.gz
-man/man1/pngtoexr.1.gz
-man/man1/ppmtoexr.1.gz
+share/man/man1/exrblur.1.gz
+share/man/man1/exrchr.1.gz
+share/man/man1/exricamtm.1.gz
+share/man/man1/exrnlm.1.gz
+share/man/man1/exrnormalize.1.gz
+share/man/man1/exrpptm.1.gz
+share/man/man1/exrstats.1.gz
+share/man/man1/exrtools.1.gz
+share/man/man1/exrtopng.1.gz
+share/man/man1/jpegtoexr.1.gz
+share/man/man1/pngtoexr.1.gz
+share/man/man1/ppmtoexr.1.gz