# New ports collection makefile for: ecasound # Date created: 22 dec 2000 # Whom: The Anarcat # # $FreeBSD$ # PORTNAME= ecasound PORTVERSION= 2.8.1 CATEGORIES= audio MASTER_SITES= http://ecasound.seul.org/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Multitrack audio processing software BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa OPTIONS_DEFINE= ARTS AUDIOFILE JACK LO OIL SAMPLERATE AUDIOFILE_DESC= Enable libaudiofile support LO_DESC= Enable liblo support OIL_DESC= Enable liboil support LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual USE_GMAKE= yes USE_AUTOTOOLS= libtool CONFIGURE_ARGS= --disable-pyecasound \ --disable-rubyecasound \ --enable-sys-readline USE_LDCONFIG= yes MAN1= ecaconvert.1 ecafixdc.1 ecalength.1 ecamonitor.1 \ ecanormalize.1 ecaplay.1 ecasignalview.1 ecasound.1 \ ecasound-iam.1 ecatools.1 MAN5= ecasoundrc.5 CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} .include .if exists(${LOCALBASE}/lib/libreadline.so.6) LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline .endif .if ${PORT_OPTIONS:MARTS} LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts .else CONFIGURE_ARGS+= --disable-arts .endif .if ${PORT_OPTIONS:MAUDIOFILE} LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile .else CONFIGURE_ARGS+= --disable-audiofile .endif .if ${PORT_OPTIONS:MJACK} LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack .else CONFIGURE_ARGS+= --disable-jack .endif .if ${PORT_OPTIONS:MLO} LIB_DEPENDS+= lo.7:${PORTSDIR}/audio/liblo .else CONFIGURE_ARGS+= --disable-liblo .endif .if ${PORT_OPTIONS:MOIL} LIB_DEPENDS+= oil-0.3.0:${PORTSDIR}/devel/liboil .else CONFIGURE_ARGS+= --disable-liboil .endif .if ${PORT_OPTIONS:MSAMPLERATE} LIB_DEPENDS+= samplerate.1:${PORTSDIR}/audio/libsamplerate .else CONFIGURE_ARGS+= --disable-libsamplerate --disable-sndfile .endif post-patch: @${REINPLACE_CMD} -e '/test/s|==|=|g ; \ s| $$EXTRAGCCFLAGS||g ; \ s| $$EXTRACPPFLAGS||g ; \ s| -pthread||g ; \ s| -D_THREAD_SAFE||g ; \ s| -D_P1003_1B_VISIBLE||' ${WRKSRC}/configure .include