diff options
author | lioux <lioux@FreeBSD.org> | 2003-05-17 03:19:02 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2003-05-17 03:19:02 +0000 |
commit | 5f686e8eb306bb3ebf789a6eaa483de12f989961 (patch) | |
tree | 5bd43f291310c2c3c089700167e6fdf696d6d57f /multimedia/mplayer | |
parent | 2dc89c75625e7109814f85808d67968c5e31537e (diff) | |
download | FreeBSD-ports-5f686e8eb306bb3ebf789a6eaa483de12f989961.zip FreeBSD-ports-5f686e8eb306bb3ebf789a6eaa483de12f989961.tar.gz |
Add WITH_CDPARANOIA knob which depends on cdparanoia port
PR: 52350
Submitted by: David Yeske <dyeske@yahoo.com>
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r-- | multimedia/mplayer/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile index 197b338..5b2728e 100644 --- a/multimedia/mplayer/Makefile +++ b/multimedia/mplayer/Makefile @@ -97,6 +97,9 @@ # WITH_ARTS # default: autodetect # +# WITH_CDPARANOIA +# default: autodetect +# # WITH_LIBDV # default: autodetect # @@ -218,6 +221,10 @@ TOOLFILES= calcbpp.pl countquant.pl \ WITH_ARTS= yes .endif +.if exists(${LOCALBASE}/lib/libcdda_paranoia.so) +WITH_CDPARANOIA= yes +.endif + .if exists(${LOCALBASE}/lib/libdv.so.3) WITH_LIBDV= yes .endif @@ -321,6 +328,12 @@ CONFIGURE_ARGS+= --enable-arts CONFIGURE_ARGS+= --disable-arts .endif +.if defined(WITH_CDPARANOIA) +LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia +.else +CONFIGURE_ARGS+= --disable-cdparanoia +.endif + .if defined(WITH_DVD) .if !defined(WITH_LIBDVDREAD) LIB_DEPENDS+= dvdcss.2:${PORTSDIR}/multimedia/libdvdcss |