git: 1b6126c582ac - main - biology/pooler: Moved man to share/man

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

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

commit 1b6126c582acbe774910efa441345a2c484495cb
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-22 12:58:58 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 13:23:50 +0000

    biology/pooler: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 biology/pooler/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/biology/pooler/Makefile b/biology/pooler/Makefile
index 27aa0e8d8d50..7b530ceaa130 100644
--- a/biology/pooler/Makefile
+++ b/biology/pooler/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=		pooler
 DISTVERSIONPREFIX=	v
 DISTVERSION=		1.88
+PORTREVISION=	1
 CATEGORIES=		biology
 
 MAINTAINER=	ssb22@cam.ac.uk
@@ -19,10 +20,13 @@ GH_PROJECT=	PrimerPooler
 INSTALL_TARGET=	install-strip
 
 WRKSRC_SUBDIR=	pooler
-PLIST_FILES=	bin/pooler man/man1/pooler.1.gz share/applications/pooler.desktop
+PLIST_FILES=	bin/pooler share/man/man1/pooler.1.gz share/applications/pooler.desktop
 
 .if exists(/usr/include/omp.h)
 CFLAGS+=	-fopenmp
 .endif
 
+post-patch:
+	${REINPLACE_CMD} -e 's|man/man1|share/man/man1|g' ${WRKSRC}/Makefile
+
 .include <bsd.port.mk>