git: a3d08d797aa5 - main - audio/*: Move manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 19 Feb 2024 17:50:36 UTC
The branch main has been updated by arrowd:

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

commit a3d08d797aa51943182122ae8ae2cbe3053b1e9b
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-02-19 17:48:46 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-02-19 17:49:46 +0000

    audio/*: Move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 audio/alsa-seq-server/Makefile        |  8 ++++++--
 audio/aumix/Makefile                  |  9 +++++----
 audio/ezstream/Makefile               |  5 +++--
 audio/fapg/Makefile                   |  4 +++-
 audio/id3tool/Makefile                |  4 +++-
 audio/jack_ghero/Makefile             |  4 ++--
 audio/jack_ghero/files/patch-Makefile | 10 ++++++++--
 audio/mp3plot/Makefile                |  7 +++++--
 audio/mp3unicode/Makefile             |  5 +++--
 audio/mp3wrap/Makefile                |  4 +++-
 audio/shntool/Makefile                |  5 +++--
 audio/sidplay2/Makefile               |  5 +++--
 audio/taglookup/Makefile              |  4 ++--
 audio/taglookup/files/patch-Makefile  |  2 +-
 audio/tcd/Makefile                    |  5 +++--
 audio/virtual_oss/Makefile            | 13 +++++++++----
 audio/vitunes/Makefile                |  4 ++--
 audio/vitunes/files/patch-Makefile    |  2 +-
 audio/vorbisgain/Makefile             |  5 +++--
 audio/wavetral/Makefile               |  8 ++++++--
 audio/wmmp/Makefile                   |  7 ++++++-
 21 files changed, 80 insertions(+), 40 deletions(-)

diff --git a/audio/alsa-seq-server/Makefile b/audio/alsa-seq-server/Makefile
index 340b8dd60020..ab5e62984ece 100644
--- a/audio/alsa-seq-server/Makefile
+++ b/audio/alsa-seq-server/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	alsa-seq-server
 DISTVERSIONPREFIX=	v
 PORTVERSION=		1.1.0
-PORTREVISION=		1
+PORTREVISION=		2
 CATEGORIES=	audio
 
 MAINTAINER=	ports@FreeBSD.org
@@ -18,7 +18,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	hselasky
 
 PLIST_FILES=	sbin/alsa-seq-server \
-		man/man8/alsa-seq-server.8.gz
+		share/man/man8/alsa-seq-server.8.gz
 
 OPTIONS_DEFINE=	DEBUG
 
@@ -27,4 +27,8 @@ MAKE_ARGS+=	PTHREAD_LIBS="-lpthread"
 
 DEBUG_MAKE_ARGS=	HAVE_DEBUG="YES"
 
+post-patch:
+	${REINPLACE_CMD} -e 's|$${PREFIX}/man/man|$${PREFIX}/share/man/man|' \
+		${WRKSRC}/Makefile
+
 .include <bsd.port.mk>
diff --git a/audio/aumix/Makefile b/audio/aumix/Makefile
index eaf629951e24..b6503c85c1e1 100644
--- a/audio/aumix/Makefile
+++ b/audio/aumix/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	aumix
 PORTVERSION=	2.9.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	SF \
 		http://jpj.net/~trevor/aumix/ \
@@ -15,6 +15,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		ncurses tar:bzip2
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--includedir="${LOCALBASE}/include" \
 		--enable-own-labels \
 		--libdir="${LOCALBASE}/lib"
@@ -24,9 +25,9 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 CFLAGS+=	-fcommon
 
 PLIST_FILES=	bin/aumix bin/mute bin/xaumix \
-		man/man1/aumix.1.gz \
-		man/man1/xaumix.1.gz \
-		man/man1/mute.1.gz
+		share/man/man1/aumix.1.gz \
+		share/man/man1/xaumix.1.gz \
+		share/man/man1/mute.1.gz
 .for ii in ansi aumix.xpm fadein.set fadeout.set vt100 xterm
 PLIST_FILES+=	share/aumix/${ii}
 .endfor
diff --git a/audio/ezstream/Makefile b/audio/ezstream/Makefile
index 2727bcbc71a8..6537fa690b60 100644
--- a/audio/ezstream/Makefile
+++ b/audio/ezstream/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ezstream
 PORTVERSION=	0.5.6
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	audio
 MASTER_SITES=	https://downloads.xiph.org/releases/ezstream/ \
 		https://ftp.osuosl.org/pub/xiph/releases/ezstream/
@@ -21,6 +21,7 @@ USES=		gnome iconv pkgconfig
 USE_GNOME=	libxml2
 USE_RC_SUBR=	${PORTNAME}
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 PORTDOCS=	NEWS README
 PORTEXAMPLES=	ezstream_metadata.xml ezstream_mp3.xml \
@@ -28,7 +29,7 @@ PORTEXAMPLES=	ezstream_metadata.xml ezstream_mp3.xml \
 		ezstream_reencode_vorbis.xml ezstream_stdin_vorbis.xml \
 		ezstream_vorbis.xml meta.sh play.sh
 PLIST_FILES=	bin/ezstream bin/ezstream-file.sh etc/ezstream/ezstream.xml \
-		man/man1/ezstream-file.sh.1.gz man/man1/ezstream.1.gz
+		share/man/man1/ezstream-file.sh.1.gz share/man/man1/ezstream.1.gz
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
diff --git a/audio/fapg/Makefile b/audio/fapg/Makefile
index 994790de720a..2ef85f89d1bb 100644
--- a/audio/fapg/Makefile
+++ b/audio/fapg/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fapg
 PORTVERSION=	0.43
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://royale.zerezo.com/${PORTNAME}/
 
@@ -12,7 +13,8 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	liburiparser.so:net/uriparser
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS+=--with-uriparser="${LOCALBASE}"
-PLIST_FILES=	bin/fapg man/man1/fapg.1.gz
+PLIST_FILES=	bin/fapg share/man/man1/fapg.1.gz
 
 .include <bsd.port.mk>
diff --git a/audio/id3tool/Makefile b/audio/id3tool/Makefile
index 893a15594fc2..d622be0ee57b 100644
--- a/audio/id3tool/Makefile
+++ b/audio/id3tool/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	id3tool
 PORTVERSION=	1.2a
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://nekohako.xware.cx/id3tool/
 
@@ -8,7 +9,8 @@ COMMENT=	Utility for manipulating mp3 ID3 Tags
 WWW=		http://nekohako.xware.cx/id3tool/
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
-PLIST_FILES=	bin/id3tool man/man1/id3tool.1.gz
+PLIST_FILES=	bin/id3tool share/man/man1/id3tool.1.gz
 
 .include <bsd.port.mk>
diff --git a/audio/jack_ghero/Makefile b/audio/jack_ghero/Makefile
index 545c1eb82e48..efb98cf5e4d4 100644
--- a/audio/jack_ghero/Makefile
+++ b/audio/jack_ghero/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	jack_ghero
 DISTVERSIONPREFIX=	v
 PORTVERSION=		1.0.4
-PORTREVISION=	2
+PORTREVISION=	4
 CATEGORIES=	audio
 
 MAINTAINER=	ports@FreeBSD.org
@@ -18,7 +18,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	hselasky
 
 PLIST_FILES=	sbin/jack_ghero \
-		man/man8/jack_ghero.8.gz
+		share/man/man8/jack_ghero.8.gz
 
 OPTIONS_DEFINE=	DEBUG
 
diff --git a/audio/jack_ghero/files/patch-Makefile b/audio/jack_ghero/files/patch-Makefile
index e71c4b5e3cc9..da43c3cbed07 100644
--- a/audio/jack_ghero/files/patch-Makefile
+++ b/audio/jack_ghero/files/patch-Makefile
@@ -1,6 +1,12 @@
---- Makefile.orig
+--- Makefile.orig	2021-06-02 15:51:05 UTC
 +++ Makefile
-@@ -38,7 +38,7 @@
+@@ -31,12 +31,12 @@ BINDIR=		${PREFIX}/sbin
+ PREFIX?=	/usr/local
+ LOCALBASE?=	/usr/local
+ BINDIR=		${PREFIX}/sbin
+-MANDIR=		${PREFIX}/man/man
++MANDIR=		${PREFIX}/share/man/man
+ LIBDIR=		${PREFIX}/lib
  INCLUDEDIR=	${PREFIX}/include
  MKLINT=		no
  NOGCCERROR=
diff --git a/audio/mp3plot/Makefile b/audio/mp3plot/Makefile
index d69172311ea7..42b910f8d2f5 100644
--- a/audio/mp3plot/Makefile
+++ b/audio/mp3plot/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mp3plot
 DISTVERSION=	0.6.0
-PORTREVISION=	36
+PORTREVISION=	37
 CATEGORIES=	audio
 MASTER_SITES=	http://p.outlyer.net/mp3plot/files/
 
@@ -8,6 +8,8 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	MP3 bitrate plot tool
 WWW=		https://p.outlyer.net/mp3plot/
 
+BROKEN=		fails to build with newest Boost
+
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
@@ -23,9 +25,10 @@ CONFIGURE_ARGS=	--with-boost-program-options=boost_program_options \
 		--with-boost-thread=boost_thread
 CPPFLAGS+=	-I${LOCALBASE}/include
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 LIBS+=		-L${LOCALBASE}/lib -lboost_system
 
-PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+PLIST_FILES=	bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
 
 GD_CONFIGURE_ENABLE=	gd
 GD_LIB_DEPENDS=		libgd.so:graphics/gd
diff --git a/audio/mp3unicode/Makefile b/audio/mp3unicode/Makefile
index 284d55a6365c..4849e5d1662c 100644
--- a/audio/mp3unicode/Makefile
+++ b/audio/mp3unicode/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mp3unicode
 PORTVERSION=	1.2.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	audio
 MASTER_SITES=	https://github.com/downloads/alonbl/mp3unicode/
 
@@ -15,11 +15,12 @@ LIB_DEPENDS=	libtag.so:audio/taglib
 
 USES=		compiler:c++11-lang iconv pkgconfig tar:bzip2
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ENV=	ICONV_CFLAGS="-I${LOCALBASE}/include" \
 		ICONV_LIBS="-L${LOCALBASE}/lib ${ICONV_LIB}"
 
 PLIST_FILES=	bin/mp3unicode \
-		man/man1/mp3unicode.1.gz
+		share/man/man1/mp3unicode.1.gz
 PORTDOCS=	README
 
 OPTIONS_DEFINE=	DOCS
diff --git a/audio/mp3wrap/Makefile b/audio/mp3wrap/Makefile
index d9d908f2bc46..213c5e6bcdf6 100644
--- a/audio/mp3wrap/Makefile
+++ b/audio/mp3wrap/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mp3wrap
 PORTVERSION=	0.5
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
@@ -9,9 +10,10 @@ COMMENT=	Merge mp3 files (and other formats)
 WWW=		https://mp3wrap.sourceforge.net/
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-PLIST_FILES=	bin/mp3wrap man/man1/mp3wrap.1.gz
+PLIST_FILES=	bin/mp3wrap share/man/man1/mp3wrap.1.gz
 
 .include <bsd.port.mk>
diff --git a/audio/shntool/Makefile b/audio/shntool/Makefile
index b981ba428fb1..2a8b6d3fb29e 100644
--- a/audio/shntool/Makefile
+++ b/audio/shntool/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	shntool
 DISTVERSION=	3.0.10
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	audio
 MASTER_SITES=	http://shnutils.freeshell.org/shntool/dist/src/
 
@@ -14,9 +14,10 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 EXTRA_PATCHES=	${FILESDIR}/cfd06e4ed.patch:-p1
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 PLIST_FILES=	${_SHN_ALIASES:S|^|bin/shn|} \
-		man/man1/shntool.1.gz
+		share/man/man1/shntool.1.gz
 
 OPTIONS_DEFINE=	AIFF ALAC APE FLAC KXS LA LPAC OFR TTA WAVPACK
 
diff --git a/audio/sidplay2/Makefile b/audio/sidplay2/Makefile
index 56330855d237..7f0f30bf2358 100644
--- a/audio/sidplay2/Makefile
+++ b/audio/sidplay2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	sidplay2
 PORTVERSION=	2.0.9
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	audio emulators
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/sidplay-${PORTVERSION}
 DISTNAME=	sidplay-${PORTVERSION}
@@ -15,9 +15,10 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libsidplay2.so:audio/libsidplay2
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USES=		pkgconfig
 USE_CXXSTD=	c++98
 
-PLIST_FILES=	bin/sidplay2 man/man1/sidplay2.1.gz
+PLIST_FILES=	bin/sidplay2 share/man/man1/sidplay2.1.gz
 
 .include <bsd.port.mk>
diff --git a/audio/taglookup/Makefile b/audio/taglookup/Makefile
index 135b3c682ae3..3424ece3a979 100644
--- a/audio/taglookup/Makefile
+++ b/audio/taglookup/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	taglookup
 PORTVERSION=	0.2
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	audio
 MASTER_SITES=	http://www.kamaz.org.uk/taglookup/
 
@@ -18,6 +18,6 @@ USES=		compiler:c++11-lang pkgconfig tar:tgz
 USE_CXXSTD=	c++11
 
 PLIST_FILES=	bin/taglookup \
-		man/man1/taglookup.1.gz
+		share/man/man1/taglookup.1.gz
 
 .include <bsd.port.mk>
diff --git a/audio/taglookup/files/patch-Makefile b/audio/taglookup/files/patch-Makefile
index 5773cd88b7bb..0410e47975c3 100644
--- a/audio/taglookup/files/patch-Makefile
+++ b/audio/taglookup/files/patch-Makefile
@@ -20,7 +20,7 @@
  install: $(EXE)
 -	$(INSTALL) -c -o root -g wheel -m 644 taglookup.1 $(PREFIX)/man/man1/taglookup.1
 -	$(INSTALL) -c -o root -g wheel -m 755 $(EXE) $(PREFIX)/bin/taglookup
-+	$(BSD_INSTALL_MAN) taglookup.1 $(DESTDIR)$(PREFIX)/man/man1/taglookup.1
++	$(BSD_INSTALL_MAN) taglookup.1 $(DESTDIR)$(PREFIX)/share/man/man1/taglookup.1
 +	$(BSD_INSTALL_PROGRAM) $(EXE) $(DESTDIR)$(PREFIX)/bin/taglookup
  
  $(EXE): $(OBJ)
diff --git a/audio/tcd/Makefile b/audio/tcd/Makefile
index fc0ee85f2234..6c0ea898b4a0 100644
--- a/audio/tcd/Makefile
+++ b/audio/tcd/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	tcd
 PORTVERSION=	2.2.0
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	audio
 MASTER_SITES=	SAVANNAH
 
@@ -13,8 +13,9 @@ LICENSE=	GPLv2
 USES=		ncurses sdl
 USE_SDL=	sdl
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 PLIST_FILES=	bin/tcd \
-		man/man1/tcd.1.gz
+		share/man/man1/tcd.1.gz
 
 .include <bsd.port.mk>
diff --git a/audio/virtual_oss/Makefile b/audio/virtual_oss/Makefile
index 4e74d93d062c..44f9156c2c00 100644
--- a/audio/virtual_oss/Makefile
+++ b/audio/virtual_oss/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	virtual_oss
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.3.1
+PORTREVISION=	1
 CATEGORIES=	audio
 
 MAINTAINER=	ports@FreeBSD.org
@@ -31,13 +32,13 @@ BLUETOOTH_MAKE_ARGS=	HAVE_BLUETOOTH="YES"
 
 BT_SPEAKER_DESC=	Build with bluetooth speaker utility
 BT_SPEAKER_PLIST_FILES=	sbin/virtual_bt_speaker \
-			man/man8/virtual_bt_speaker.8.gz
+			share/man/man8/virtual_bt_speaker.8.gz
 BT_SPEAKER_MAKE_ARGS=	HAVE_BLUETOOTH_SPEAKER="YES"
 
 COMMAND_DESC=		Build with command utility
 COMMAND_MAKE_ARGS=	HAVE_COMMAND="YES"
 COMMAND_PLIST_FILES=	sbin/virtual_oss_cmd \
-			man/man8/virtual_oss_cmd.8.gz
+			share/man/man8/virtual_oss_cmd.8.gz
 
 DEBUG_MAKE_ARGS=	HAVE_DEBUG="YES"
 
@@ -45,7 +46,7 @@ EQUALIZER_DESC=	Build with equalizer utility
 EQUALIZER_MAKE_ARGS=	HAVE_EQUALIZER="YES"
 EQUALIZER_LIB_DEPENDS=	libfftw3.so:math/fftw3
 EQUALIZER_PLIST_FILES=	sbin/virtual_equalizer \
-			man/man8/virtual_equalizer.8.gz
+			share/man/man8/virtual_equalizer.8.gz
 EQUALIZER_SUB_LIST=	LIBFFTW3="${LOCALBASE}/lib/libfftw3.so:"
 EQUALIZER_SUB_LIST_OFF=	LIBFFTW3=""
 
@@ -57,8 +58,12 @@ SNDIO_LIB_DEPENDS=	libsndio.so:audio/sndio
 SNDIO_MAKE_ARGS=	HAVE_SNDIO="YES"
 
 PLIST_FILES=	sbin/virtual_oss \
-		man/man8/virtual_oss.8.gz
+		share/man/man8/virtual_oss.8.gz
 
 MAKE_ARGS+=	PTHREAD_LIBS="-lpthread"
 
+post-patch:
+	${REINPLACE_CMD} -e 's|$${PREFIX}/man/man|$${PREFIX}/share/man/man|' \
+		${WRKSRC}/Makefile
+
 .include <bsd.port.mk>
diff --git a/audio/vitunes/Makefile b/audio/vitunes/Makefile
index 570f38821fc5..b02ccd0f70dc 100644
--- a/audio/vitunes/Makefile
+++ b/audio/vitunes/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	vitunes
 PORTVERSION=	2.3
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	audio
 MASTER_SITES=	http://vitunes.org/files/
 
@@ -16,7 +16,7 @@ LIB_DEPENDS=	libtag.so:audio/taglib
 
 USES=		ncurses
 ALL_TARGET=	vitunes
-PLIST_FILES=	bin/vitunes man/man1/${PORTNAME}.1.gz
+PLIST_FILES=	bin/vitunes share/man/man1/${PORTNAME}.1.gz
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile
diff --git a/audio/vitunes/files/patch-Makefile b/audio/vitunes/files/patch-Makefile
index c465e5272c25..ddaefa74148f 100644
--- a/audio/vitunes/files/patch-Makefile
+++ b/audio/vitunes/files/patch-Makefile
@@ -7,7 +7,7 @@
 -	/usr/bin/install -c -m 0555 vitunes $(BINDIR)
 -	/usr/bin/install -c -m 0444 vitunes.1 $(MANDIR)
 +	${BSD_INSTALL_PROGRAM} -c -m 0555 vitunes $(DESTDIR)$(BINDIR)
-+	${BSD_INSTALL_MAN} -c -m 0444 vitunes.1 $(DESTDIR)$(MANDIR)
++	${BSD_INSTALL_MAN} -c -m 0444 vitunes.1 $(DESTDIR)$(PREFIX)/share/man/man1
  
  uninstall:
  	rm -f $(BINDIR)/vitunes
diff --git a/audio/vorbisgain/Makefile b/audio/vorbisgain/Makefile
index c4bcf9a29fde..2da1fab6e26c 100644
--- a/audio/vorbisgain/Makefile
+++ b/audio/vorbisgain/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	vorbisgain
 PORTVERSION=	0.37
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	audio
 MASTER_SITES=	http://sjeng.org/ftp/vorbis/
 
@@ -16,9 +16,10 @@ LIB_DEPENDS=	libvorbis.so:audio/libvorbis \
 
 USES=		localbase:ldflags
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 PLIST_FILES=	bin/vorbisgain \
-		man/man1/vorbisgain.1.gz
+		share/man/man1/vorbisgain.1.gz
 
 OPTIONS_DEFINE=	RECURSIVE
 
diff --git a/audio/wavetral/Makefile b/audio/wavetral/Makefile
index 225b19421e7b..b17eca2dcb40 100644
--- a/audio/wavetral/Makefile
+++ b/audio/wavetral/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wavetral
 DISTVERSION=	g20210517
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	audio
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -22,6 +22,10 @@ GH_ACCOUNT=	jeanette-c
 GH_TAGNAME=	57290f2
 
 PLIST_FILES=	bin/wavetral \
-		man/man1/wavetral.1.gz
+		share/man/man1/wavetral.1.gz
+
+post-patch:
+	${REINPLACE_CMD} -e 's|DESTINATION man/man1|DESTINATION share/man/man1|' \
+		${WRKSRC}/CMakeLists.txt
 
 .include <bsd.port.mk>
diff --git a/audio/wmmp/Makefile b/audio/wmmp/Makefile
index f72f9431edd4..ac7a879c17c0 100644
--- a/audio/wmmp/Makefile
+++ b/audio/wmmp/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	wmmp
 PORTVERSION=	0.12.6
+PORTREVISION=	1
 CATEGORIES=	audio windowmaker
 
 MAINTAINER=	nicolasherry@gmail.com
@@ -14,7 +15,11 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	yogsothoth
 USE_XORG=	xpm x11 xext
 
-PLIST_FILES=	bin/WMmp man/man1/WMmp.1.gz
+PLIST_FILES=	bin/WMmp share/man/man1/WMmp.1.gz
+
+post-patch:
+	${REINPLACE_CMD} -e 's|DESTINATION $${CMAKE_INSTALL_PREFIX}/man/man1|DESTINATION $${CMAKE_INSTALL_PREFIX}/share/man/man1|' \
+		${WRKSRC}/CMakeLists.txt
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WMmp