2000-12-26 06:52:15 +01:00
|
|
|
# New ports collection makefile for: ecasound
|
|
|
|
# Date created: 22 dec 2000
|
2001-08-24 19:04:29 +02:00
|
|
|
# Whom: The Anarcat <anarcat@anarcat.dyndns.org>
|
2000-12-26 06:52:15 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ecasound
|
2001-08-24 19:04:29 +02:00
|
|
|
PORTVERSION= 2.0.2
|
2001-09-15 06:35:42 +02:00
|
|
|
PORTREVISION= 1
|
2000-12-26 06:52:15 +01:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://ecasound.seul.org/download/ \
|
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
2001-08-24 19:04:29 +02:00
|
|
|
MASTER_SITE_SUBDIR= ecasound
|
2000-12-26 06:52:15 +01:00
|
|
|
|
2001-08-24 19:04:29 +02:00
|
|
|
MAINTAINER= anarcat@anarcat.dyndns.org
|
2000-12-26 06:52:15 +01:00
|
|
|
|
2001-04-25 00:22:44 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_AUTOMAKE= yes
|
|
|
|
USE_AUTOCONF= yes
|
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2001-09-15 06:35:42 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-sys-readline
|
|
|
|
MAKE_ENV+= ${CONFIGURE_ENV}
|
|
|
|
|
2001-03-17 14:40:04 +01: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 06:35:42 +02:00
|
|
|
# very crappy hack to detect audiofile properly
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
|
|
|
|
CXXFLAGS="-I${LOCALBASE}/include ${CXXFLAGS}"
|
2001-04-25 00:22:44 +02:00
|
|
|
LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
|
2001-03-17 14:40:04 +01:00
|
|
|
.else
|
2001-04-25 00:22:44 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-audiofile
|
2001-03-17 14:40:04 +01:00
|
|
|
.endif
|
|
|
|
|
2001-08-24 19:04:29 +02:00
|
|
|
#.if defined(WITH_PYECASOUND)
|
|
|
|
#USE_PYTHON= yes
|
|
|
|
#PLIST_SUB+= WITH_PYECASOUND=""
|
|
|
|
#.else
|
2001-09-15 06:35:42 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-pyecasound
|
|
|
|
PLIST_SUB+= WITH_PYECASOUND="@comment "
|
2001-08-24 19:04:29 +02:00
|
|
|
#.endif
|
2000-12-26 06:52:15 +01:00
|
|
|
|
|
|
|
MAN1= ecasound-iam.1 ecasound.1 ecatools.1
|
|
|
|
MAN5= ecasoundrc.5
|
|
|
|
|
2001-08-24 19:04:29 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/ecasound
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/ecasound/programmers_guide
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/ecasound/users_guide
|
2001-09-15 06:35:42 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/Documentation/*.html ${WRKSRC}/Documentation/*.txt \
|
2001-08-24 19:04:29 +02:00
|
|
|
${PREFIX}/share/doc/ecasound
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/Documentation/programmers_guide/*.html \
|
|
|
|
${PREFIX}/share/doc/ecasound/programmers_guide
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/Documentation/users_guide/*.html \
|
|
|
|
${PREFIX}/share/doc/ecasound/users_guide
|
|
|
|
.endif
|
|
|
|
|
2000-12-26 06:52:15 +01:00
|
|
|
# strip ${PREFIX}/bin/ecaconvert ${PREFIX}/bin/ecafixdc \
|
|
|
|
#${PREFIX}/bin/ecanormalize ${PREFIX}/bin/ecaplay ${PREFIX}/bin/ecasignalview \
|
|
|
|
#${PREFIX}/bin/ecasound ${PREFIX}/bin/ecasound-config ${PREFIX}/bin/ecasoundc-config
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|