aboutsummaryrefslogtreecommitdiffstats
path: root/audio/fmit/Makefile
blob: 4d400619477e72f0b36fd7d8e3f3d567d70a57aa (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
45
46
47
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$

PORTNAME=   fmit
PORTVERSION=    0.99.2
PORTREVISION=   4
CATEGORIES= audio
MASTER_SITES=   http://download.gna.org/fmit/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-Source

MAINTAINER= ports@FreeBSD.org
COMMENT=    Free Music Instrument Tuner

LICENSE=    GPLv2

LIB_DEPENDS=    libfftw3.so:${PORTSDIR}/math/fftw3

USE_BZIP2=  yes
USE_XORG=   xmu
USE_QT4=    corelib gui opengl \
        linguist_build moc_build qmake_build rcc_build uic_build
USE_GL=     glut
USES=       cmake
INSTALLS_ICONS= yes

OPTIONS_DEFINE= ALSA JACK OSS PORTAUDIO
OPTIONS_DEFAULT=    JACK OSS

OPTIONS_SUB=    yes

ALSA_LIB_DEPENDS=   libasound.so.2:${PORTSDIR}/audio/alsa-lib
ALSA_CMAKE_ON=      -DSOUNDSYSTEM_USE_ALSA:BOOL=true
ALSA_CMAKE_OFF=     -DSOUNDSYSTEM_USE_ALSA:BOOL=false

OSS_CMAKE_ON=       -DSOUNDSYSTEM_USE_OSS:BOOL=true
OSS_CMAKE_OFF=      -DSOUNDSYSTEM_USE_OSS:BOOL=false

JACK_LIB_DEPENDS=   libjack.so:${PORTSDIR}/audio/jack
JACK_CMAKE_ON=      -DSOUNDSYSTEM_USE_JACK:BOOL=true
JACK_CMAKE_OFF=     -DSOUNDSYSTEM_USE_JACK:BOOL=false

PORTAUDIO_BUILD_DEPENDS=    portaudio2>=0:${PORTSDIR}/audio/portaudio2
PORTAUDIO_RUN_DEPENDS=  portaudio2>=0:${PORTSDIR}/audio/portaudio2
PORTAUDIO_CMAKE_ON= -DSOUNDSYSTEM_USE_PORTAUDIO:BOOL=true
PORTAUDIO_CMAKE_OFF=    -DSOUNDSYSTEM_USE_PORTAUDIO:BOOL=false

.include <bsd.port.mk>