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
|
2003-06-22 22:48:25 +00:00
|
|
|
PORTVERSION= 2.2.3
|
2004-02-04 05:21:48 +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
|
|
|
|
2003-04-06 00:05:00 +00:00
|
|
|
MAINTAINER= anarcat@anarcat.ath.cx
|
2003-02-21 11:08:38 +00:00
|
|
|
COMMENT= Multitrack audio processing software
|
2000-12-26 05:52:15 +00:00
|
|
|
|
2001-04-24 22:22:44 +00:00
|
|
|
USE_GMAKE= yes
|
2002-01-06 06:20:22 +00:00
|
|
|
USE_AUTOMAKE_VER=14
|
2004-06-04 17:29:38 +00:00
|
|
|
USE_AUTOCONF_VER=213
|
2004-07-09 17:43:11 +00:00
|
|
|
USE_INC_LIBTOOL_VER= 13
|
2003-10-23 19:07:47 +00:00
|
|
|
USE_REINPLACE= yes
|
2001-04-24 22:22:44 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2001-12-06 19:18:09 +00:00
|
|
|
MAKE_ENV+= ${CONFIGURE_ENV}
|
2001-09-15 04:35:42 +00:00
|
|
|
|
2001-03-17 13:40:04 +00:00
|
|
|
.if defined(WITH_MPG123)
|
|
|
|
RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_LAME)
|
|
|
|
RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_MIKMOD)
|
|
|
|
RUN_DEPENDS+= mikmod:${PORTSDIR}/audio/mikmod
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_AUDIOFILE)
|
2001-09-15 04:35:42 +00:00
|
|
|
# very crappy hack to detect audiofile properly
|
2003-10-23 19:07:47 +00:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include ${CPPFLAGS}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}" \
|
2001-12-06 19:18:09 +00:00
|
|
|
CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
|
2001-09-15 04:35:42 +00:00
|
|
|
CXXFLAGS="-I${LOCALBASE}/include ${CXXFLAGS}"
|
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
|
|
|
|
|
2001-08-24 17:04:29 +00:00
|
|
|
#.if defined(WITH_PYECASOUND)
|
|
|
|
#USE_PYTHON= yes
|
|
|
|
#PLIST_SUB+= WITH_PYECASOUND=""
|
|
|
|
#.else
|
2001-09-15 04:35:42 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-pyecasound
|
|
|
|
PLIST_SUB+= WITH_PYECASOUND="@comment "
|
2001-08-24 17:04:29 +00:00
|
|
|
#.endif
|
2000-12-26 05:52:15 +00:00
|
|
|
|
2001-12-06 19:18:09 +00:00
|
|
|
.if !defined(WITH_OPTIMIZED_CFLAGS)
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-configure.in-optimizations
|
|
|
|
.endif
|
|
|
|
|
2003-01-14 04:17:21 +00:00
|
|
|
MAN1= ecasound-iam.1 ecasound.1 ecatools.1 ecaconvert.1 \
|
2003-04-06 00:05:00 +00:00
|
|
|
ecafixdc.1 ecalength.1 ecamonitor.1 ecanormalize.1 \
|
|
|
|
ecaplay.1 ecasignalview.1
|
2000-12-26 05:52:15 +00:00
|
|
|
MAN5= ecasoundrc.5
|
|
|
|
|
2001-12-06 19:18:09 +00:00
|
|
|
pre-everything::
|
|
|
|
.if !defined(WITH_OPTIMIZED_CFLAGS)
|
|
|
|
@${ECHO_MSG} "You can enable additional compilation optimizations"
|
|
|
|
@${ECHO_MSG} "by defining WITH_OPTIMIZED_CFLAGS"
|
|
|
|
.endif
|
|
|
|
.if !defined(WITH_AUDIOFILE)
|
|
|
|
@${ECHO_MSG} "You can enable AUDIOFILE support by defining WITH_AUDIOFILE."
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.if !defined(WITH_OPTIMIZED_CFLAGS)
|
2003-10-23 19:07:47 +00:00
|
|
|
@${REINPLACE_CMD} -e 's!-O2 -ffast-math!!' ${WRKSRC}/kvutils/Makefile.am
|
2001-12-06 19:18:09 +00:00
|
|
|
.endif
|
|
|
|
|
2003-09-24 09:37:11 +00:00
|
|
|
# ${STRIP_CMD} ${PREFIX}/bin/ecaconvert ${PREFIX}/bin/ecafixdc \
|
2000-12-26 05:52:15 +00:00
|
|
|
#${PREFIX}/bin/ecanormalize ${PREFIX}/bin/ecaplay ${PREFIX}/bin/ecasignalview \
|
|
|
|
#${PREFIX}/bin/ecasound ${PREFIX}/bin/ecasound-config ${PREFIX}/bin/ecasoundc-config
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|