aboutsummaryrefslogtreecommitdiffstats
path: root/audio/caps-lv2/Makefile
blob: 1be0943757033304d3ef274ed91633c907198ed7 (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
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$

PORTNAME=   caps-lv2
PORTVERSION=    g20190321
CATEGORIES= audio

MAINTAINER= yuri@FreeBSD.org
COMMENT=    LV2 version of the C* Audio Plugin Suite

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  lv2>0:audio/lv2

USES=       gmake localbase
USE_GITHUB= yes
GH_ACCOUNT= moddevices
GH_TAGNAME= 250844a

.if exists(/usr/lib/libstdc++.so)
CXXFLAGS+=  -stdlib=libstdc++
LDFLAGS+=   -stdlib=libstdc++
.endif

post-patch:
    @${REINPLACE_CMD} -e "s|__APPLE__|__FreeBSD__|" \
        ${WRKSRC}/dsp/v4f_IIR2.h

.include <bsd.port.mk>