git: 5fd71de88330 - main - comms/syncterm: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Sat, 16 Mar 2024 15:08:15 UTC
The branch main has been updated by naddy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5fd71de8833087797259ff7d4721c63f3d4265a0

commit 5fd71de8833087797259ff7d4721c63f3d4265a0
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-16 14:47:31 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-16 14:47:31 +0000

    comms/syncterm: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 comms/syncterm/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/comms/syncterm/Makefile b/comms/syncterm/Makefile
index 4fccf9148401..d06424660c7b 100644
--- a/comms/syncterm/Makefile
+++ b/comms/syncterm/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	syncterm
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	comms
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -16,7 +17,7 @@ USES=		gmake perl5 tar:tgz
 USE_PERL5=	build
 MAKEFILE=	GNUmakefile
 PLIST_FILES=	bin/syncterm \
-		man/man1/syncterm.1.gz \
+		share/man/man1/syncterm.1.gz \
 		share/applications/syncterm.desktop \
 		share/icons/hicolor/64x64/apps/syncterm.png
 
@@ -25,6 +26,7 @@ MAKE_JOBS_UNSAFE=	yes
 MAKE_ARGS+=	WITHOUT_PORTAUDIO=yes
 MAKE_ARGS+=	-C ${WRKSRC}
 MAKE_ARGS+=	PREFIX="${PREFIX}"
+MAKE_ARGS+=	MANPREFIX="${PREFIX}/share"
 MAKE_ARGS+=	INSTALL_EXE="${INSTALL_PROGRAM}"
 MAKE_ARGS+=	RELEASE=1