git: 0afa21de4833 - main - audio/hydrogen: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 15 Jan 2024 12:55:52 UTC
The branch main has been updated by bofh:

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

commit 0afa21de4833eb28b69c59fc79288936b6bd24c1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-15 12:08:50 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-15 12:55:42 +0000

    audio/hydrogen: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 audio/hydrogen/Makefile  | 3 +--
 audio/hydrogen/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/audio/hydrogen/Makefile b/audio/hydrogen/Makefile
index 41a78b5dea85..02cb024811c2 100644
--- a/audio/hydrogen/Makefile
+++ b/audio/hydrogen/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	hydrogen
 DISTVERSION=	1.2.1
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://github.com/hydrogen-music/${PORTNAME}/releases/download/${DISTVERSION}/ \
 		SF/hydrogen/Hydrogen/${DISTVERSION}%20Sources/
@@ -20,8 +21,6 @@ USE_LDCONFIG=	yes
 USE_QT=		core gui network widgets xml xmlpatterns buildtools:build \
 		linguisttools:build qmake:build svg testlib:build
 
-CMAKE_ARGS=	-DCMAKE_INSTALL_MANDIR=${LOCALBASE}/man
-
 PLIST_SUB=	HYDROGEN_VERSION="${PORTVERSION}"
 
 OPTIONS_DEFINE=		ALSA DEBUG JACK LADSPA LASH OSS PORTAUDIO \
diff --git a/audio/hydrogen/pkg-plist b/audio/hydrogen/pkg-plist
index 2e709a410724..546583b010cf 100644
--- a/audio/hydrogen/pkg-plist
+++ b/audio/hydrogen/pkg-plist
@@ -74,7 +74,7 @@ include/hydrogen/core/Timeline.h
 include/hydrogen/core/Version.h
 include/hydrogen/core/rt_clock.h
 lib/libhydrogen-core-%%HYDROGEN_VERSION%%.so
-man/man1/hydrogen.1.gz
+share/man/man1/hydrogen.1.gz
 share/appdata/org.hydrogenmusic.Hydrogen.appdata.xml
 share/applications/org.hydrogenmusic.Hydrogen.desktop
 %%DATADIR%%/data/click.wav