git: 56d2b9a068e9 - main - sysutils/runas: Sanitize MANPREFIX

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

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

commit 56d2b9a068e90952448c58cdef2f458f1f6d40ef
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 15:55:52 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 17:53:27 +0000

    sysutils/runas: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 sysutils/runas/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sysutils/runas/Makefile b/sysutils/runas/Makefile
index e42f6f9a522f..059a1fa70657 100644
--- a/sysutils/runas/Makefile
+++ b/sysutils/runas/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	runas
 DISTVERSION=	0.2.0
+PORTREVISIOn=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	jwb@FreeBSD.org
@@ -12,6 +13,8 @@ USE_GITHUB=	yes
 
 GH_ACCOUNT=	outpaddling
 
-PLIST_FILES=	bin/asroot bin/runas man/man1/asroot.1.gz man/man1/runas.1.gz
+MAKE_ARGS=	MANPREFIX=${PREFIX}/share
+
+PLIST_FILES=	bin/asroot bin/runas share/man/man1/asroot.1.gz share/man/man1/runas.1.gz
 
 .include <bsd.port.mk>