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

PORTNAME=	qjackctl
PORTVERSION=	0.2.22
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	qjackctl

MAINTAINER=	trasz@freebsd.org
COMMENT=	Qt Interface for the JACK Audio Connection Kit

BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
LIB_DEPENDS=	jack.0:${PORTSDIR}/audio/jack

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_QT_VER=	3
CONFIGURE_ARGS+=	QTDIR="${QT_PREFIX}" CXXFLAGS="${CFLAGS} -pthread"
MAKE_ENV=	QTDIR="${QT_PREFIX}" MAKE="${GMAKE}" \
		QMAKESPEC="${LOCALBASE}/share/qt/mkspecs/freebsd-g++"

# Back out the change in 0.2.22 thad made qjackctl not show any JACK MIDI
# ports.  This should be removed after author fixes it.
post-patch:
		${REINPLACE_CMD} -e 's|JACK_DEFAULT_AUDIO_TYPE|0|' ${WRKSRC}/src/*

.include <bsd.port.mk>