git: 84013fbfd081 - main - misc/asr-manpages: Sanitize MANPREFIX

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=84013fbfd0810aafbb81559532db477e880a1345

commit 84013fbfd0810aafbb81559532db477e880a1345
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 01:37:48 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 02:02:46 +0000

    misc/asr-manpages: Sanitize MANPREFIX
---
 misc/asr-manpages/Makefile  | 35 ++++++++++++++++++-----------------
 misc/asr-manpages/pkg-plist | 34 +++++++++++++++++-----------------
 2 files changed, 35 insertions(+), 34 deletions(-)

diff --git a/misc/asr-manpages/Makefile b/misc/asr-manpages/Makefile
index 72bfbdc1210e..c5ac254fcca0 100644
--- a/misc/asr-manpages/Makefile
+++ b/misc/asr-manpages/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	asr-manpages
 PORTVERSION=	20000406
+PORTREVISION=	1
 CATEGORIES=	misc
 MASTER_SITES=	LOCAL/fjoe
 DISTNAME=	asr.pages
@@ -11,22 +12,22 @@ WWW=		http://www.infonet.ee/~sbernard/manpage/
 NO_BUILD=	yes
 
 do-install:
-	${INSTALL_MAN} ${WRKDIR}/bosskill.8	${STAGEDIR}${PREFIX}/man/man8
-	${INSTALL_MAN} ${WRKDIR}/c.1		${STAGEDIR}${PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKDIR}/chastise.3	${STAGEDIR}${PREFIX}/man/man3
-	${INSTALL_MAN} ${WRKDIR}/ctluser.8	${STAGEDIR}${PREFIX}/man/man8
-	${INSTALL_MAN} ${WRKDIR}/guru.8		${STAGEDIR}${PREFIX}/man/man8
-	${INSTALL_MAN} ${WRKDIR}/knife.8	${STAGEDIR}${PREFIX}/man/man8
-	${INSTALL_MAN} ${WRKDIR}/lart.1m	${STAGEDIR}${PREFIX}/man/man1/lart.1
-	${INSTALL_MAN} ${WRKDIR}/luser.8	${STAGEDIR}${PREFIX}/man/man8
-	${INSTALL_MAN} ${WRKDIR}/normality.5	${STAGEDIR}${PREFIX}/man/man5
-	${INSTALL_MAN} ${WRKDIR}/nuke.8		${STAGEDIR}${PREFIX}/man/man8
-	${INSTALL_MAN} ${WRKDIR}/people.2	${STAGEDIR}${PREFIX}/man/man2
-	${INSTALL_MAN} ${WRKDIR}/pmsd.8		${STAGEDIR}${PREFIX}/man/man8
-	${INSTALL_MAN} ${WRKDIR}/rtfm.1		${STAGEDIR}${PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKDIR}/slave.1	${STAGEDIR}${PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKDIR}/sysadmin.1	${STAGEDIR}${PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKDIR}/think.1	${STAGEDIR}${PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKDIR}/whack.1	${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKDIR}/bosskill.8	${STAGEDIR}${PREFIX}/share/man/man8
+	${INSTALL_MAN} ${WRKDIR}/c.1		${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_MAN} ${WRKDIR}/chastise.3	${STAGEDIR}${PREFIX}/share/man/man3
+	${INSTALL_MAN} ${WRKDIR}/ctluser.8	${STAGEDIR}${PREFIX}/share/man/man8
+	${INSTALL_MAN} ${WRKDIR}/guru.8		${STAGEDIR}${PREFIX}/share/man/man8
+	${INSTALL_MAN} ${WRKDIR}/knife.8	${STAGEDIR}${PREFIX}/share/man/man8
+	${INSTALL_MAN} ${WRKDIR}/lart.1m	${STAGEDIR}${PREFIX}/share/man/man1/lart.1
+	${INSTALL_MAN} ${WRKDIR}/luser.8	${STAGEDIR}${PREFIX}/share/man/man8
+	${INSTALL_MAN} ${WRKDIR}/normality.5	${STAGEDIR}${PREFIX}/share/man/man5
+	${INSTALL_MAN} ${WRKDIR}/nuke.8		${STAGEDIR}${PREFIX}/share/man/man8
+	${INSTALL_MAN} ${WRKDIR}/people.2	${STAGEDIR}${PREFIX}/share/man/man2
+	${INSTALL_MAN} ${WRKDIR}/pmsd.8		${STAGEDIR}${PREFIX}/share/man/man8
+	${INSTALL_MAN} ${WRKDIR}/rtfm.1		${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_MAN} ${WRKDIR}/slave.1	${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_MAN} ${WRKDIR}/sysadmin.1	${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_MAN} ${WRKDIR}/think.1	${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_MAN} ${WRKDIR}/whack.1	${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>
diff --git a/misc/asr-manpages/pkg-plist b/misc/asr-manpages/pkg-plist
index 07873d7d48fd..cc406d38c72a 100644
--- a/misc/asr-manpages/pkg-plist
+++ b/misc/asr-manpages/pkg-plist
@@ -1,17 +1,17 @@
-man/man1/c.1.gz
-man/man1/lart.1.gz
-man/man1/rtfm.1.gz
-man/man1/slave.1.gz
-man/man1/sysadmin.1.gz
-man/man1/think.1.gz
-man/man1/whack.1.gz
-man/man2/people.2.gz
-man/man3/chastise.3.gz
-man/man5/normality.5.gz
-man/man8/bosskill.8.gz
-man/man8/ctluser.8.gz
-man/man8/guru.8.gz
-man/man8/knife.8.gz
-man/man8/luser.8.gz
-man/man8/nuke.8.gz
-man/man8/pmsd.8.gz
+share/man/man1/c.1.gz
+share/man/man1/lart.1.gz
+share/man/man1/rtfm.1.gz
+share/man/man1/slave.1.gz
+share/man/man1/sysadmin.1.gz
+share/man/man1/think.1.gz
+share/man/man1/whack.1.gz
+share/man/man2/people.2.gz
+share/man/man3/chastise.3.gz
+share/man/man5/normality.5.gz
+share/man/man8/bosskill.8.gz
+share/man/man8/ctluser.8.gz
+share/man/man8/guru.8.gz
+share/man/man8/knife.8.gz
+share/man/man8/luser.8.gz
+share/man/man8/nuke.8.gz
+share/man/man8/pmsd.8.gz