openbsd-ports/audio/jack/Makefile
jakemsr 781094ad81 maintainence update, plus
- fix build on alpha by not comparing a va_list to NULL.  problem
  noticed and fix tested by merdely@.
- fix possible 100% cpu usage in full-duplex mode
- fix net client/server
- add @bin markers to PLIST
2008-06-28 05:49:30 +00:00

60 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2008/06/28 05:49:30 jakemsr Exp $
SHARED_ONLY = Yes
COMMENT = low latency sound server
DISTNAME = jack-0.112.0.2524
SHARED_LIBS += jack 0.0 # 0.28
SHARED_LIBS += jackserver 0.0 # 0.28
CATEGORIES = audio
HOMEPAGE = http://jackaudio.org/
MAINTAINER = Jacob Meuser <jakemsr@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c m pthread readline termcap
#MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=jackit/}
# using a subversion snapshot for now
MASTER_SITES = http://jakemsr.trancell.org/distfiles/
LIB_DEPENDS = sndfile.>=1::audio/libsndfile \
samplerate.>=1::audio/libsamplerate
USE_LIBTOOL = Yes
LIBTOOL_FLAGS += --tag=disable-static
AUTOCONF_VERSION = 2.61
AUTOMAKE_VERSION = 1.9
BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
--disable-portaudio \
--disable-optimize \
--enable-dynsimd
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-pthread" \
HAVE_DOXYGEN="false"
.ifdef DEBUG
CONFIGURE_ARGS += --enable-debug
.endif
post-patch:
cd ${WRKSRC} && ${SETENV} AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ${AUTOCONF} \
./autogen.sh --no-conf
.include <bsd.port.mk>