openbsd-ports/audio/fluidsynth/Makefile
jakemsr 8176f6e6e3 make sndio audio and midi drivers the default. remove patch to use
jackd default sample rate by default.  use SIO_LE_NATIVE.
2009-12-24 10:34:43 +00:00

48 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2009/12/24 10:34:43 jakemsr Exp $
COMMENT = SoundFont2 software synthesizer
DISTNAME = fluidsynth-1.0.9
PKGNAME = ${DISTNAME}p1
SHARED_LIBS = fluidsynth 0.1
CATEGORIES = audio
HOMEPAGE = http://fluidsynth.resonance.org/trac
MAINTAINER = Jacob Meuser <jakemsr@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c m ncurses pthread readline sndio
MASTER_SITES = ${MASTER_SITE_SAVANNAH:=fluid/}
LIB_DEPENDS = jack::audio/jack
AUTOCONF_VERSION = 2.61
AUTOMAKE_VERSION = 1.9
BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
USE_LIBTOOL = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
--disable-lash \
--disable-ladcca \
--disable-oss-support \
--disable-portaudio-support
post-patch:
cp ${FILESDIR}/fluid_sndio.c ${WRKSRC}/src/
pre-configure:
cd ${WRKSRC} && AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
AUTOCONF_VERSION=${AUTOCONF_VERSION} ./autogen.sh
.include <bsd.port.mk>