git: 0c132a2ef20a - main - biology/vcf2hap: Move man pages to share/man

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

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

commit 0c132a2ef20a786a03df2899c182753e40275b5f
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-02 20:07:47 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-02 20:07:47 +0000

    biology/vcf2hap: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 biology/vcf2hap/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/biology/vcf2hap/Makefile b/biology/vcf2hap/Makefile
index eedf8861081a..2126e459f7e6 100644
--- a/biology/vcf2hap/Makefile
+++ b/biology/vcf2hap/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	vcf2hap
 DISTVERSION=	0.1.6-7
 DISTVERSIONSUFFIX=	-gfda1765
+PORTREVISION=	1
 CATEGORIES=	biology
 
 MAINTAINER=	jwb@FreeBSD.org
@@ -15,8 +16,8 @@ LIB_DEPENDS=	libbiolibc.so:biology/biolibc libxtend.so:devel/libxtend
 USE_GITHUB=	yes
 GH_ACCOUNT=	auerlab
 
-MAKE_ENV=	VERSION=${PORTVERSION}
-PLIST_FILES=	bin/vcf2hap man/man1/vcf2hap.1.gz
+MAKE_ENV=	VERSION=${PORTVERSION} MANPREFIX=${PREFIX}/share
+PLIST_FILES=	bin/vcf2hap share/man/man1/vcf2hap.1.gz
 
 pre-build:
 	(cd ${WRKSRC} && ${MAKE} LOCALBASE=${LOCALBASE} depend)