2000-12-26 05:52:15 +00:00
|
|
|
# New ports collection makefile for: ecasound
|
|
|
|
# Date created: 22 dec 2000
|
2001-08-24 17:04:29 +00:00
|
|
|
# Whom: The Anarcat <anarcat@anarcat.dyndns.org>
|
2000-12-26 05:52:15 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ecasound
|
2008-08-25 21:16:31 +00:00
|
|
|
PORTVERSION= 2.5.2
|
2000-12-26 05:52:15 +00:00
|
|
|
CATEGORIES= audio
|
2002-12-26 10:57:07 +00:00
|
|
|
MASTER_SITES= http://ecasound.seul.org/download/
|
2000-12-26 05:52:15 +00:00
|
|
|
|
2005-11-26 05:13:18 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 11:08:38 +00:00
|
|
|
COMMENT= Multitrack audio processing software
|
2000-12-26 05:52:15 +00:00
|
|
|
|
2007-10-08 14:08:18 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
|
|
|
|
|
2008-08-18 22:08:13 +00:00
|
|
|
OPTIONS= ARTS "Enable aRts support" off \
|
|
|
|
AUDIOFILE "Enable libaudiofile support" off \
|
|
|
|
JACK "Enable JACK support" off \
|
|
|
|
SAMPLERATE "Enable libsamplerate support" off
|
|
|
|
|
2005-12-18 10:37:06 +00:00
|
|
|
USE_GMAKE= yes
|
2006-08-06 05:38:13 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-12-18 10:37:06 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2007-07-23 09:36:51 +00:00
|
|
|
CONFIGURE_ARGS= --disable-pyecasound \
|
2007-01-10 18:21:44 +00:00
|
|
|
--disable-rubyecasound \
|
|
|
|
--with-largefile \
|
2006-01-31 16:11:45 +00:00
|
|
|
--enable-sys-readline
|
2006-08-14 10:08:25 +00:00
|
|
|
USE_LDCONFIG= yes
|
2001-04-24 22:22:44 +00:00
|
|
|
|
2005-12-18 10:37:06 +00:00
|
|
|
MAN1= ecasound-iam.1 ecasound.1 ecatools.1 ecaconvert.1 \
|
|
|
|
ecafixdc.1 ecalength.1 ecamonitor.1 ecanormalize.1 \
|
|
|
|
ecaplay.1 ecasignalview.1
|
|
|
|
MAN5= ecasoundrc.5
|
|
|
|
|
2008-08-25 21:16:31 +00:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2001-09-15 04:35:42 +00:00
|
|
|
|
2005-12-18 10:37:06 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2001-03-17 13:40:04 +00:00
|
|
|
|
2007-04-14 16:20:45 +00:00
|
|
|
.if exists(${LOCALBASE}/lib/libreadline.so.5)
|
2006-01-31 16:11:45 +00:00
|
|
|
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
|
2006-08-06 05:38:13 +00:00
|
|
|
.endif
|
|
|
|
|
2005-12-18 10:37:06 +00:00
|
|
|
.if defined(WITH_ARTS)
|
|
|
|
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-arts
|
2001-03-17 13:40:04 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_AUDIOFILE)
|
2001-04-24 22:22:44 +00:00
|
|
|
LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
|
2001-03-17 13:40:04 +00:00
|
|
|
.else
|
2001-04-24 22:22:44 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-audiofile
|
2001-03-17 13:40:04 +00:00
|
|
|
.endif
|
|
|
|
|
2005-12-18 10:37:06 +00:00
|
|
|
.if defined(WITH_JACK)
|
|
|
|
LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-jack
|
2001-12-06 19:18:09 +00:00
|
|
|
.endif
|
|
|
|
|
2005-12-18 10:37:06 +00:00
|
|
|
.if defined(WITH_SAMPLERATE)
|
2006-01-31 16:11:45 +00:00
|
|
|
LIB_DEPENDS+= samplerate.1:${PORTSDIR}/audio/libsamplerate
|
2005-12-18 10:37:06 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-libsamplerate --disable-sndfile
|
2001-12-06 19:18:09 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2007-10-08 14:08:18 +00:00
|
|
|
@${REINPLACE_CMD} -e '/test/s|==|=|g ; \
|
|
|
|
s| $$EXTRAGCCFLAGS||g ; \
|
2005-12-18 10:37:06 +00:00
|
|
|
s| -pthread||g ; \
|
|
|
|
s| -D_THREAD_SAFE||g ; \
|
|
|
|
s| -D_P1003_1B_VISIBLE||' ${WRKSRC}/configure
|
2000-12-26 05:52:15 +00:00
|
|
|
|
2005-12-18 10:37:06 +00:00
|
|
|
.include <bsd.port.post.mk>
|