aboutsummaryrefslogtreecommitdiff
path: root/audio/dssi/Makefile
blob: 0875c29e94b9c81d4b4e8e666a5e80af23e4397d (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
# New ports collection makefile for:	dssi
# Date created:		2007-01-12
# Whom:			trasz <trasz@pin.if.uz.zgora.pl>
#
# $FreeBSD$
#

PORTNAME=	dssi
PORTVERSION=	1.1.0
CATEGORIES=	audio
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	API for audio processing plugins

LIB_DEPENDS=	dssialsacompat.0:${PORTSDIR}/audio/libdssialsacompat \
		lo.7:${PORTSDIR}/audio/liblo \
		jack.0:${PORTSDIR}/audio/jack \
		sndfile.1:${PORTSDIR}/audio/libsndfile \
		samplerate.1:${PORTSDIR}/audio/libsamplerate
BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
RUN_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa

GNU_CONFIGURE=	yes
CFLAGS+=	-I${LOCALBASE}/include
USE_GMAKE=	yes
USE_GNOME=	gnomehack
MAN1=		dssi_osc_send.1 dssi_osc_update.1 jack-dssi-host.1 \
		dssi_analyse_plugin.1 dssi_list_plugins.1

.if defined(WITH_QT)
USE_QT_VER=	3
PLIST_SUB=	WITH_QT=""
.else
PLIST_SUB=	WITH_QT="@comment "
.endif

post-extract:
	@${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/examples/Makefile.in

.include <bsd.port.mk>