# ex:ts=8
# Ports collection makefile for:	osalp
# Date created:			Jun 4, 2002
# Whom:				ijliao
#
# $FreeBSD: ports/audio/osalp/Makefile,v 1.8 2003/02/20 16:49:47 knu Exp $
#

PORTNAME=	osalp
PORTVERSION=	0.7.3
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Open Source Audio Library Project

BUILD_DEPENDS=	lame:${PORTSDIR}/audio/lame \
		mpg123:${PORTSDIR}/audio/mpg123
LIB_DEPENDS=	vorbis.2:${PORTSDIR}/audio/libvorbis \
		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
RUN_DEPENDS=	${BUILD_DEPENDS}

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
CONFIGURE_ARGS=	--enable-all

INSTALLS_SHLIB=	yes

PLIST_SUB=	VERSION=${PORTVERSION}

.include <bsd.port.mk>
