git: fbb05d31e758 - main - games/trackballs: fix pkg-plist use share/man

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Mon, 16 May 2022 06:57:31 UTC
The branch main has been updated by lbartoletti:

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

commit fbb05d31e7580f29316a5f466b5851816a5cfdc7
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-04-14 18:21:00 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-05-16 06:49:45 +0000

    games/trackballs: fix pkg-plist use share/man
    
    Approved by:    portmgr (blanket)
---
 games/trackballs/Makefile  | 2 +-
 games/trackballs/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/games/trackballs/Makefile b/games/trackballs/Makefile
index aeb780e382f8..d9c5cc636701 100644
--- a/games/trackballs/Makefile
+++ b/games/trackballs/Makefile
@@ -27,7 +27,7 @@ LICENSE_PERMS_ETHYMONICS=	dist-mirror dist-sell pkg-mirror pkg-sell \
 USE_GITHUB=	yes
 
 CMAKE_ARGS+=	-DTRACKBALLS_DOC_DIR=${DOCSDIR} \
-		-DTRACKBALLS_MAN_DIR=${PREFIX}/man
+		-DTRACKBALLS_MAN_DIR=${PREFIX}/share/man
 
 OPTIONS_DEFINE=	NLS DOCS
 OPTIONS_SUB=	yes
diff --git a/games/trackballs/pkg-plist b/games/trackballs/pkg-plist
index abcfc0a6d395..0d3af8a1f5fa 100644
--- a/games/trackballs/pkg-plist
+++ b/games/trackballs/pkg-plist
@@ -1,5 +1,5 @@
 bin/trackballs
-man/man6/trackballs.6.gz
+share/man/man6/trackballs.6.gz
 share/applications/trackballs.desktop
 share/icons/hicolor/128x128/apps/trackballs.png
 share/icons/hicolor/32x32/apps/trackballs.png