31 lines
655 B
Makefile

# $OpenBSD: Makefile,v 1.10 2015/03/16 18:07:35 naddy Exp $
COMMENT= free DTS Coherent Acoustics decoder
V= 0.0.5
DISTNAME= libdca-${V}
REVISION= 4
EXTRACT_SUFX= .tar.bz2
CATEGORIES= audio
MASTER_SITES= http://download.videolan.org/pub/videolan/libdca/${V}/
SHARED_LIBS= dca 0.0
HOMEPAGE= http://www.videolan.org/developers/libdca.html
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c m sndio
CONFIGURE_STYLE = autoconf
AUTOCONF_VERSION = 2.61
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
CONFIGURE_ARGS += --disable-oss
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/autotools
post-extract:
@cp ${FILESDIR}/audio_out_sndio.c ${WRKSRC}/libao
.include <bsd.port.mk>