aboutsummaryrefslogtreecommitdiff
path: root/audio/calf/Makefile
blob: f59f5e682faab000c06dcf2fd79eef3e419dee57 (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
# New ports collection makefile for:	calf
# Date created:		2009-08-26
# Whom:			 <trasz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	calf
PORTVERSION=	0.0.18.6
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Calf audio plugin pack

LIB_DEPENDS=	dssialsacompat.0:${PORTSDIR}/audio/libdssialsacompat \
		lo.7:${PORTSDIR}/audio/liblo \
		jack.0:${PORTSDIR}/audio/jack \
		lash.2:${PORTSDIR}/audio/lash
BUILD_DEPENDS=	${LOCALBASE}/include/dssi.h:${PORTSDIR}/audio/dssi \
		${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
RUN_DEPENDS:=	${BUILD_DEPENDS}

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_GNOME=	gtk20 libglade2
CFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/dssi -L${LOCALBASE}/lib
MAN1=		calfjackhost.1
MAN7=		calf.7
INSTALLS_ICONS=	yes

.include <bsd.port.pre.mk>

post-patch:
		@${FIND} ${BUILD_WRKSRC} -name '*.cpp' | ${XARGS} \
			${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"

.include <bsd.port.post.mk>