--- Makefile-OLD Thu Oct 6 05:40:12 2005 +++ Makefile Wed Nov 16 12:17:23 2005 @@ -21,6 +21,10 @@ GNU_CONFIGURE= yes MAKE_ENV= PLAY_SUPPORT=1 +OPTIONS= LAME "Enable mp3 encoding with LAME" off \ + MAD "Enable mp3 decoding with MAD" off \ + VORBIS "Enable Ogg Vorbis support" off + .include .if exists(${LOCALBASE}/lib/libmp3lame.so.0) @@ -60,17 +64,6 @@ LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad .else CONFIGURE_ARGS+= --disable-mad -.endif - -pre-fetch: -.if !defined(WITH_LAME) - @${ECHO_MSG} "You can enable mp3 encoding by defining WITH_LAME." -.endif -.if !defined(WITH_MAD) - @${ECHO_MSG} "You can enable mp3 decoding by defining WITH_MAD." -.endif -.if !defined(WITH_VORBIS) - @${ECHO_MSG} "You can enable Ogg Vorbis support by defining WITH_VORBIS." .endif .include