aboutsummaryrefslogtreecommitdiffstats
path: root/audio/q-audio/Makefile
blob: e2e276df0a03a54c08369c6ff50558aef7d33684 (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
# 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=   2
CATEGORIES= audio
MASTER_SITES=   SF/q-lang
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
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"

.include <bsd.port.mk>