# New ports collection makefile for:	mq3
# Date created:				16 Jan 2001
# Whom:					Erich Zigler <erich@tacni.net>
#
# $FreeBSD: ports/audio/mq3/Makefile,v 1.6 2003/02/21 10:59:31 knu Exp $
#

PORTNAME=	mq3
PORTVERSION=	8
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	http://www.mq3.org/source/

MAINTAINER=	erich@tacni.net
COMMENT=	A minimal mp3/ogg player written in Qt

LIB_DEPENDS=	fftw.2:${PORTSDIR}/math/fftw \
		vorbis.2:${PORTSDIR}/audio/libvorbis \
		qthreads.0:${PORTSDIR}/lang/guile
BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm

USE_QT_VER=	2
QT_NONSTANDARD=	yes
HAS_CONFIGURE=	yes
MAKE_ENV=	CPPFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib}" \
		INCDIR_QT="${X11BASE}/include/qt2" \
		LIBDIR_QT="${X11BASE}/lib" \
		QTDIR="${X11BASE}"
CONFIGURE_ARGS=	-prefix ${PREFIX} -platform FreeBSD

.include <bsd.port.mk>
