git: f7acb71f8c46 - main - audio/ecasound: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 29 Jan 2024 22:26:33 UTC
The branch main has been updated by bofh:

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

commit f7acb71f8c46ab041a840fd90d5b12cf3605103a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-29 22:22:14 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-29 22:26:03 +0000

    audio/ecasound: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 audio/ecasound/Makefile  |  5 +++--
 audio/ecasound/pkg-plist | 22 +++++++++++-----------
 2 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/audio/ecasound/Makefile b/audio/ecasound/Makefile
index 8858195fe01f..910eea528f01 100644
--- a/audio/ecasound/Makefile
+++ b/audio/ecasound/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ecasound
 PORTVERSION=	2.9.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	http://ecasound.seul.org/download/ \
 		http://nosignal.fi/download/ \
@@ -19,6 +19,7 @@ USES=		gmake libtool localbase:ldflags ncurses pkgconfig \
 		readline shebangfix
 SHEBANG_FILES=	ecatools/ecamonitor
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--disable-liblilv \
 		--disable-rubyecasound \
 		--enable-sys-readline=no \
@@ -59,6 +60,6 @@ post-patch:
 
 post-install-PYTHON-off:
 	${RM} -R ${STAGEDIR}${PREFIX}/bin/ecamonitor
-	${RM} -R ${STAGEDIR}${PREFIX}/man/man1/ecamonitor.1.gz
+	${RM} -R ${STAGEDIR}${PREFIX}/share/man/man1/ecamonitor.1.gz
 
 .include <bsd.port.mk>
diff --git a/audio/ecasound/pkg-plist b/audio/ecasound/pkg-plist
index 35f43fa7a01b..4586010fd0be 100644
--- a/audio/ecasound/pkg-plist
+++ b/audio/ecasound/pkg-plist
@@ -157,17 +157,17 @@ lib/libkvutils.a
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/ecacontrol.py
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/eci.py
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/pyeca.py
-man/man1/ecaconvert.1.gz
-man/man1/ecafixdc.1.gz
-man/man1/ecalength.1.gz
-%%PYTHON%%man/man1/ecamonitor.1.gz
-man/man1/ecanormalize.1.gz
-man/man1/ecaplay.1.gz
-man/man1/ecasignalview.1.gz
-man/man1/ecasound-iam.1.gz
-man/man1/ecasound.1.gz
-man/man1/ecatools.1.gz
-man/man5/ecasoundrc.5.gz
+share/man/man1/ecaconvert.1.gz
+share/man/man1/ecafixdc.1.gz
+share/man/man1/ecalength.1.gz
+%%PYTHON%%share/man/man1/ecamonitor.1.gz
+share/man/man1/ecanormalize.1.gz
+share/man/man1/ecaplay.1.gz
+share/man/man1/ecasignalview.1.gz
+share/man/man1/ecasound-iam.1.gz
+share/man/man1/ecasound.1.gz
+share/man/man1/ecatools.1.gz
+share/man/man5/ecasoundrc.5.gz
 %%DATADIR%%/ecasound.el
 %%DATADIR%%/ecasoundrc
 %%DATADIR%%/effect_presets