summaryrefslogtreecommitdiffstats
path: root/audio/calf/Makefile
blob: 6f18b5a18db5b16e74605b13573d0f677819f06f (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Created by: <trasz@FreeBSD.org>
# $FreeBSD$

PORTNAME=	calf
PORTVERSION=	0.0.60
PORTREVISION=	4
CATEGORIES=	audio
MASTER_SITES=	http://calf-studio-gear.org/files/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Audio plug-in pack for LV2 and JACK environments

LICENSE=	GPLv2 LGPL21
LICENSE_COMB=	multi

LIB_DEPENDS=	libfluidsynth.so:audio/fluidsynth \
		libjack.so:audio/jack \
		libexpat.so:textproc/expat2

USES=		autoreconf compiler:c++11-lang gmake libtool pkgconfig
USE_GNOME=	gtk20
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
INSTALLS_ICONS=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

OPTIONS_DEFINE=		DOCS LASH LV2
OPTIONS_DEFAULT=	LASH LV2
OPTIONS_SUB=		yes

LASH_LIB_DEPENDS=	liblash.so:audio/lash
LASH_CONFIGURE_WITH=	lash
LV2_DESC=		LV2 audio plugin
LV2_BUILD_DEPENDS=	lv2>=1.14.0_1:audio/lv2
LV2_RUN_DEPENDS=	lv2>=1.14.0_1:audio/lv2
LV2_CONFIGURE_WITH=	lv2

.include <bsd.port.pre.mk>

.if ${CHOSEN_COMPILER_TYPE} == gcc
CXXFLAGS+=	-finline-limit=80 -finline-functions -finline-functions-called-once
.endif

post-patch:
	@${REINPLACE_CMD} '/<malloc.h>/d' \
		${WRKSRC}/src/ctl_knob.cpp ${WRKSRC}/src/ctl_tube.cpp

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud