freebsd-ports/audio/ecasound/Makefile
Dirk Meyer 431231800b from maintainer:
Actually, the problem is that the ecasound port can optionally be compiled with
python so that you have another interface to the program. The python dependency
wasn't recorded in the makefile and the port was building the python bits by
default, so the process of installing or packaging failed a one point.
The fix is quite simple. And it features a couple of other enhancments.
First off, the current plist must be renamed "pkg-plist.py".
Second, a new plist must be made with the following diff on the original:

me:
The file pkg-plist contains only one revision,
so a repro copy of this file won't be needed.
I changed whitespaces to taps.

PR:		25814
Submitted by:	anarcat@tao.ca
2001-03-17 13:40:04 +00:00

57 lines
1.2 KiB
Makefile

# New ports collection makefile for: ecasound
# Date created: 22 dec 2000
# Whom: The Anarcat <anarcat@tao.ca>
#
# $FreeBSD$
#
PORTNAME= ecasound
PORTVERSION= 1.8.5d15
CATEGORIES= audio
MASTER_SITES= http://ecasound.seul.org/download/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ecawave
MAINTAINER= anarcat@tao.ca
.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)
LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
.else
CONFIGURE_ARGS+= --disable-audiofile
.endif
.if defined(WITH_PYECASOUND)
USE_PYTHON= yes
PLIST?= ${PKGDIR}/pkg-plist.py
.else
CONFIGURE_ARGS+= --disable-pyecasound
.endif
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_AUTOMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
MAN1= ecasound-iam.1 ecasound.1 ecatools.1
MAN5= ecasoundrc.5
#post-install:
# 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>