git: 6566dda575de - main - sysutils/no-login: Sanitize MANPREFIX

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=6566dda575de70650c610092d1c2d6136c525d29

commit 6566dda575de70650c610092d1c2d6136c525d29
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 17:01:53 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 17:53:28 +0000

    sysutils/no-login: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 sysutils/no-login/Makefile             | 2 +-
 sysutils/no-login/files/patch-Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysutils/no-login/Makefile b/sysutils/no-login/Makefile
index bfd68f9419d5..9a26dad15196 100644
--- a/sysutils/no-login/Makefile
+++ b/sysutils/no-login/Makefile
@@ -7,6 +7,6 @@ MASTER_SITES=	LOCAL/wes
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Refuse a login to a user, and make a note of it in syslog
 
-PLIST_FILES=	bin/nologin man/man8/${PORTNAME}.8.gz
+PLIST_FILES=	bin/nologin share/man/man8/${PORTNAME}.8.gz
 
 .include <bsd.port.mk>
diff --git a/sysutils/no-login/files/patch-Makefile b/sysutils/no-login/files/patch-Makefile
index 007efe0754f0..619061dc02eb 100644
--- a/sysutils/no-login/files/patch-Makefile
+++ b/sysutils/no-login/files/patch-Makefile
@@ -7,6 +7,6 @@
 -		install -c -o root -g bin -m 755 nologin $(PREFIX)/bin
 -		install -c -o root -g wheel -m 444 nologin.8 $(PREFIX)/man/man8
 +		$(BSD_INSTALL_PROGRAM) nologin $(DESTDIR)$(PREFIX)/bin
-+		$(BSD_INSTALL_MAN) nologin.8 $(DESTDIR)$(PREFIX)/man/man8
++		$(BSD_INSTALL_MAN) nologin.8 $(DESTDIR)$(PREFIX)/share/man/man8
  clean:
  		-rm -f *.o *~ nologin