git: cfc80eb510cd - main - deskutils/sowon: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Wed, 20 Mar 2024 19:12:07 UTC
The branch main has been updated by naddy:

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

commit cfc80eb510cd20e36653eb1d56d10e14803019f7
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-20 19:11:21 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-20 19:11:21 +0000

    deskutils/sowon: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 deskutils/sowon/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/deskutils/sowon/Makefile b/deskutils/sowon/Makefile
index f91aa159636f..95f1c523066e 100644
--- a/deskutils/sowon/Makefile
+++ b/deskutils/sowon/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sowon
 DISTVERSION=	g20201203
+PORTREVISION=	1
 CATEGORIES=	deskutils
 
 MAINTAINER=	nsonack@outlook.com
@@ -18,6 +19,11 @@ GH_TAGNAME=	0d43de4af5a430052aee2c2691fafe21ad80a83d
 USE_SDL=	sdl2
 
 PLIST_FILES=	bin/sowon \
-		man/man6/sowon.6.gz
+		share/man/man6/sowon.6.gz
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/sowon ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/docs/sowon.6.gz \
+		${STAGEDIR}${PREFIX}/share/man/man6
 
 .include <bsd.port.mk>