View | Details | Raw Unified | Return to bug 89117
Collapse All | Expand All

(-)Makefile (-11 / +4 lines)
Lines 21-26 Link Here
21
GNU_CONFIGURE=		yes
21
GNU_CONFIGURE=		yes
22
MAKE_ENV=		PLAY_SUPPORT=1
22
MAKE_ENV=		PLAY_SUPPORT=1
23
23
24
OPTIONS=        LAME "Enable mp3 encoding with LAME" off \
25
                MAD "Enable mp3 decoding with MAD" off \
26
                VORBIS "Enable Ogg Vorbis support" off
27
24
.include <bsd.port.pre.mk>
28
.include <bsd.port.pre.mk>
25
29
26
.if exists(${LOCALBASE}/lib/libmp3lame.so.0)
30
.if exists(${LOCALBASE}/lib/libmp3lame.so.0)
Lines 60-76 Link Here
60
LIB_DEPENDS+=		mad.2:${PORTSDIR}/audio/libmad
64
LIB_DEPENDS+=		mad.2:${PORTSDIR}/audio/libmad
61
.else
65
.else
62
CONFIGURE_ARGS+=	--disable-mad
66
CONFIGURE_ARGS+=	--disable-mad
63
.endif
64
65
pre-fetch:
66
.if !defined(WITH_LAME)
67
	@${ECHO_MSG} "You can enable mp3 encoding by defining WITH_LAME."
68
.endif
69
.if !defined(WITH_MAD)
70
	@${ECHO_MSG} "You can enable mp3 decoding by defining WITH_MAD."
71
.endif
72
.if !defined(WITH_VORBIS)
73
	@${ECHO_MSG} "You can enable Ogg Vorbis support by defining WITH_VORBIS."
74
.endif
67
.endif
75
68
76
.include <bsd.port.post.mk>
69
.include <bsd.port.post.mk>

Return to bug 89117