Skip to content

Commit

Permalink
audio/*: Move manpages to share/man
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
arrowd committed Feb 19, 2024
1 parent 5e77b04 commit a3d08d7
Show file tree
Hide file tree
Showing 21 changed files with 80 additions and 40 deletions.
8 changes: 6 additions & 2 deletions 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
Expand All @@ -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

Expand All @@ -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>
9 changes: 5 additions & 4 deletions 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/ \
Expand All @@ -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"
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions 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/
Expand All @@ -21,14 +21,15 @@ 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 \
ezstream_reencode_mp3.xml ezstream_reencode_theora.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
Expand Down
4 changes: 3 additions & 1 deletion audio/fapg/Makefile
@@ -1,5 +1,6 @@
PORTNAME= fapg
PORTVERSION= 0.43
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://royale.zerezo.com/${PORTNAME}/

Expand All @@ -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>
4 changes: 3 additions & 1 deletion audio/id3tool/Makefile
@@ -1,5 +1,6 @@
PORTNAME= id3tool
PORTVERSION= 1.2a
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://nekohako.xware.cx/id3tool/

Expand All @@ -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>
4 changes: 2 additions & 2 deletions 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
Expand All @@ -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

Expand Down
10 changes: 8 additions & 2 deletions 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=
Expand Down
7 changes: 5 additions & 2 deletions audio/mp3plot/Makefile
@@ -1,13 +1,15 @@
PORTNAME= mp3plot
DISTVERSION= 0.6.0
PORTREVISION= 36
PORTREVISION= 37
CATEGORIES= audio
MASTER_SITES= http://p.outlyer.net/mp3plot/files/

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

Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions 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/

Expand All @@ -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
Expand Down
4 changes: 3 additions & 1 deletion 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
Expand All @@ -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>
5 changes: 3 additions & 2 deletions 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/

Expand All @@ -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

Expand Down
5 changes: 3 additions & 2 deletions 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}
Expand All @@ -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>
4 changes: 2 additions & 2 deletions 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/

Expand All @@ -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>
2 changes: 1 addition & 1 deletion audio/taglookup/files/patch-Makefile
Expand Up @@ -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)
Expand Down
5 changes: 3 additions & 2 deletions audio/tcd/Makefile
@@ -1,6 +1,6 @@
PORTNAME= tcd
PORTVERSION= 2.2.0
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= audio
MASTER_SITES= SAVANNAH

Expand All @@ -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>
13 changes: 9 additions & 4 deletions 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
Expand Down Expand Up @@ -31,21 +32,21 @@ 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"

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=""

Expand All @@ -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>
4 changes: 2 additions & 2 deletions audio/vitunes/Makefile
@@ -1,6 +1,6 @@
PORTNAME= vitunes
PORTVERSION= 2.3
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= http://vitunes.org/files/

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion audio/vitunes/files/patch-Makefile
Expand Up @@ -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
5 changes: 3 additions & 2 deletions 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/

Expand All @@ -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

Expand Down

0 comments on commit a3d08d7

Please sign in to comment.