blob: 4cf4c71416d9d2412743ad0431bad4f8584adfd4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Created by: The Anarcat <anarcat@anarcat.dyndns.org>
# $FreeBSD$
PORTNAME= ecasound
PORTVERSION= 2.9.0
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://ecasound.seul.org/download/ \
http://nosignal.fi/download/ \
http://ecawave.sourceforge.net/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Multitrack audio processing software
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
OPTIONS_DEFINE= ALSA AUDIOFILE JACK LIBLO LIBOIL PYTHON SAMPLERATE SNDFILE
OPTIONS_DEFAULT=PYTHON
OPTIONS_SUB= PYTHON
USES= gmake readline
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --disable-liblilv \
--disable-rubyecasound \
--enable-sys-readline \
--disable-arts
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -pthread
ALSA_CONFIGURE_ENABLE= alsa
ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib
AUDIOFILE_CONFIGURE_ENABLE= audiofile
AUDIOFILE_LIB_DEPENDS= libaudiofile.so:${PORTSDIR}/audio/libaudiofile
JACK_CONFIGURE_ENABLE= jack
JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack
LIBLO_CONFIGURE_ENABLE= liblo
LIBLO_LIB_DEPENDS= liblo.so:${PORTSDIR}/audio/liblo
LIBOIL_CONFIGURE_ENABLE=liboil
LIBOIL_LIB_DEPENDS= liboil-0.3.so:${PORTSDIR}/devel/liboil
PYTHON_CONFIGURE_ENABLE=pyecasound
SAMPLERATE_CONFIGURE_ENABLE= libsamplerate
SAMPLERATE_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate
SNDFILE_CONFIGURE_ENABLE= sndfile
SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPYTHON}
CONFIGURE_ENV+= PYTHONPATH="${PYTHON_CMD}"
USE_PYTHON= yes
.endif
post-patch:
@${REINPLACE_CMD} -e '/test/ s|==|=|g ; \
s| $$EXTRAGCCFLAGS||g ; \
s| $$EXTRACPPFLAGS||g ; \
s| -D_P1003_1B_VISIBLE||' ${WRKSRC}/configure
.if ${PORT_OPTIONS:MPYTHON}
@${REINPLACE_CMD} -e 's|python -c|${PYTHON_CMD} -c|' \
${WRKSRC}/configure
.endif
.include <bsd.port.mk>
|