git: a810370066ad - main - graphics/ufraw: moved manpages to share/man

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Mon, 04 Mar 2024 09:52:16 UTC
The branch main has been updated by rodrigo:

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

commit a810370066adf6a2532992837d1672c2d1d4fe15
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-02-28 18:06:15 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-03-04 09:50:43 +0000

    graphics/ufraw: moved manpages to share/man
    
    Set GNU_CONFIGURE_MANPREFIX and fix plist
    Fix formatting to make linters happy
---
 graphics/ufraw/Makefile  | 15 ++++++++-------
 graphics/ufraw/pkg-plist |  2 +-
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/graphics/ufraw/Makefile b/graphics/ufraw/Makefile
index a3f57754b009..dfbec72e28e2 100644
--- a/graphics/ufraw/Makefile
+++ b/graphics/ufraw/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ufraw
 PORTVERSION=	0.22.20210424
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	graphics
 
 MAINTAINER=	rodrigo@FreeBSD.org
@@ -17,18 +17,19 @@ LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libpng.so:graphics/png \
 		libtiff.so:graphics/tiff
 
-USES=		autoreconf compiler:c++11-lang desktop-file-utils gettext \
-		gmake gnome jpeg pkgconfig
+USES=		autoreconf compiler:c++11-lang desktop-file-utils gettext gmake \
+		gnome jpeg pkgconfig
 USE_CXXSTD=	gnu++14
 USE_GITHUB=	yes
 GH_ACCOUNT=	sergiomb2
 GH_TAGNAME=	f34669b
 USE_GNOME+=	cairo gdkpixbuf2 glib20 gtk20
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-extras \
-		--enable-jasper \
-		--disable-mime
+GNU_CONFIGURE=			yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+CONFIGURE_ARGS=			--disable-mime \
+				--enable-extras \
+				--enable-jasper
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 #CXXFLAGS+=	-D_NOEXCEPT=noexcept
diff --git a/graphics/ufraw/pkg-plist b/graphics/ufraw/pkg-plist
index ec092150b1d4..2236b06ae7aa 100644
--- a/graphics/ufraw/pkg-plist
+++ b/graphics/ufraw/pkg-plist
@@ -3,7 +3,7 @@ bin/nikon-curve
 %%GTK2%%bin/ufraw
 bin/ufraw-batch
 %%GIMP%%libexec/gimp/2.2/plug-ins/ufraw-gimp
-man/man1/ufraw.1.gz
+share/man/man1/ufraw.1.gz
 share/applications/ufraw.desktop
 share/locale/ca/LC_MESSAGES/ufraw.mo
 share/locale/cs/LC_MESSAGES/ufraw.mo