git: 95ec58173ceb - main - irc/ctrlproxy: Sanitize MANPREFIX

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=95ec58173ceb9010d0794e1970913ff494efcd42

commit 95ec58173ceb9010d0794e1970913ff494efcd42
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 22:59:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 00:06:44 +0000

    irc/ctrlproxy: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 irc/ctrlproxy/Makefile  | 6 +++---
 irc/ctrlproxy/pkg-plist | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/irc/ctrlproxy/Makefile b/irc/ctrlproxy/Makefile
index ede7be7921a7..453521d82355 100644
--- a/irc/ctrlproxy/Makefile
+++ b/irc/ctrlproxy/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ctrlproxy
 PORTVERSION=	3.0.8
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	irc
 MASTER_SITES=	http://launchpadlibrarian.net/50016234/ \
 		LOCAL/ashish/
@@ -24,8 +24,8 @@ post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ctrlproxy-admin
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/linestack-cmd
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ctrlproxyd
-	${INSTALL_MAN} ${WRKSRC}/doc/ctrlproxy.1 ${STAGEDIR}${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/doc/ctrlproxy_config.5 ${STAGEDIR}${MANPREFIX}/man/man5
+	${INSTALL_MAN} ${WRKSRC}/doc/ctrlproxy.1 ${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/ctrlproxy_config.5 ${STAGEDIR}${PREFIX}/share/man/man5
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/help.txt ${STAGEDIR}${DATADIR}/help.txt
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/irc/ctrlproxy/pkg-plist b/irc/ctrlproxy/pkg-plist
index f0ff485aaf4b..b752217b7825 100644
--- a/irc/ctrlproxy/pkg-plist
+++ b/irc/ctrlproxy/pkg-plist
@@ -5,8 +5,8 @@ sbin/ctrlproxyd
 libdata/pkgconfig/ctrlproxy.pc
 etc/ctrlproxy/motd
 etc/ctrlproxy/config
-man/man1/ctrlproxy.1.gz
-man/man5/ctrlproxy_config.5.gz
+share/man/man1/ctrlproxy.1.gz
+share/man/man5/ctrlproxy_config.5.gz
 %%DATADIR%%/help.txt
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/HACKING