git: f246c2537108 - main - biology/minimap2: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 02 Mar 2024 19:30:33 UTC
The branch main has been updated by eduardo:

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

commit f246c253710829601f535edf81675b26f6b1755a
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-02 19:29:26 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-02 19:29:26 +0000

    biology/minimap2: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 biology/minimap2/Makefile                   | 1 +
 biology/minimap2/files/patch-Makefile.simde | 6 +++---
 biology/minimap2/pkg-plist                  | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/biology/minimap2/Makefile b/biology/minimap2/Makefile
index ff6799f92d2a..2ab83948882d 100644
--- a/biology/minimap2/Makefile
+++ b/biology/minimap2/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=		minimap2
 DISTVERSIONPREFIX=	v
 DISTVERSION=		2.25
+PORTREVISION=		1
 CATEGORIES=		biology
 
 MAINTAINER=	jwb@FreeBSD.org
diff --git a/biology/minimap2/files/patch-Makefile.simde b/biology/minimap2/files/patch-Makefile.simde
index 5d5e0ccf482c..faef217fbdab 100644
--- a/biology/minimap2/files/patch-Makefile.simde
+++ b/biology/minimap2/files/patch-Makefile.simde
@@ -1,4 +1,4 @@
---- Makefile.simde.orig	2021-11-18 22:11:48 UTC
+--- Makefile.simde.orig	2023-04-25 16:44:52 UTC
 +++ Makefile.simde
 @@ -1,13 +1,26 @@
 -CFLAGS=		-g -Wall -O2 -Wc++-compat #-Wextra
@@ -21,7 +21,7 @@
  LIBS=		-lm -lz -lpthread
  
 +PREFIX?=	/usr/local
-+MAN1DIR?=	${PREFIX}/man/man1
++MAN1DIR?=	${PREFIX}/share/man/man1
 +DATADIR?=	${PREFIX}/share/minimap2
  
 +MKDIR?=		mkdir
@@ -32,7 +32,7 @@
  ifneq ($(arm_neon),) # if arm_neon is defined
  ifeq ($(aarch64),)   #if aarch64 is not defined
  	CFLAGS+=-D_FILE_OFFSET_BITS=64 -mfpu=neon -fsigned-char
-@@ -26,7 +39,7 @@ ifneq ($(tsan),)
+@@ -26,7 +39,7 @@ endif
  	LIBS+=-fsanitize=thread
  endif
  
diff --git a/biology/minimap2/pkg-plist b/biology/minimap2/pkg-plist
index 1d11d4c99c2f..742d1eb1b3f7 100644
--- a/biology/minimap2/pkg-plist
+++ b/biology/minimap2/pkg-plist
@@ -1,7 +1,7 @@
 bin/minimap2
 bin/minimap2-lite
 bin/sdust
-man/man1/minimap2.1.gz
+share/man/man1/minimap2.1.gz
 %%DATADIR%%/test/MT-human.fa
 %%DATADIR%%/test/MT-orang.fa
 %%DATADIR%%/test/q-inv.fa