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
|
2006-12-21 19:57:26 +00:00
|
|
|
PORTVERSION= 2.4.5
|
2007-01-10 18:21:44 +00:00
|
|
|
PORTREVISION= 1
|
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
|
|
|
|
2005-12-18 10:37:06 +00:00
|
|
|
USE_GNOME= gnometarget
|
|
|
|
USE_GMAKE= yes
|
2006-12-21 19:57:26 +00:00
|
|
|
USE_GCC= 3.4+
|
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
|
|
|
|
|
|
|
|
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:
|
2005-12-18 10:37:06 +00:00
|
|
|
@${REINPLACE_CMD} -e 's| $$EXTRAGCCFLAGS||g ; \
|
|
|
|
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>
|