git: 494dab0bcbff - main - ports-mgmt/wanted-ports: Man page cleanup

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 10:57:44 UTC
The branch main has been updated by matthew:

URL: https://cgit.FreeBSD.org/ports/commit/?id=494dab0bcbff555b3dc0251bb59374ac91179041

commit 494dab0bcbff555b3dc0251bb59374ac91179041
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2024-01-21 10:56:01 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2024-01-21 10:57:40 +0000

    ports-mgmt/wanted-ports: Man page cleanup
    
    Move the man page to ${PREFIX}/share/man/man1
---
 ports-mgmt/wanted-ports/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ports-mgmt/wanted-ports/Makefile b/ports-mgmt/wanted-ports/Makefile
index d0f435f32288..2eda926bc824 100644
--- a/ports-mgmt/wanted-ports/Makefile
+++ b/ports-mgmt/wanted-ports/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	wanted-ports
-PORTVERSION=	0.2
+PORTVERSION=	0.3
 #PORTREVISION is set from ${CFGFILE}
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	# none
@@ -18,7 +18,7 @@ SUB_LIST=	PORTNAME=${PORTNAME} \
 		PKGNAME=${PKGNAME}
 PLIST_SUB=	PORTNAME=${PORTNAME}
 PLIST_FILES=	bin/${PORTNAME} \
-		man/man1/${PORTNAME}.1.gz
+		share/man/man1/${PORTNAME}.1.gz
 
 .if defined(WANTEDPORTSCFG)
 CFGFILE=	${WANTEDPORTSCFG}
@@ -32,6 +32,6 @@ CFGFILE?=	/var/db/${PORTNAME}.conf
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/
+	${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1/
 
 .include <bsd.port.mk>