summaryrefslogtreecommitdiff
path: root/audio/swhplugins/Makefile
blob: d297cfd6d01d97662512184e5f35f27762157919 (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
# Created by: Tilman Linneweh <arved@FreeBSD.org>

PORTNAME=	swhplugins
PORTVERSION=	0.4.17
DISTVERSIONPREFIX=	v
CATEGORIES=	audio

MAINTAINER=	arved@FreeBSD.org
COMMENT=	Steve Harris' huge Collection of LADSPA Plugins

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:audio/ladspa \
		${LOCALBASE}/include/fftw3.h:math/fftw3 \
		p5-XML-Parser>=0:textproc/p5-XML-Parser
LIB_DEPENDS=	libfftw3f.so:math/fftw3-float

USES=		autoreconf gmake libtool localbase:ldflags pkgconfig shebangfix
USE_GITHUB=	yes
GH_ACCOUNT=	swh
GH_PROJECT=	ladspa
SHEBANG_FILES=	makestub.pl

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

CFLAGS+=	-fPIC -DPIC -fgnu89-inline

OPTIONS_DEFINE=	NLS 3DNOW SSE
OPTIONS_SUB=	yes
3DNOW_DESC=	use 3DNow! instructions
SSE_DESC=	use SSE instructions

NLS_USES=	gettext
NLS_LDFLAGS=	-lintl
NLS_CONFIGURE_ENABLE=	nls
NLS_USES_OFF=	gettext-tools

3DNOW_CONFIGURE_ENABLE=	3dnow

SSE_CONFIGURE_ENABLE=	sse

.include <bsd.port.mk>