aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-08-26 08:02:05 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-08-26 08:02:05 +0000
commit5a751f781db09be89a55b6923e713bcd95498180 (patch)
treeb96441105911c78d1b1eb9c0d20646b7ab489691
parentd84269b3b7bc7b2c09fac62755693763990acce5 (diff)
downloadports-5a751f781db09be89a55b6923e713bcd95498180.tar.gz
ports-5a751f781db09be89a55b6923e713bcd95498180.zip
Notes
-rw-r--r--audio/cmus/Makefile318
-rw-r--r--audio/cmus/distinfo5
-rw-r--r--audio/cmus/files/patch-Makefile24
-rw-r--r--audio/cmus/files/patch-configure12
-rw-r--r--audio/cmus/files/patch-mp4.c14
-rw-r--r--audio/cmus/files/patch-scripts_checks.sh20
-rw-r--r--audio/cmus/files/patch-sndio.c24
-rw-r--r--audio/cmus/pkg-descr8
-rw-r--r--audio/cmus/pkg-plist47
9 files changed, 211 insertions, 261 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile
index 828ff7b85301..3701464d269e 100644
--- a/audio/cmus/Makefile
+++ b/audio/cmus/Makefile
@@ -2,12 +2,11 @@
# $FreeBSD$
PORTNAME= cmus
-PORTVERSION= 2.6.0
+PORTVERSION= 2.7.1
DISTVERSIONPREFIX= v
-PORTREVISION= 3
CATEGORIES= audio
-MAINTAINER= h.skuhra@gmail.com
+MAINTAINER= t@tobik.me
COMMENT= Console-based music player with really cool features
LICENSE= GPLv2
@@ -15,200 +14,139 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
-USES= gmake pkgconfig iconv ncurses
+USES= gmake iconv ncurses pkgconfig
HAS_CONFIGURE= yes
-CONFIGURE_ENV+= HOSTCC=${CC}
-CONFIGURE_ARGS+=prefix=${PREFIX} mandir=${MANPREFIX}/man \
- exampledir=${EXAMPLESDIR} \
- CONFIG_ALSA=n CONFIG_ARTS=n CONFIG_ROAR=n
-
-OPTIONS_DEFINE= AAC AO CDDB CDIO CUE DISCID FFMPEG FLAC JACK MAD MIKMOD \
- MODPLUG MP4 MUSEPACK OPUS PULSEAUDIO SAMPLERATE TREMOR \
- VORBIS WAVPACK
-OPTIONS_DEFAULT=AAC FFMPEG FLAC MAD MP4 VORBIS
-
-DISCID_DESC= DISCID support
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MFLAC}
-LIB_DEPENDS+= libFLAC.so:audio/flac
-CONFIGURE_ARGS+=CONFIG_FLAC=y
-PLIST_SUB+= FLAC=""
-.else
-CONFIGURE_ARGS+=CONFIG_FLAC=n
-PLIST_SUB+= FLAC="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MMAD}
-LIB_DEPENDS+= libmad.so:audio/libmad
-CONFIGURE_ARGS+=CONFIG_MAD=y
-PLIST_SUB+= MAD=""
-.else
-CONFIGURE_ARGS+=CONFIG_MAD=n
-PLIST_SUB+= MAD="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MMODPLUG}
-LIB_DEPENDS+= libmodplug.so:audio/libmodplug
-CONFIGURE_ARGS+=CONFIG_MODPLUG=y
-PLIST_SUB+= MODPLUG=""
-.else
-CONFIGURE_ARGS+=CONFIG_MODPLUG=n
-PLIST_SUB+= MODPLUG="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MMIKMOD}
-LIB_DEPENDS+= libmikmod.so:audio/libmikmod
-CONFIGURE_ARGS+=CONFIG_MIKMOD=y
-PLIST_SUB+= MIKMOD=""
-.else
-PLIST_SUB+= MIKMOD="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MMUSEPACK}
-LIB_DEPENDS+= libmpcdec.so:audio/musepack
-CONFIGURE_ARGS+=CONFIG_MPC=y
-PLIST_SUB+= MPC=""
-.else
-CONFIGURE_ARGS+=CONFIG_MPC=n
-PLIST_SUB+= MPC="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MOPUS}
-LIB_DEPENDS+= libopusfile.so:audio/opusfile
-CONFIGURE_ARGS+=CONFIG_OPUS=y
-PLIST_SUB+= OPUS=""
-.else
-CONFIGURE_ARGS+=CONFIG_OPUS=n
-PLIST_SUB+= OPUS="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MVORBIS} || ${PORT_OPTIONS:MTREMOR}
-LIB_DEPENDS+= libvorbisfile.so:audio/libvorbis
-CONFIGURE_ARGS+=CONFIG_VORBIS=y
-PLIST_SUB+= VORBIS=""
-.else
-CONFIGURE_ARGS+=CONFIG_VORBIS=n
-PLIST_SUB+= VORBIS="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MTREMOR}
-LIB_DEPENDS+= libvorbisidec.so:audio/libtremor
-CONFIGURE_ARGS+=CONFIG_TREMOR=y
-.endif
-
-.if ${PORT_OPTIONS:MMP4}
-LIB_DEPENDS+= libfaad.so:audio/faad
-LIB_DEPENDS+= libmp4v2.so:multimedia/mp4v2
-CONFIGURE_ARGS+=CONFIG_MP4=y
-PLIST_SUB+= MP4=""
-.else
-CONFIGURE_ARGS+=CONFIG_MP4=n
-PLIST_SUB+= MP4="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MAAC}
-LIB_DEPENDS+= libfaad.so:audio/faad
-CONFIGURE_ARGS+=CONFIG_AAC=y
-PLIST_SUB+= AAC=""
-.else
-CONFIGURE_ARGS+=CONFIG_AAC=n
-PLIST_SUB+= AAC="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MWAVPACK}
-LIB_DEPENDS+= libwavpack.so:audio/wavpack
-CONFIGURE_ARGS+=CONFIG_WAVPACK=y
-PLIST_SUB+= WAVPACK=""
-.else
-CONFIGURE_ARGS+=CONFIG_WAVPACK=n
-PLIST_SUB+= WAVPACK="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MFFMPEG}
-BUILD_DEPENDS+= ffmpeg>=2:multimedia/ffmpeg
-RUN_DEPENDS+= ffmpeg>=2:multimedia/ffmpeg
-CONFIGURE_ARGS+=CONFIG_FFMPEG=y
-PLIST_SUB+= FFMPEG=""
-.else
-CONFIGURE_ARGS+=CONFIG_FFMPEG=n
-PLIST_SUB+= FFMPEG="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MAO}
-LIB_DEPENDS+= libao.so:audio/libao
-CONFIGURE_ARGS+=CONFIG_AO=y
-PLIST_SUB+= AO=""
-.else
-CONFIGURE_ARGS+=CONFIG_AO=n
-PLIST_SUB+= AO="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MPULSEAUDIO}
-LIB_DEPENDS+= libpulse.so:audio/pulseaudio
-CONFIGURE_ARGS+=CONFIG_PULSE=y
-PLIST_SUB+= PULSEAUDIO=""
-.else
-CONFIGURE_ARGS+=CONFIG_PULSE=n
-PLIST_SUB+= PULSEAUDIO="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MCDDB} && ${PORT_OPTIONS:MCDIO}
-LIB_DEPENDS+= libcddb.so:audio/libcddb
-CONFIGURE_ARGS+=CONFIG_CDDB=y
-.else
-CONFIGURE_ARGS+=CONFIG_CDDB=n
-.endif
-
-.if ${PORT_OPTIONS:MCDIO}
-LIB_DEPENDS+= libcdio_cdda.so:sysutils/libcdio-paranoia
-CONFIGURE_ARGS+=CONFIG_CDIO=y
-PLIST_SUB+= CDIO=""
-.else
-CONFIGURE_ARGS+=CONFIG_CDIO=n
-PLIST_SUB+= CDIO="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MCUE}
-LIB_DEPENDS+= libcue.so:textproc/libcue
-CONFIGURE_ARGS+=CONFIG_CUE=y
-PLIST_SUB+= CUE=""
-.else
-CONFIGURE_ARGS+=CONFIG_CUE=n
-PLIST_SUB+= CUE="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MDISCID}
-LIB_DEPENDS+= libdiscid.so:audio/libdiscid
-CONFIGURE_ARGS+=CONFIG_DISCID=y
-.else
-CONFIGURE_ARGS+=CONFIG_DISCID=n
-.endif
-
-.if ${PORT_OPTIONS:MJACK}
-LIB_DEPENDS+= libjack.so:audio/jack
-CONFIGURE_ARGS+=CONFIG_JACK=y
-PLIST_SUB+= JACK=""
-.else
-CONFIGURE_ARGS+=CONFIG_JACK=n
-PLIST_SUB+= JACK="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MSAMPLERATE} && ${PORT_OPTIONS:MJACK}
-LIB_DEPENDS+= libsamplerate.so:audio/libsamplerate
-CONFIGURE_ARGS+=CONFIG_SAMPLERATE=y
-.else
-CONFIGURE_ARGS+=CONFIG_SAMPLERATE=n
-.endif
+CONFIGURE_ARGS= prefix=${PREFIX} mandir=${MANPREFIX}/man \
+ exampledir=${EXAMPLESDIR}
+# So the build does not use gcc for compiling ttman
+CONFIGURE_ARGS+= HOSTCC=${CC}
+
+# Verbose build makes it easier to spot problems
+MAKE_ARGS= V=2
+
+# Disable all configure options first. These will be overwritten by
+# enabled port options later. The args to cmus' configure script
+# follow shell value semantics i.e. later assignments overwrite
+# previous assignments. The options here appear in the same order as
+# ${WRKSRC}/configure --help. Please keep it that way.
+_CMUS_CONFIGURE_OPTS= CDDB CDIO DISCID FLAC MAD MODPLUG MIKMOD MPC \
+ VORBIS TREMOR OPUS WAV WAVPACK MP4 AAC FFMPEG \
+ VTX CUE ROAR PULSE ALSA JACK SAMPLERATE AO \
+ ARTS OSS SNDIO SUN WAVEOUT
+.for opt in ${_CMUS_CONFIGURE_OPTS}
+CONFIGURE_ARGS+= CONFIG_${opt}=n
+.endfor
+
+OPTIONS_DEFAULT= AAC FFMPEG FLAC MAD MP4 OSS SNDIO VORBIS WAV
+OPTIONS_SUB= yes
+
+OPTIONS_GROUP= OUT IN
+OPTIONS_GROUP_OUT= AO JACK OSS PULSEAUDIO SNDIO
+OPTIONS_GROUP_IN= AAC CDDB CDIO CUE DISCID FFMPEG FLAC MAD MIKMOD \
+ MODPLUG MP4 MUSEPACK OPUS SAMPLERATE TREMOR \
+ VORBIS WAV WAVPACK
+
+DISCID_DESC= libdiscid CDDA identification support
+IN_DESC= Input plugins
+OUT_DESC= Output plugins
+
+AAC_CONFIGURE_ON= CONFIG_AAC=y
+AAC_LIB_DEPENDS= libfaad.so:audio/faad
+
+AO_CONFIGURE_ON= CONFIG_AO=y
+AO_LIB_DEPENDS= libao.so:audio/libao
+
+CDDB_CONFIGURE_ON= CONFIG_CDDB=y
+CDDB_LIB_DEPENDS= libcddb.so:audio/libcddb
+
+CDIO_CONFIGURE_ON= CONFIG_CDIO=y
+CDIO_LIB_DEPENDS= libcdio_cdda.so:sysutils/libcdio-paranoia \
+ libcdio.so:sysutils/libcdio
+
+CUE_CONFIGURE_ON= CONFIG_CUE=y
+CUE_LIB_DEPENDS= libcue.so:textproc/libcue
+
+DISCID_CONFIGURE_ON= CONFIG_DISCID=y
+DISCID_LIB_DEPENDS= libdiscid.so:audio/libdiscid
+
+FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
+FFMPEG_CONFIGURE_ON= CONFIG_FFMPEG=y
+
+FLAC_CONFIGURE_ON= CONFIG_FLAC=y
+FLAC_LIB_DEPENDS= libFLAC.so:audio/flac
+
+JACK_CONFIGURE_ON= CONFIG_JACK=y
+JACK_LIB_DEPENDS= libjack.so:audio/jack
+
+MAD_CONFIGURE_ON= CONFIG_MAD=y
+MAD_LIB_DEPENDS= libmad.so:audio/libmad
+
+MIKMOD_CONFIGURE_ON= CONFIG_MIKMOD=y
+MIKMOD_LIB_DEPENDS= libmikmod.so:audio/libmikmod
+
+MODPLUG_CONFIGURE_ON= CONFIG_MODPLUG=y
+MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug
+
+MP4_CONFIGURE_ON= CONFIG_MP4=y
+MP4_LIB_DEPENDS= libfaad.so:audio/faad \
+ libmp4v2.so:multimedia/mp4v2
+
+MUSEPACK_CONFIGURE_ON= CONFIG_MPC=y
+MUSEPACK_LIB_DEPENDS= libmpcdec.so:audio/musepack
+
+OPUS_CONFIGURE_ON= CONFIG_OPUS=y
+OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile
+
+OSS_CONFIGURE_ON= CONFIG_OSS=y
+
+PULSEAUDIO_CONFIGURE_ON= CONFIG_PULSE=y
+PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
+
+# Requires a port of RoarAudio
+#ROAR_CONFIGURE_ON= CONFIG_ROAR=y
+#ROAR_LIB_DEPENDS= ????:????
+
+SAMPLERATE_IMPLIES= JACK
+SAMPLERATE_CONFIGURE_ON= CONFIG_SAMPLERATE=y
+SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate
+
+SNDIO_CONFIGURE_ON= CONFIG_SNDIO=y
+SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
+
+TREMOR_IMPLIES= VORBIS
+TREMOR_CONFIGURE_ON= CONFIG_TREMOR=y
+TREMOR_LIB_DEPENDS= libvorbisidec.so:audio/libtremor
+
+VORBIS_CONFIGURE_ON= CONFIG_VORBIS=y
+VORBIS_LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
+
+# VTX requires libayemu which isn't ported yet
+#VTX_CONFIGURE_ON= CONFIG_VTX=y
+#VTX_LIB_DEPENDS= libayemu.so:?????
+
+WAV_CONFIGURE_ON= CONFIG_WAV=y
+
+WAVPACK_CONFIGURE_ON= CONFIG_WAVPACK=y
+WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack
+
+# Doc/cmus.txt is used to generate the man pages. Fix paths to point
+# to the correct directories.
post-patch:
- @${REINPLACE_CMD} -e 's,doc/cmus/examples,examples/cmus,g' \
+ @${REINPLACE_CMD} \
+ -e 's,/usr/share/doc/cmus/examples,${EXAMPLESDIR},g' \
+ -e 's,/usr/share/cmus,${DATADIR},g' \
${WRKSRC}/Doc/cmus.txt
- @${REINPLACE_CMD} -e 's,/usr,${PREFIX},g' ${WRKSRC}/Doc/cmus.txt
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cmus*
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/cmus/[io]p/*.so
+# Install bash and zsh completion files
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
+ ${INSTALL_DATA} ${WRKSRC}/contrib/cmus.bash-completion \
+ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/_cmus.bash
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
+ ${INSTALL_DATA} ${WRKSRC}/contrib/_cmus \
+ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_cmus
.include <bsd.port.mk>
diff --git a/audio/cmus/distinfo b/audio/cmus/distinfo
index 58f4993d5535..c0945ba33078 100644
--- a/audio/cmus/distinfo
+++ b/audio/cmus/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cmus-cmus-v2.6.0_GH0.tar.gz) = 0c53c072432e026d682d1749bbe89777507b31107ca04afad21a9bf375208e8e
-SIZE (cmus-cmus-v2.6.0_GH0.tar.gz) = 287834
+TIMESTAMP = 1469160686
+SHA256 (cmus-cmus-v2.7.1_GH0.tar.gz) = 8179a7a843d257ddb585f4c65599844bc0e516fe85e97f6f87a7ceade4eb5165
+SIZE (cmus-cmus-v2.7.1_GH0.tar.gz) = 296818
diff --git a/audio/cmus/files/patch-Makefile b/audio/cmus/files/patch-Makefile
deleted file mode 100644
index 33e64edfb043..000000000000
--- a/audio/cmus/files/patch-Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
---- Makefile.orig 2014-08-11 07:48:28 UTC
-+++ Makefile
-@@ -111,7 +111,7 @@ $(opus-objs): CFLAGS += $(OPUS_CFLAGS)
- $(wavpack-objs): CFLAGS += $(WAVPACK_CFLAGS)
- $(mp4-objs): CFLAGS += $(MP4_CFLAGS)
- $(aac-objs): CFLAGS += $(AAC_CFLAGS)
--$(ffmpeg-objs): CFLAGS += $(FFMPEG_CFLAGS)
-+$(ffmpeg-objs): CFLAGS := $(FFMPEG_CFLAGS) $(CFLAGS)
- $(cue-objs): CFLAGS += $(CUE_CFLAGS)
-
- cdio.so: $(cdio-objs) $(libcmus-y)
-@@ -231,10 +231,10 @@ $(man7): Doc/ttman
- $(call cmd,ttman)
-
- Doc/ttman.o: Doc/ttman.c
-- $(call cmd,hostcc,)
-+ $(call cmd,cc,)
-
- Doc/ttman: Doc/ttman.o
-- $(call cmd,hostld,)
-+ $(call cmd,ld,)
-
- quiet_cmd_ttman = MAN $@
- cmd_ttman = Doc/ttman $< $@
diff --git a/audio/cmus/files/patch-configure b/audio/cmus/files/patch-configure
new file mode 100644
index 000000000000..1123cc7365d3
--- /dev/null
+++ b/audio/cmus/files/patch-configure
@@ -0,0 +1,12 @@
+Upstreamed in https://github.com/cmus/cmus/commit/37f4daaea4d2724cd2b4d66984cf72b012ef5d48
+--- configure.orig 2016-08-03 15:18:16 UTC
++++ configure
+@@ -21,7 +21,7 @@ check_cflags()
+ check_sndio()
+ {
+ case `uname -s` in
+- OpenBSD)
++ OpenBSD|FreeBSD)
+ check_library SNDIO "" "-lsndio"
+ return $?
+ esac
diff --git a/audio/cmus/files/patch-mp4.c b/audio/cmus/files/patch-mp4.c
new file mode 100644
index 000000000000..310c56f9243e
--- /dev/null
+++ b/audio/cmus/files/patch-mp4.c
@@ -0,0 +1,14 @@
+This patch is needed because multimedia/mp4v2 doesn't currently have
+MP4LogSetLevel. It requires mp4v2 >= 2.0.0.
+
+--- mp4.c.orig 2015-07-13 10:00:56 UTC
++++ mp4.c
+@@ -155,7 +155,7 @@ static int mp4_open(struct input_plugin_
+ return -IP_ERROR_FUNCTION_NOT_SUPPORTED;
+
+ /* kindly ask mp4v2 to not spam stderr */
+- MP4LogSetLevel(MP4_LOG_NONE);
++ //MP4LogSetLevel(MP4_LOG_NONE);
+
+ /* init private struct */
+ priv = xnew(struct mp4_private, 1);
diff --git a/audio/cmus/files/patch-scripts_checks.sh b/audio/cmus/files/patch-scripts_checks.sh
deleted file mode 100644
index 15b27cba2112..000000000000
--- a/audio/cmus/files/patch-scripts_checks.sh
+++ /dev/null
@@ -1,20 +0,0 @@
---- scripts/checks.sh.orig 2014-08-11 07:48:28 UTC
-+++ scripts/checks.sh
-@@ -677,11 +677,15 @@ check_dl()
- check_iconv()
- {
- HAVE_ICONV=n
-- if check_library ICONV "" "-liconv"
-+ if check_function iconv
-+ then
-+ echo "libc contains iconv"
-+ makefile_var ICONV_CFLAGS ""
-+ makefile_var ICONV_LIBS ""
-+ elif check_library ICONV "" "-liconv"
- then
- echo "taking iconv from libiconv"
- else
-- echo "assuming libc contains iconv"
- makefile_var ICONV_CFLAGS ""
- makefile_var ICONV_LIBS ""
- fi
diff --git a/audio/cmus/files/patch-sndio.c b/audio/cmus/files/patch-sndio.c
new file mode 100644
index 000000000000..2ceeb5d159e6
--- /dev/null
+++ b/audio/cmus/files/patch-sndio.c
@@ -0,0 +1,24 @@
+Upstreamed in https://github.com/cmus/cmus/commit/37f4daaea4d2724cd2b4d66984cf72b012ef5d48
+--- sndio.c.orig 2015-07-13 10:00:56 UTC
++++ sndio.c
+@@ -20,7 +20,6 @@
+
+ #include <sys/types.h>
+ #include <sys/ioctl.h>
+-#include <sys/audioio.h>
+ #include <sys/stat.h>
+ #include <errno.h>
+ #include <fcntl.h>
+@@ -82,6 +81,12 @@ static int sndio_set_sf(sample_format_t
+ par.le = 1;
+
+ switch (sf_get_bits(sndio_sf)) {
++ case 32:
++ par.bits = 32;
++ break;
++ case 24:
++ par.bits = 24;
++ break;
+ case 16:
+ par.bits = 16;
+ break;
diff --git a/audio/cmus/pkg-descr b/audio/cmus/pkg-descr
index 08b8dbaccb9b..e7d9a1e6ca2d 100644
--- a/audio/cmus/pkg-descr
+++ b/audio/cmus/pkg-descr
@@ -1,5 +1,5 @@
-cmus is a small ncurses based music player. It supports various output methods
-by output-plugins. It has got completely configurable keybindings and it can be
-controlled from the outside via cmus-remote(1).
+cmus is a small ncurses based music player. It supports various
+output methods by output-plugins. It has got completely configurable
+keybindings and it can be controlled from the outside via cmus-remote(1).
-WWW: http://cmus.sourceforge.net
+WWW: https://cmus.github.io/
diff --git a/audio/cmus/pkg-plist b/audio/cmus/pkg-plist
index 8affdc1a5eab..2a22f7ed9db1 100644
--- a/audio/cmus/pkg-plist
+++ b/audio/cmus/pkg-plist
@@ -1,26 +1,7 @@
-bin/cmus
-bin/cmus-remote
-lib/cmus/ip/wav.so
-lib/cmus/op/oss.so
-man/man1/cmus-remote.1.gz
-man/man1/cmus.1.gz
-man/man7/cmus-tutorial.7.gz
-%%FLAC%%lib/cmus/ip/flac.so
-%%MAD%%lib/cmus/ip/mad.so
-%%MODPLUG%%lib/cmus/ip/modplug.so
-%%MIKMOD%%lib/cmus/ip/mikmod.so
-%%MPC%%lib/cmus/ip/mpc.so
-%%OPUS%%lib/cmus/ip/opus.so
-%%VORBIS%%lib/cmus/ip/vorbis.so
-%%MP4%%lib/cmus/ip/mp4.so
%%AAC%%lib/cmus/ip/aac.so
-%%WAVPACK%%lib/cmus/ip/wavpack.so
-%%FFMPEG%%lib/cmus/ip/ffmpeg.so
+%%AO%%lib/cmus/op/ao.so
%%CDIO%%lib/cmus/ip/cdio.so
%%CUE%%lib/cmus/ip/cue.so
-%%AO%%lib/cmus/op/ao.so
-%%JACK%%lib/cmus/op/jack.so
-%%PULSEAUDIO%%lib/cmus/op/pulse.so
%%DATADIR%%/cyan.theme
%%DATADIR%%/default.theme
%%DATADIR%%/gray-88.theme
@@ -32,4 +13,28 @@ man/man7/cmus-tutorial.7.gz
%%DATADIR%%/solarized-light.theme
%%DATADIR%%/xterm-white.theme
%%DATADIR%%/zenburn.theme
-%%EXAMPLESDIR%%/cmus-status-display
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cmus-status-display
+%%FFMPEG%%lib/cmus/ip/ffmpeg.so
+%%FLAC%%lib/cmus/ip/flac.so
+%%JACK%%lib/cmus/op/jack.so
+%%MAD%%lib/cmus/ip/mad.so
+%%MIKMOD%%lib/cmus/ip/mikmod.so
+%%MODPLUG%%lib/cmus/ip/modplug.so
+%%MP4%%lib/cmus/ip/mp4.so
+%%MUSEPACK%%lib/cmus/ip/mpc.so
+%%OPUS%%lib/cmus/ip/opus.so
+%%OSS%%lib/cmus/op/oss.so
+%%PULSEAUDIO%%lib/cmus/op/pulse.so
+@comment %%ROAR%%lib/cmus/op/roar.so
+%%SNDIO%%lib/cmus/op/sndio.so
+%%VORBIS%%lib/cmus/ip/vorbis.so
+@comment %%VTX%%lib/cmus/ip/vtx.so
+%%WAV%%lib/cmus/ip/wav.so
+%%WAVPACK%%lib/cmus/ip/wavpack.so
+bin/cmus
+bin/cmus-remote
+etc/bash_completion.d/_cmus.bash
+man/man1/cmus-remote.1.gz
+man/man1/cmus.1.gz
+man/man7/cmus-tutorial.7.gz
+share/zsh/site-functions/_cmus