aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libumidi/Makefile
blob: e3749ae2df86cb6c91c3f4f3b5e09df8b54f9a1e (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
# Ports collection makefile for: libumidi
# Date created: 21 June 2011
# Whom:         Hans Petter Selasky <hselasky@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   libumidi
PORTVERSION=    2.0.2
CATEGORIES= audio
MASTER_SITES=   http://www.selasky.org/hans_petter/distfiles/ \
        http://hselasky.homeunix.org:8192/distfiles/

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

LICENSE=    BSD
USE_BZIP2=  yes
MAN3=       umidi20.3
MANCOMPRESSED=  yes

OPTIONS=    DEBUG "Build with debugging support" Off \
        JACK "Build with Jack support" On

.include <bsd.port.options.mk>

.if defined(WITH_JACK)
MAKE_ARGS+=" HAVE_JACK=YES"
LIB_DEPENDS=    jack.0:${PORTSDIR}/audio/jack
.endif

.if defined(WITH_DEBUG)
MAKE_ARGS+=" HAVE_DEBUG=YES"
.endif

MAKE_ARGS+=" HAVE_MAN=YES"

.include <bsd.port.mk>