aboutsummaryrefslogtreecommitdiff
path: root/audio/q-audio/Makefile
blob: 281a5263842c03fcb6c413bbc425bb45caf0d9a9 (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
# New ports collection makefile for:	q-audio
# Date created:		14 August 2003
# Whom:			ag@muwiinfa.geschichte.uni-mainz.de Albert Graef
#
# $FreeBSD$
#

PORTNAME=	audio
PORTVERSION=	2.7
PORTREVISION=	4
CATEGORIES=	audio
MASTER_SITES=	SF/q-lang/q-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX=	q-
DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}

MAINTAINER=	gahr@FreeBSD.org
COMMENT=	Q-Audio -- digital audio interface for the Q language

LIB_DEPENDS=	q.8:${PORTSDIR}/lang/q \
    		jack.0:${PORTSDIR}/audio/jack \
		samplerate.1:${PORTSDIR}/audio/libsamplerate \
		fftw3.5:${PORTSDIR}/math/fftw3
BUILD_DEPENDS=	${LOCALBASE}/lib/portaudio2/libportaudio.so.2:${PORTSDIR}/audio/portaudio2
RUN_DEPENDS=	${BUILD_DEPENDS}

DATADIR=	${PREFIX}/share/q

CFLAGS+=	-I${LOCALBASE}/include/portaudio2 -I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib/portaudio2 -L${LOCALBASE}/lib
GNU_CONFIGURE=	yes

.include <bsd.port.mk>