aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mplayer/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-01-23 00:53:06 +0800
committerlioux <lioux@FreeBSD.org>2003-01-23 00:53:06 +0800
commit55a18460ee7ae395762d2787dc74ad86674bcd8b (patch)
treea2b32fee4be8e8a59132b6ecbb3227d95066663e /multimedia/mplayer/Makefile
parent31d35492ed985f3d70cc88d72a9b6667fb05412b (diff)
downloadfreebsd-ports-gnome-55a18460ee7ae395762d2787dc74ad86674bcd8b.tar.gz
freebsd-ports-gnome-55a18460ee7ae395762d2787dc74ad86674bcd8b.tar.zst
freebsd-ports-gnome-55a18460ee7ae395762d2787dc74ad86674bcd8b.zip
Update to 0.09 RC3
Submitted by: maintainer
Diffstat (limited to 'multimedia/mplayer/Makefile')
-rw-r--r--multimedia/mplayer/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 99fd421524b3..9a6fa559b11c 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mplayer
-PORTVERSION= 0.90.0.102
+PORTVERSION= 0.90.0.103
CATEGORIES= multimedia audio
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \
http://www2.mplayerhq.hu/MPlayer/releases/ \
@@ -16,13 +16,12 @@ MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \
ftp://ftp2.mplayerhq.hu/MPlayer/releases/ \
ftp://ftp.lug.udel.edu/MPlayer/releases/ \
http://www.rrr.de/~riggs/mplayer/
-DISTNAME= MPlayer-0.90rc2
+DISTNAME= MPlayer-0.90rc3
MAINTAINER= riggs@rrr.de
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
- iconv.3:${PORTSDIR}/converters/libiconv \
- mp3lame.0:${PORTSDIR}/audio/lame
+ iconv.3:${PORTSDIR}/converters/libiconv
USE_BZIP2= yes
USE_GMAKE= yes
@@ -42,7 +41,6 @@ CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \
USE_GNOMENG= yes
WANT_GNOME= yes
MAN1= mplayer.1
-MLINKS= mplayer.1 mencoder.1
MANCOMPRESSED= no
CONFFILES= codecs.conf example.conf input.conf menu.conf
@@ -176,6 +174,16 @@ CONFIGURE_ARGS+= --enable-mad \
CONFIGURE_ARGS+= --disable-mad
.endif
+.if !defined(WITHOUT_MENCODER)
+LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
+
+MLINKS+= mplayer.1 mencoder.1
+PLIST_SUB+= MENCODER=""
+.else
+CONFIGURE_ARGS+= --disable-mencoder
+PLIST_SUB+= MENCODER="@comment "
+.endif
+
.if defined(WITH_SVGALIB)
LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
.endif
@@ -256,8 +264,7 @@ RUN_DEPENDS+= ${CODEC_DETECTION_FILE}:${CODEC_PORT}
CONFIGURE_ARGS+= --with-win32libdir=${LOCALBASE}/lib/win32
-#CODEC_PORT= ${PORTSDIR}/multimedia/win32-codecs
-CODEC_PORT= ${.CURDIR}/../win32-codecs
+CODEC_PORT= ${PORTSDIR}/multimedia/win32-codecs
CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE
.else
CONFIGURE_ARGS+= --disable-win32 \