summaryrefslogtreecommitdiff
path: root/audio/stone-phaser-lv2/Makefile
blob: 86235a4a720b8764e83eabd293a44138b41dafdc (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

PORTNAME=	stone-phaser
DISTVERSIONPREFIX=	v
DISTVERSION=	0.1.2-5
DISTVERSIONSUFFIX=	-g3e51889
CATEGORIES=	audio
PKGNAMESUFFIX=	-lv2

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Classic analog phaser effect, made with DPF and Faust

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	lv2>0:audio/lv2 \
		bash:shells/bash

USES=		compiler:c++0x gmake gnome pkgconfig shebangfix xorg
SHEBANG_GLOB=	*.sh
USE_GITHUB=	yes
GH_ACCOUNT=	jpcima
GH_TUPLE=	DISTRHO:DPF:e69074e:dpf/dpf
USE_GNOME=	cairo
USE_XORG=	x11

MAKE_ARGS=	BUILD_LADSPA=false
CFLAGS+=	-I${FILESDIR}

pre-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/vst

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64" || ${ARCH} == "i386"
EXTRA_PATCHES=  ${FILESDIR}/extra-patch-dpf_Makefile.base.mk
.else
EXTRA_PATCHES=  ${FILESDIR}/extra-patch-nosse-dpf_Makefile.base.mk
.endif

.include <bsd.port.post.mk>