# Created by: Christopher Key <cjk32@cam.ac.uk>

CATEGORIES=	audio lang
PKGNAMESUFFIX=	-a52

COMMENT=	Free Pascal interface to a52 library

USES=		fpc

MASTERDIR=	${.CURDIR}/../../lang/fpc
WRKUNITDIR=	${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR=	${WRKUNITDIR}

OPTIONS_DEFINE=	LIBA52
LIBA52_DESC=	Install a52 library
OPTIONS_DEFAULT=	LIBA52

LIBA52_LIB_DEPENDS=	liba52.so:audio/liba52

.include "${MASTERDIR}/Makefile"
