git: 778cd12054fe - main - science/gchemutils: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 12:55:22 UTC
The branch main has been updated by bofh:

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

commit 778cd12054feb14955c75216a2df14e5a4773314
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 12:23:48 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 12:54:37 +0000

    science/gchemutils: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 science/gchemutils/Makefile  |  3 ++-
 science/gchemutils/pkg-plist | 12 ++++++------
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/science/gchemutils/Makefile b/science/gchemutils/Makefile
index cb3e6856343b..7c54225e49b6 100644
--- a/science/gchemutils/Makefile
+++ b/science/gchemutils/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gchemutils
 PORTVERSION=	0.14.17
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	science
 MASTER_SITES=	SAVANNAH/${PORTNAME}/${PORTVERSION:R}
 DISTNAME=	gnome-chemistry-utils-${PORTVERSION}
@@ -30,6 +30,7 @@ USE_GNOME=	cairo gtk30 intlhack libgsf libxml2
 USE_GL=		gl
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--with-omf-dir=${PREFIX}/share/omf
 GLIB_SCHEMAS=	org.gnome.gchemutils.crystal.gschema.xml \
 		org.gnome.gchemutils.gschema.xml \
diff --git a/science/gchemutils/pkg-plist b/science/gchemutils/pkg-plist
index ffedd4dfb450..40a81b53cf53 100644
--- a/science/gchemutils/pkg-plist
+++ b/science/gchemutils/pkg-plist
@@ -71,12 +71,12 @@ lib/libgcu-%%VER%%.so.%%VERSION%%
 %%XUL%%lib/xulrunner/plugins/libmozgcu.so
 %%XUL%%libexec/chem-viewer
 libexec/babelserver
-man/man1/gchem3d.1.gz
-man/man1/gchemcalc.1.gz
-man/man1/gchempaint.1.gz
-man/man1/gchemtable.1.gz
-man/man1/gcrystal.1.gz
-man/man1/gspectrum.1.gz
+share/man/man1/gchem3d.1.gz
+share/man/man1/gchemcalc.1.gz
+share/man/man1/gchempaint.1.gz
+share/man/man1/gchemtable.1.gz
+share/man/man1/gcrystal.1.gz
+share/man/man1/gspectrum.1.gz
 share/appdata/gchem3d.appdata.xml
 share/appdata/gchemcalc.appdata.xml
 share/appdata/gchempaint.appdata.xml