# New ports collection makefile for:	mpg321
# Date created:			Mar 17, 2001
# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD: ports/audio/mpg321/Makefile,v 1.22 2003/02/21 12:52:51 naddy Exp $
#

PORTNAME=	mpg321
PORTVERSION=	0.2.10
PORTREVISION=	2
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mpg321

MAINTAINER=	naddy@FreeBSD.org
COMMENT=	A free command-line mp3 player, compatible with mpg123

LIB_DEPENDS=	ao.3:${PORTSDIR}/audio/libao \
		mad.1:${PORTSDIR}/audio/mad

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-mpg123-symlink
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

MAN1=		mpg321.1

.include <bsd.port.mk>
