git: 10fe25e2973d - main - security/libscep: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 22:52:10 UTC
The branch main has been updated by bofh:

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

commit 10fe25e2973db75eebd34ce92a7760b51c6e7caf
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 22:47:05 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 22:51:37 +0000

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

diff --git a/security/libscep/Makefile b/security/libscep/Makefile
index ede5ab207a69..bf11bb5226e3 100644
--- a/security/libscep/Makefile
+++ b/security/libscep/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	libscep
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.09
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	svysh.fbsd@gmail.com
@@ -28,13 +29,13 @@ CMAKE_OFF=	BUILD_CLI
 
 PLIST_FILES=	include/scep.h \
 		lib/libscep.so \
-		man/man1/libscep.1.gz
+		share/man/man1/libscep.1.gz
 
 post-build:
 	(cd ${WRKSRC}/docs;\
 	BUILDDIR=${BUILD_WRKSRC} SPHINXBUILD=sphinx-build-${PYTHON_VER} ${GMAKE} -e man)
 
 post-install:
-	${INSTALL_MAN} ${BUILD_WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${BUILD_WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>