diff options
author | lioux <lioux@FreeBSD.org> | 2003-05-17 11:19:02 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2003-05-17 11:19:02 +0800 |
commit | 5f686e8eb306bb3ebf789a6eaa483de12f989961 (patch) | |
tree | 5bd43f291310c2c3c089700167e6fdf696d6d57f /multimedia | |
parent | 2dc89c75625e7109814f85808d67968c5e31537e (diff) | |
download | freebsd-ports-gnome-5f686e8eb306bb3ebf789a6eaa483de12f989961.tar.gz freebsd-ports-gnome-5f686e8eb306bb3ebf789a6eaa483de12f989961.tar.zst freebsd-ports-gnome-5f686e8eb306bb3ebf789a6eaa483de12f989961.zip |
Add WITH_CDPARANOIA knob which depends on cdparanoia port
PR: 52350
Submitted by: David Yeske <dyeske@yahoo.com>
Diffstat (limited to 'multimedia')
-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 197b33825038..5b2728e6dac6 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 |