git: f898b19b77f5 - main - science/chemtool: Move man pages to share/man

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

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

commit f898b19b77f518ab531a5b0a46176a9ac6c348cc
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-21 11:06:28 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-21 12:34:32 +0000

    science/chemtool: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 science/chemtool/Makefile  | 3 ++-
 science/chemtool/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/science/chemtool/Makefile b/science/chemtool/Makefile
index b4c824a7acd7..442ee9a9ca68 100644
--- a/science/chemtool/Makefile
+++ b/science/chemtool/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	chemtool
 DISTVERSION=	1.6.14
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	science
 MASTER_SITES=	http://ruby.chemie.uni-freiburg.de/~martin/chemtool/
 
@@ -18,6 +18,7 @@ RUN_DEPENDS=	fig2dev:print/fig2dev
 
 USES=		compiler:c++11-lang gmake gnome pkgconfig xorg
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--enable-emf=yes --with-localedir=${PREFIX}
 USE_GNOME=	cairo gdkpixbuf2 gtk20
 USE_XORG=	x11
diff --git a/science/chemtool/pkg-plist b/science/chemtool/pkg-plist
index 57ca35a17c43..399cf5049630 100644
--- a/science/chemtool/pkg-plist
+++ b/science/chemtool/pkg-plist
@@ -1,8 +1,6 @@
 bin/chemtool
 bin/chemtoolbg
 bin/cht
-man/man1/chemtool.1.gz
-man/man1/cht.1.gz
 %%NLS%%share/locale/bg/LC_MESSAGES/chemtool.mo
 %%NLS%%share/locale/cs/LC_MESSAGES/chemtool.mo
 %%NLS%%share/locale/de/LC_MESSAGES/chemtool.mo
@@ -12,3 +10,5 @@ man/man1/cht.1.gz
 %%NLS%%share/locale/pt_BR/LC_MESSAGES/chemtool.mo
 %%NLS%%share/locale/pt_PT/LC_MESSAGES/chemtool.mo
 %%NLS%%share/locale/ru/LC_MESSAGES/chemtool.mo
+share/man/man1/chemtool.1.gz
+share/man/man1/cht.1.gz