git: 03f99553aea5 - main - net/udpxy: Sanitize MANPREFIX

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=03f99553aea5fe2054dda87277a9899c3c3a652b

commit 03f99553aea5fe2054dda87277a9899c3c3a652b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 20:43:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 20:48:11 +0000

    net/udpxy: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 net/udpxy/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/net/udpxy/Makefile b/net/udpxy/Makefile
index b5f02442da7e..bbf1bfc8d089 100644
--- a/net/udpxy/Makefile
+++ b/net/udpxy/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	udpxy
 DISTVERSION=	1.0-25.1
+PORTREVISION=	1
 CATEGORIES=	net
 
 MAINTAINER=	alex.deiter@gmail.com
@@ -20,8 +21,8 @@ WRKSRC_SUBDIR=	chipmunk
 
 PLIST_FILES=	sbin/udpxy \
 		sbin/udpxrec \
-		man/man1/udpxy.1.gz \
-		man/man1/udpxrec.1.gz
+		share/man/man1/udpxy.1.gz \
+		share/man/man1/udpxrec.1.gz
 
 OPTIONS_DEFAULT=	RELEASE
 OPTIONS_SINGLE=	CONF
@@ -34,8 +35,8 @@ do-install:
 	${LN} -s udpxy ${STAGEDIR}${PREFIX}/sbin/udpxrec
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/doc/en/udpxy.1 ${STAGEDIR}${MANPREFIX}/man/man1/
-	${INSTALL_MAN} ${WRKSRC}/doc/en/udpxrec.1 ${STAGEDIR}${MANPREFIX}/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/doc/en/udpxy.1 ${STAGEDIR}${PREFIX}/share/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/doc/en/udpxrec.1 ${STAGEDIR}${PREFIX}/share/man/man1/
 
 .include <bsd.port.options.mk>