git: 57c0901440cb - main - devel/omake: Moved man to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 19:41:14 UTC
The branch main has been updated by eduardo:

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

commit 57c0901440cb6e66944c304a4e2a5ebfcc833f65
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-02-23 19:20:51 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-02-23 19:41:02 +0000

    devel/omake: Moved man to share/man
---
 devel/omake/Makefile                    |  3 +--
 devel/omake/files/patch-mk_make__config | 13 +++++++++++++
 devel/omake/pkg-plist                   |  4 ++--
 3 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/devel/omake/Makefile b/devel/omake/Makefile
index 3358ec1e3e3a..6f32398bbcc5 100644
--- a/devel/omake/Makefile
+++ b/devel/omake/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	omake
 DISTVERSION=	0.10.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	http://download.camlcity.org/download/
 
@@ -17,7 +17,6 @@ USE_OCAML=	yes
 NO_OCAML_RUNDEPENDS=	yes
 HAS_CONFIGURE=	yes
 MAKE_ENV=	INSTALL_ROOT=${STAGEDIR}
-MAKE_JOBS_UNSAFE=	yes
 
 INFO=		omake-doc
 
diff --git a/devel/omake/files/patch-mk_make__config b/devel/omake/files/patch-mk_make__config
new file mode 100644
index 000000000000..57f7a95b300c
--- /dev/null
+++ b/devel/omake/files/patch-mk_make__config
@@ -0,0 +1,13 @@
+Manual patch for MANDIR, configure lacks -mandir option
+
+--- mk/make_config.orig	2024-02-23 18:54:11 UTC
++++ mk/make_config
+@@ -35,7 +35,7 @@ MakeConfig(CONFIG_FILE) =
+         include $(PRECONFIG_FILE)
+         BINDIR = $(PREFIX)/bin
+         LIBDIR = $(PREFIX)/lib
+-        MANDIR = $(PREFIX)/man
++        MANDIR = $(PREFIX)/share/man
+         export
+ 
+     #
diff --git a/devel/omake/pkg-plist b/devel/omake/pkg-plist
index 79c63c1bda39..3196151a8212 100644
--- a/devel/omake/pkg-plist
+++ b/devel/omake/pkg-plist
@@ -25,8 +25,8 @@ lib/omake/parse/LaTeX/Macros.om
 lib/omake/parse/LaTeX/Parse.om
 lib/omake/parse/LaTeX/Spell.om
 lib/omake/web/simple-xml.om
-man/man1/omake.1.gz
-man/man1/osh.1.gz
+share/man/man1/omake.1.gz
+share/man/man1/osh.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/index.html
 %%PORTDOCS%%%%DOCSDIR%%/omake-all-index.html
 %%PORTDOCS%%%%DOCSDIR%%/omake-autoconf.html