# New ports collection makefile for:	linuxsampler
# Date created:		2007-01-24
# Whom:			trasz <trasz@pin.if.uz.zgora.pl>
#
# $FreeBSD: ports/audio/linuxsampler/Makefile,v 1.7 2011/01/26 20:02:35 linimon Exp $
#

PORTNAME=	linuxsampler
PORTVERSION=	1.0.0
CATEGORIES=	audio
MASTER_SITES=	http://download.linuxsampler.org/packages/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Modular MIDI sampler

LIB_DEPENDS=	jack.0:${PORTSDIR}/audio/jack \
		gig.10:${PORTSDIR}/audio/libgig \
		sqlite3.8:${PORTSDIR}/databases/sqlite3

ONLY_FOR_ARCHS=	"i386 amd64"
ONLY_FOR_ARCHS_REASON=	"not yet ported"
BROKEN=		does not fetch
DEPRECATED=		"${BROKEN}"
EXPIRATION_DATE=	2011-03-26

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	"HAVE_UNIX98=1"
CFLAGS+=	"-I${LOCALBASE}/include"
USE_GMAKE=	yes
USE_GNOME=	gnomehack gnomeprefix gnometarget
USE_LDCONFIG=	yes
RESTRICTED=	no commercial use
MAN1=		linuxsampler.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700000 || ${OSVERSION} >= 900000
BROKEN=		Does not compile
.endif

.include <bsd.port.post.mk>
