git: 34a24ad99b7e - main - games/openssn: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Mon, 18 Mar 2024 11:38:34 UTC
The branch main has been updated by naddy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=34a24ad99b7e5c69df91c1e00ff00943687c4ea8

commit 34a24ad99b7e5c69df91c1e00ff00943687c4ea8
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-18 11:14:55 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-18 11:38:13 +0000

    games/openssn: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 games/openssn/Makefile  | 4 ++--
 games/openssn/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/games/openssn/Makefile b/games/openssn/Makefile
index 3b260cb6532f..84eb2c45f72d 100644
--- a/games/openssn/Makefile
+++ b/games/openssn/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	openssn
 PORTVERSION=	1.4
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -19,7 +19,7 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 post-patch:
 	@${REINPLACE_CMD} -E \
 		-e '/cp|mkdir/s,\$$\(PREFIX\)|\$$\(DATADIR\),$$(DESTDIR)&,' \
-		-e 's,share/man/man6,man/man6,' ${WRKSRC}/Makefile
+		${WRKSRC}/Makefile
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
diff --git a/games/openssn/pkg-plist b/games/openssn/pkg-plist
index ce5c60fd27ce..8df7eb7dfb51 100644
--- a/games/openssn/pkg-plist
+++ b/games/openssn/pkg-plist
@@ -1,6 +1,6 @@
 bin/openssn
-man/man6/openssn.6.gz
 share/applications/openssn.desktop
+share/man/man6/openssn.6.gz
 %%DATADIR%%/data/font.dat
 %%DATADIR%%/data/information.txt
 %%DATADIR%%/data/largefont.dat