git: b5b674a52603 - main - science/wxmacmolplt: Move man pages to share/man

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

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

commit b5b674a52603590fdc129e07fc4c29ca8af8644c
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-21 16:09:28 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-21 17:10:16 +0000

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

diff --git a/science/wxmacmolplt/Makefile b/science/wxmacmolplt/Makefile
index aa1f9c6a3193..8918ce490238 100644
--- a/science/wxmacmolplt/Makefile
+++ b/science/wxmacmolplt/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	wxmacmolplt
 DISTVERSIONPREFIX=	v
 DISTVERSION=	7.7-43
-PORTREVISION=	4
+PORTREVISION=	5
 DISTVERSIONSUFFIX=	-g9a46f7a
 CATEGORIES=	science
 
@@ -17,6 +17,7 @@ USES=		autoreconf compiler:c++11-lang gl gmake localbase:ldflags \
 USE_GITHUB=	yes
 GH_ACCOUNT=	brettbode
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--with-wx-config=${WX_CONFIG}
 USE_WX=		3.0 # configure crashes with 3.1: checking for wxWidgets libraries... Segmentation fault (core dumped)
 USE_GL=		gl glew glu
diff --git a/science/wxmacmolplt/pkg-plist b/science/wxmacmolplt/pkg-plist
index 2dcddc31214e..cd7c7431f79c 100644
--- a/science/wxmacmolplt/pkg-plist
+++ b/science/wxmacmolplt/pkg-plist
@@ -1,5 +1,5 @@
 bin/wxmacmolplt
-man/man1/wxmacmolplt.1.gz
+share/man/man1/wxmacmolplt.1.gz
 %%DATADIR%%/BsVeraSans.fdb
 %%DATADIR%%/MacMolPlt.Prefs.xml
 %%DATADIR%%/MacMolPlt_Manual.html