2009-03-06 16:24:52 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2009/03/06 21:24:52 jasper Exp $
|
2008-04-06 18:42:11 -04:00
|
|
|
|
|
|
|
COMMENT = SoundFont2 software synthesizer
|
|
|
|
DISTNAME = fluidsynth-1.0.8
|
2009-03-06 16:24:52 -05:00
|
|
|
PKGNAME = ${DISTNAME}p2
|
2008-04-06 18:42:11 -04:00
|
|
|
|
|
|
|
SHARED_LIBS = fluidsynth 0.0
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2009-03-06 16:24:52 -05:00
|
|
|
WANTLIB = c m ncurses pthread readline sndio
|
2008-04-06 18:42:11 -04:00
|
|
|
|
2009-02-16 10:28:57 -05:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SAVANNAH:=fluid/}
|
2008-04-06 18:42:11 -04:00
|
|
|
|
|
|
|
DEV_FLAGS = -DDEVOSSAUDIO=\\\"/dev/audio\\\" \
|
|
|
|
-DDEVOSSMIDI=\\\"/dev/rmidi0\\\"
|
|
|
|
MAKE_FLAGS = CFLAGS="${CFLAGS} ${DEV_FLAGS}"
|
|
|
|
|
|
|
|
LIB_DEPENDS = jack::audio/jack
|
|
|
|
|
2008-12-26 03:45:12 -05:00
|
|
|
AUTOCONF_VERSION = 2.61
|
|
|
|
AUTOMAKE_VERSION = 1.9
|
|
|
|
|
|
|
|
BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
|
|
|
|
${MODGNU_AUTOMAKE_DEPENDS}
|
|
|
|
|
2008-04-06 18:42:11 -04:00
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
|
|
|
--disable-lash \
|
2008-12-26 03:45:12 -05:00
|
|
|
--disable-ladcca \
|
|
|
|
--disable-oss-support
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
cp ${FILESDIR}/fluid_libsndio.c ${WRKSRC}/src/
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
|
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION} ./autogen.sh
|
2008-04-06 18:42:11 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|