git: d8adba75ecba - main - graphics/opendx: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 03:48:37 UTC
The branch main has been updated by bofh:

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

commit d8adba75ecba32a46b49bc07ac46bf542612018a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-22 03:30:48 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 03:48:07 +0000

    graphics/opendx: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 graphics/opendx/Makefile                         | 3 ++-
 graphics/opendx/files/patch-man_manl_Makefile.in | 2 +-
 graphics/opendx/pkg-plist                        | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile
index 32f0bb43e5f8..1978f7379061 100644
--- a/graphics/opendx/Makefile
+++ b/graphics/opendx/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	opendx
 PORTVERSION=	4.4.4
-PORTREVISION=	37
+PORTREVISION=	38
 CATEGORIES=	graphics math java
 MASTER_SITES=	http://www.sfr-fresh.com/unix/misc/
 DISTNAME=	dx-${PORTVERSION}
@@ -25,6 +25,7 @@ USE_LDCONFIG=	yes
 USE_XORG=	x11 xt xinerama xext xpm xmu sm ice
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--enable-shared
 CONFIGURE_ENV=	ARCH=freebsd
 
diff --git a/graphics/opendx/files/patch-man_manl_Makefile.in b/graphics/opendx/files/patch-man_manl_Makefile.in
index db0c942362ca..d77845881ba2 100644
--- a/graphics/opendx/files/patch-man_manl_Makefile.in
+++ b/graphics/opendx/files/patch-man_manl_Makefile.in
@@ -5,7 +5,7 @@
  libexecdir = @libexecdir@
  localstatedir = @localstatedir@
 -mandir = $(prefix)/dx/man
-+mandir = $(prefix)/man
++mandir = $(prefix)/share/man
  mkdir_p = @mkdir_p@
  oldincludedir = @oldincludedir@
  prefix = @prefix@
diff --git a/graphics/opendx/pkg-plist b/graphics/opendx/pkg-plist
index b438307cb059..8a22ee9e9724 100644
--- a/graphics/opendx/pkg-plist
+++ b/graphics/opendx/pkg-plist
@@ -2321,4 +2321,4 @@ dx/ui/testimp.net
 dx/ui/testssheet.net
 dx/ui/ui.mdf
 dx/ui/viewer.net
-man/manl/dx.l.gz
+share/man/manl/dx.l.gz