summaryrefslogtreecommitdiffstats
path: root/audio/ecasound/Makefile
blob: 43a4840f7118d27b1df0f2706eac2b40e9b83ca1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# 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>
OpenPOWER on IntegriCloud