aboutsummaryrefslogtreecommitdiffstats
path: root/audio/jack_umidi/Makefile
blob: 832a8315ea54e76cf3ad16ced5404d20015eee33 (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
# Created by: Hans Petter Selasky <hselasky@FreeBSD.org>
# $FreeBSD$

PORTNAME=   jack_umidi
PORTVERSION=    1.0.9
CATEGORIES= audio
MASTER_SITES=   http://www.selasky.org/hans_petter/distfiles/ \
        http://home.selasky.org:8192/distfiles/

MAINTAINER= hselasky@FreeBSD.org
COMMENT=    Daemon that converts a raw MIDI device into a JACK MIDI device

LICENSE=    BSD2CLAUSE

LIB_DEPENDS=    libjack.so:audio/jack

USES=       tar:bzip2 uidfix
PLIST_FILES=    sbin/jack_umidi \
        man/man8/jack_umidi.8.gz
SUB_FILES=  jack_umidi.conf

OPTIONS_DEFINE=        DEBUG DEVD_SCRIPT

DEVD_SCRIPT_DESC=   Install devd script to auto-launch jack_umidi

DEVD_SCRIPT_PLIST_FILES=    etc/devd/jack_umidi.conf

MAKE_ARGS+= HAVE_MAN="YES"
MAKE_ARGS+= PTHREAD_LIBS="-lpthread"

DEBUG_MAKE_ARGS=    HAVE_DEBUG="YES"

post-install-DEVD_SCRIPT-on::
    @${MKDIR} ${STAGEDIR}${PREFIX}/etc/devd
    ${INSTALL_DATA} ${WRKDIR}/jack_umidi.conf \
         ${STAGEDIR}${PREFIX}/etc/devd

.include <bsd.port.mk>