aboutsummaryrefslogtreecommitdiffstats
path: root/audio/nekobee/Makefile
blob: d968999ee414e40a7a3a08f4eb9cef2463af998b (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
# Created by: trasz <trasz@pin.if.uz.zgora.pl>
# $FreeBSD$

PORTNAME=   nekobee
PORTVERSION=    0.1.8
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   GH

MAINTAINER= ports@FreeBSD.org
COMMENT=    DSSI plugin that emulates the sound of the TB-303 Bassline

LICENSE=    GPLv2 # (or later)

BUILD_DEPENDS=  ${LOCALBASE}/include/dssi.h:${PORTSDIR}/audio/dssi
LIB_DEPENDS=    dssialsacompat:${PORTSDIR}/audio/libdssialsacompat \
        lo:${PORTSDIR}/audio/liblo \
        jack:${PORTSDIR}/audio/jack

USE_GITHUB= yes
NO_STAGE=   yes
GH_ACCOUNT= gordonjcp
GH_COMMIT=  3f4737f

USES=       pkgconfig
USE_GNOME=  gtk20

CPPFLAGS+=  -I${LOCALBASE}/include/dssi -I${LOCALBASE}/include

.if !defined(DISABLE_MAKE_JOBS)
MAKE_JOBS_ARGS= -j${MAKE_JOBS_NUMBER}
.endif

do-configure:
    @(cd ${WRKSRC} && ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" \
        LINKFLAGS="-lm" \
        CPPFLAGS="${CPPFLAGS}" ./waf configure --prefix=${PREFIX})

do-build:
    @(cd ${WRKSRC} && ./waf build -vvv ${MAKE_JOBS_ARGS})

do-install:
    @(cd ${WRKSRC} && ./waf install)

.include <bsd.port.mk>