1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/audio/ecasound/Makefile
Danilo Egea Gondolfo 0bc40ef0fd - Update from 2.9.0 to 2.9.1
- Remove GPLv3 and add LGPL21 to LICENSE

PR:		ports/185516
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2014-01-13 19:27:29 +00:00

60 lines
1.8 KiB
Makefile

# Created by: The Anarcat <anarcat@anarcat.dyndns.org>
# $FreeBSD$
PORTNAME= ecasound
PORTVERSION= 2.9.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 LGPL21
LICENSE_COMB= multi
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
OPTIONS_DEFINE= ALSA AUDIOFILE JACK LIBLO LIBOIL PYTHON SAMPLERATE SNDFILE
OPTIONS_DEFAULT=PYTHON
OPTIONS_SUB= yes
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
PYTHON_CONFIGURE_ENV= PYTHONPATH="${PYTHON_CMD}"
PYTHON_USE= PYTHON=yes
SAMPLERATE_CONFIGURE_ENABLE= libsamplerate
SAMPLERATE_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate
SNDFILE_CONFIGURE_ENABLE= sndfile
SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile
post-patch:
@${REINPLACE_CMD} -e '/test/ s|==|=|g ; \
s| $$EXTRAGCCFLAGS||g ; \
s| $$EXTRACPPFLAGS||g ; \
s| -D_P1003_1B_VISIBLE|| ; \
s|python -c|$$PYTHONPATH -c|' ${WRKSRC}/configure
.include <bsd.port.mk>