git: 70806024dfa5 - main - audio/owntone: use ${PREFIX}/share/man

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Fri, 12 Jan 2024 20:24:09 UTC
The branch main has been updated by dinoex:

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

commit 70806024dfa559c2763f554aabb29ab321295b40
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-12 20:23:59 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-12 20:23:59 +0000

    audio/owntone: use ${PREFIX}/share/man
---
 audio/owntone/Makefile  | 3 ++-
 audio/owntone/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/audio/owntone/Makefile b/audio/owntone/Makefile
index 3133e4a6cda9..e9cad4d69994 100644
--- a/audio/owntone/Makefile
+++ b/audio/owntone/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	owntone
 DISTVERSION=	28.8
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://github.com/owntone/owntone-server/releases/download/${DISTVERSION}/
 
@@ -36,6 +36,7 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-install_systemd \
 		--with-owntone-user=${OWNTONE_USER} \
 		--with-owntone-group=${OWNTONE_USER}
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USE_RC_SUBR=	${PORTNAME}
 SUB_FILES=	pkg-message
 
diff --git a/audio/owntone/pkg-plist b/audio/owntone/pkg-plist
index 2dc65b023db1..f2c0f5636f1b 100644
--- a/audio/owntone/pkg-plist
+++ b/audio/owntone/pkg-plist
@@ -1,6 +1,5 @@
 @sample etc/owntone.conf.sample
 lib/owntone/owntone-sqlext.so
-man/man8/owntone.8.gz
 sbin/owntone
 %%PORTDOCS%%%%DOCSDIR%%/README.md
 %%PORTDOCS%%%%DOCSDIR%%/UPGRADING
@@ -29,6 +28,7 @@ sbin/owntone
 %%PORTDOCS%%%%DOCSDIR%%/docs/playlists.md
 %%PORTDOCS%%%%DOCSDIR%%/docs/smart-playlists.md
 %%PORTDOCS%%%%DOCSDIR%%/scripts/pairinghelper.sh
+share/man/man8/owntone.8.gz
 %%DATADIR%%/htdocs/android-chrome-192x192.png
 %%DATADIR%%/htdocs/android-chrome-512x512.png
 %%DATADIR%%/htdocs/apple-touch-icon.png