git: 758678e052d8 - main - security/git-crypt: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 15:51:01 UTC
The branch main has been updated by bofh:

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

commit 758678e052d846fa509beac2fff9199d0340f820
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 14:06:39 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 15:50:43 +0000

    security/git-crypt: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 security/git-crypt/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/security/git-crypt/Makefile b/security/git-crypt/Makefile
index 204b2aac4e39..e95fa8a74a61 100644
--- a/security/git-crypt/Makefile
+++ b/security/git-crypt/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	git-crypt
 PORTVERSION=	0.7.0
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://www.agwa.name/projects/git-crypt/downloads/ \
 		LOCAL/ashish/
@@ -22,9 +23,9 @@ MAKE_ENV+=	PREFIX=${PREFIX} "CXXFLAGS=${CXXFLAGS}" \
 MANPAGES_BUILD_DEPENDS=	xsltproc:textproc/libxslt \
 			docbook-xsl>=0:textproc/docbook-xsl
 MANPAGES_MAKE_ARGS=		ENABLE_MAN=yes \
-			MANDIR=${MANPREFIX}/man \
+			MANDIR=${PREFIX}/share/man \
 			DOCBOOK_XSL=${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl
-MANPAGES_PLIST_FILES=	man/man1/${PORTNAME}.1.gz
+MANPAGES_PLIST_FILES=	share/man/man1/${PORTNAME}.1.gz
 
 USES=		compiler:c++11-lang gmake ssl