aboutsummaryrefslogtreecommitdiff
path: root/audio/cmus
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-10-28 21:28:54 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-10-28 21:28:54 +0000
commit6655a7ca30d68326a013daaa1179c249be58e880 (patch)
treeb246bd71e61940343070d409ceaf038da0b986cc /audio/cmus
parentc237320b4e600f13bd618ecde76e37674a5e926a (diff)
downloadports-6655a7ca30d68326a013daaa1179c249be58e880.tar.gz
ports-6655a7ca30d68326a013daaa1179c249be58e880.zip
Notes
Diffstat (limited to 'audio/cmus')
-rw-r--r--audio/cmus/Makefile23
1 files changed, 9 insertions, 14 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile
index 73600ba36206..7205ca895a8c 100644
--- a/audio/cmus/Makefile
+++ b/audio/cmus/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cmus
PORTVERSION= 2.5.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}
DISTNAME= ${PORTNAME}-v${PORTVERSION}
@@ -20,7 +20,7 @@ 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 MAD MIKMOD \
+OPTIONS_DEFINE= AAC AO CDDB CDIO CUE DISCID FLAC MAD MIKMOD \
MODPLUG MP4 MUSEPACK PULSEAUDIO TREMOR VORBIS WAVPACK
OPTIONS_DEFAULT=FLAC MAD VORBIS
DISCID_DESC= DISCID support
@@ -113,16 +113,15 @@ CONFIGURE_ARGS+=CONFIG_WAVPACK=n
PLIST_SUB+= WAVPACK="@comment "
.endif
-.if ${PORT_OPTIONS:MFFMPEG}
-FFMPEG_SUFFIX= 1
-BUILD_DEPENDS+= ffmpeg${FFMPEG_SUFFIX}>=1:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX}
-RUN_DEPENDS+= ffmpeg${FFMPEG_SUFFIX}>=1:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX}
-CONFIGURE_ARGS+=CONFIG_FFMPEG=y
-PLIST_SUB+= FFMPEG=""
-.else
+#.if ${PORT_OPTIONS:MFFMPEG}
+#BUILD_DEPENDS+= ffmpeg>=2:${PORTSDIR}/multimedia/ffmpeg
+#RUN_DEPENDS+= ffmpeg>=2:${PORTSDIR}/multimedia/ffmpeg
+#CONFIGURE_ARGS+=CONFIG_FFMPEG=y
+#PLIST_SUB+= FFMPEG=""
+#.else
CONFIGURE_ARGS+=CONFIG_FFMPEG=n
PLIST_SUB+= FFMPEG="@comment "
-.endif
+#.endif
.if ${PORT_OPTIONS:MAO}
LIB_DEPENDS+= ao:${PORTSDIR}/audio/libao
@@ -183,9 +182,5 @@ post-patch:
@${REINPLACE_CMD} -e 's,doc/cmus/examples,examples/cmus,g' \
${WRKSRC}/Doc/cmus.txt
@${REINPLACE_CMD} -e 's,/usr,${PREFIX},g' ${WRKSRC}/Doc/cmus.txt
-.if ${PORT_OPTIONS:MFFMPEG}
- @${REINPLACE_CMD} -e 's,libavformat,libavformat${FFMPEG_SUFFIX},g' \
- ${WRKSRC}/configure
-.endif
.include <bsd.port.mk>