aboutsummaryrefslogtreecommitdiff
path: root/audio/ecamegapedal/Makefile
blob: bced54289533df2aa912c03feb810ad2a90e72ad (plain) (blame)
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
# New ports collection makefile for:   ecamegapedal
# Date created:                13 aug 2007
# Whom:                        lazyklimm <lazyklimm@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	ecamegapedal
PORTVERSION=	0.4.4
PORTREVISION=	6
CATEGORIES=	audio
MASTER_SITES=	http://ecasound.seul.org/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Realtime audio processor

BUILD_DEPENDS=	${LOCALBASE}/lib/libecasound.a:${PORTSDIR}/audio/ecasound

BROKEN=		does not compile

JACKDIR=	${LOCALBASE}/include/jack
USE_QT_VER=	3
USE_GMAKE=	yes
GNU_CONFIGURE=	yes

CFLAGS+=	${PTHREAD_CFLAGS:S/"//g}
LDFLAGS+=	${PTHREAD_LIBS:S/"//g}
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}" \
		CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
		CXXFLAGS="-I${LOCALBASE}/include ${CXXFLAGS}"

MAN1=		ecamegapedal.1

.include <bsd.port.pre.mk>

.if defined(WITH_JACK)
CONFIGURE_ARGS+= --with-jack=${JACK_DIR}
LIB_DEPENDS+=	jack.0:${PORTSDIR}/audio/jack
.else
CONFIGURE_ARGS+= --disable-jack
.endif

.include <bsd.port.post.mk>