aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2002-10-16 15:55:26 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2002-10-16 15:55:26 +0000
commitd1d202e468f8e65610fef94ac7e2040e28bb280b (patch)
treef7f8eabe3a4c402d85eb3fef83b2fc1876ccaa47 /graphics
parentc8181e4c1a52e74af13162d6eb7109b0f8438ab4 (diff)
downloadports-d1d202e468f8e65610fef94ac7e2040e28bb280b.tar.gz
ports-d1d202e468f8e65610fef94ac7e2040e28bb280b.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mplayer/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/graphics/mplayer/Makefile b/graphics/mplayer/Makefile
index 4a8daeac4d3c..1d41d0ef1bed 100644
--- a/graphics/mplayer/Makefile
+++ b/graphics/mplayer/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mplayer
PORTVERSION= 0.90.0.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://ftp.mplayerhq.hu/MPlayer/releases/ \
http://www.mplayerhq.hu/MPlayer/releases/ \
@@ -79,6 +79,10 @@ WITH_XANIM= yes
WITH_REALPLAYER= yes
.endif
+.if exists(${LOCALBASE}/live/liveMedia/libliveMedia.a)
+WITH_LIVEMEDIA= yes
+.endif
+
.if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS+= -O3 -ffast-math -fomit-frame-pointer
.endif
@@ -123,6 +127,13 @@ RUN_DEPENDS+= realplay:${PORTSDIR}/audio/linux-realplayer
BUILD_DEPENDS+= realplay:${PORTSDIR}/audio/linux-realplayer
.endif
+.if defined(WITH_LIVEMEDIA)
+CONFIGURE_ARGS+= --enable-live \
+ --with-livelibdir=${LOCALBASE}/live
+RUN_DEPENDS+= ${LOCALBASE}/live/liveMedia/libliveMedia.a:${PORTSDIR}/net/liveMedia
+BUILD_DEPENDS+= ${LOCALBASE}/live/liveMedia/libliveMedia.a:${PORTSDIR}/net/liveMedia
+ .endif
+
.if defined(WITH_XANIM)
BUILD_DEPENDS+= xanim:${PORTSDIR}/graphics/xanim