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

(-)audiere/Makefile (-16 / +14 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:	audiere
1
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
2
# Date created:		12 Sep 2007
3
# Whom:			Dmitry Marakasov <amdmi3@FreeBSD.org>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	audiere
4
PORTNAME=	audiere
9
PORTVERSION=	1.9.4
5
PORTVERSION=	1.9.4
Lines 30-41 Link Here
30
26
31
CONFIGURE_REPLACES='s|wx_config|no_&|'
27
CONFIGURE_REPLACES='s|wx_config|no_&|'
32
28
33
OPTIONS=	DUMB	"Enable DUMB support"	on \
29
#OPTIONS_DEFINE=	DUMB CDAUDIO VORBIS SPEEX FLAC
34
		CDAUDIO	"Enable libcdaudio support"	on \
30
#OPTIONS_DEFAULT=	DUMB CDAUDIO VORBIS SPEEX FLAC
35
		VORBIS	"Enable ogg vorbis support"	on \
31
OPTIONS_DEFINE=		DUMB CDAUDIO VORBIS SPEEX
36
		SPEEX	"Enable speex support"	on
32
OPTIONS_DEFAULT=	DUMB CDAUDIO VORBIS SPEEX
37
#		FLAC	"Enable FLAC support"	on
38
33
34
DUMB_DESC=	Enable DUMB support
35
CDAUDIO_DESC=	Enable libcdaudio support
36
39
.include <bsd.port.pre.mk>
37
.include <bsd.port.pre.mk>
40
38
41
# Broken with recent FLAC
39
# Broken with recent FLAC
Lines 45-71 Link Here
45
CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|FLAC|no_&|'
43
CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|FLAC|no_&|'
46
#.endif
44
#.endif
47
45
48
.if !defined(WITHOUT_DUMB)
46
.if ${PORT_OPTIONS:MDUMB}
49
BUILD_DEPENDS+=	${LOCALBASE}/lib/libdumb.a:${PORTSDIR}/audio/dumb
47
BUILD_DEPENDS+=	${LOCALBASE}/lib/libdumb.a:${PORTSDIR}/audio/dumb
50
.else
48
.else
51
CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|dumb|no_&|'
49
CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|dumb|no_&|'
52
.endif
50
.endif
53
51
54
.if !defined(WITHOUT_CDAUDIO)
52
.if ${PORT_OPTIONS:MCDAUDIO}
55
LIB_DEPENDS+=	cdaudio.1:${PORTSDIR}/audio/libcdaudio
53
LIB_DEPENDS+=	cdaudio:${PORTSDIR}/audio/libcdaudio
56
.else
54
.else
57
CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|cdaudio|no_&|'
55
CONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|cdaudio|no_&|'
58
.endif
56
.endif
59
57
60
.if !defined(WITHOUT_VORBIS)
58
.if ${PORT_OPTIONS:MVORBIS}
61
LIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio/libvorbis \
59
LIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio/libvorbis \
62
		ogg:${PORTSDIR}/audio/libogg
60
		ogg:${PORTSDIR}/audio/libogg
63
.else
61
.else
64
CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|vorbis|no_&|'
62
CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|vorbis|no_&|'
65
.endif
63
.endif
66
64
67
.if !defined(WITHOUT_SPEEX)
65
.if ${PORT_OPTIONS:MSPEEX}
68
LIB_DEPENDS+=	speex.1:${PORTSDIR}/audio/speex
66
LIB_DEPENDS+=	speex:${PORTSDIR}/audio/speex
69
.else
67
.else
70
CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|speex|no_&|'
68
CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|speex|no_&|'
71
.endif
69
.endif

Return to bug 173774