openbsd-ports/audio/libmikmod/Makefile
jakemsr 1d3505c9eb use sndio instead of audio(4) for audio, although it seems nothing in
the ports tree actually uses libmikmod's audio output API.  kill
esd FLAVOR too.
ok pvalchev@ (MAINTAINER)
2010-01-11 04:25:26 +00:00

38 lines
856 B
Makefile

# $OpenBSD: Makefile,v 1.17 2010/01/11 04:25:26 jakemsr Exp $
COMMENT= mikmod sound library
VERSION= 3.1.10
DISTNAME= libmikmod-${VERSION}
PKGNAME= ${DISTNAME}p8
SHARED_LIBS += mikmod 2.4 # .2.4
CATEGORIES= audio devel
HOMEPAGE= http://mikmod.raphnet.net/
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/files/libmikmod/ \
${MASTER_SITE_SUNSITE:=apps/sound/libs/}
WANTLIB= sndio
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
USE_LIBTOOL= Yes
CONFIGURE_ENV= CFLAGS="-DDRV_SNDIO" LIBRARY_LIB="-lsndio"
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-dl \
--disable-oss \
--disable-esd
post-extract:
cp ${FILESDIR}/drv_sndio.c ${WRKSRC}/drivers
.include <bsd.port.mk>