summaryrefslogtreecommitdiff
path: root/audio/libumidi/Makefile
blob: a05e7be4b188bf9305e93e003fbb073e27c790a5 (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
# Created by: Hans Petter Selasky <hselasky@FreeBSD.org>

PORTNAME=	libumidi
DISTVERSIONPREFIX=	v
DISTVERSION=		2.1.5
CATEGORIES=	audio

MAINTAINER=	hselasky@FreeBSD.org
COMMENT=	Universal general purpose MIDI library

LICENSE=	BSD2CLAUSE

USES=		tar:bzip2 uidfix
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	hselasky

OPTIONS_DEFINE=	DEBUG ALSAMIDI JACK
OPTIONS_DEFAULT=ALSAMIDI JACK

ALSAMIDI_DESC=	MIDI via ALSA
ALSAMIDI_MAKE_ARGS=	" HAVE_ALSA=YES"
ALSAMIDI_LIB_DEPENDS=	libasound.so:audio/alsa-lib

JACK_MAKE_ARGS=	" HAVE_JACK=YES"
JACK_LIB_DEPENDS=	libjack.so:audio/jack
DEBUG_MAKE_ARGS=" HAVE_DEBUG=YES"
MAKE_ARGS+=	" HAVE_MAN=YES"

.include <bsd.port.mk>