# New ports collection makefile for:	xmms-a52dec
# Date created:		24 July 2002
# Whom:			Amar Takhar <verm@drunkmonk.net>
#
# $FreeBSD: ports/audio/xmms-a52dec/Makefile,v 1.4 2003/02/21 10:59:36 knu Exp $
#

PORTNAME=	xmms-a52dec
PORTVERSION=	1.0
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	xmms-a52dec

MAINTAINER=	verm@drunkmonk.net
COMMENT=	A52 (aka AC3) decoder plugin for XMMS

LIB_DEPENDS=	xmms.3:${PORTSDIR}/multimedia/xmms \
		a52.0:${PORTSDIR}/audio/liba52
RUN_DEPENDS=	${X11BASE}/lib/xmms/Output/libOSSSurround.so:${PORTSDIR}/audio/xmms-osssurround

USE_BZIP2=	yes
USE_X_PREFIX=	yes
USE_GNOMENG=	yes
USE_GNOME=	gtk12

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/liba52dec.so ${PREFIX}/lib/xmms/Input/

.include <bsd.port.mk>
