diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-03-04 20:21:08 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-03-04 20:21:08 +0000 |
commit | d9daa8743d314bf92959422e6710f1d8cb66b81f (patch) | |
tree | 410a28f3bf40daaa2521222b34e3a0b2a9a96ae3 /multimedia/mplayerxp | |
parent | ee907851bab802061e77716a9c105c5975cb5eef (diff) | |
download | ports-d9daa8743d314bf92959422e6710f1d8cb66b81f.tar.gz ports-d9daa8743d314bf92959422e6710f1d8cb66b81f.zip |
Notes
Diffstat (limited to 'multimedia/mplayerxp')
-rw-r--r-- | multimedia/mplayerxp/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/multimedia/mplayerxp/Makefile b/multimedia/mplayerxp/Makefile index 5fe29343a8d0..76d71a8a9c6e 100644 --- a/multimedia/mplayerxp/Makefile +++ b/multimedia/mplayerxp/Makefile @@ -59,7 +59,6 @@ CONFIGURE_ARGS+= --with-extralibdir=${LOCALBASE}/lib \ --prefix=${PREFIX} \ --confdir=${PREFIX}/etc/${PORTNAME} \ --datadir=${LOCALBASE}/share/mplayer \ - --disable-cdparanoia \ --disable-fbdev \ --disable-lirc \ --disable-rtc \ @@ -80,6 +79,10 @@ WITH_ARTS=yes WITH_DVD=yes WITH_LIBDVDNAV=yes .endif +# cdparanoia (cdda support) +.if exists(${LOCALBASE}/lib/libcdda_paranoia.so) +WITH_CDPARANOIA=yes +.endif # ogle's libdvdread (dvd support) .if exists(${LOCALBASE}/lib/libdvdread.a) WITH_DVD=yes @@ -121,6 +124,12 @@ CONFIGURE_ARGS+= --enable-sse --enable-sse2 .ifdef(WITH_ARTS) LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts .endif +# cdda support +.ifdef(WITH_CDPARANOIA) +LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia +.else +CONFIGURE_ARGS+= --disable-cdparanoia +.endif # dvd support .ifdef(WITH_DVD) LIB_DEPENDS+= dvdread.2:${PORTSDIR}/multimedia/libdvdread @@ -192,6 +201,10 @@ pre-everything:: @${ECHO_MSG} '===>' @${ECHO_MSG} '===> You can enable KDE ARTS support by defining WITH_ARTS.' .endif +.ifndef(WITH_CDPARANOIA) + @${ECHO_MSG} '===>' + @${ECHO_MSG} '===> You can enable cdda support by defining WITH_CDPARANOIA.' +.endif .ifndef(WITH_DVD) @${ECHO_MSG} '===>' @${ECHO_MSG} '===> You can enable DVD support by defining WITH_DVD.' |