2012-04-20 09:28:50 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2012/04/20 13:28:50 dcoppa Exp $
|
2008-03-23 23:01:28 -04:00
|
|
|
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
|
|
|
|
COMMENT = low latency sound server
|
|
|
|
|
2012-01-24 03:03:52 -05:00
|
|
|
V = 0.121.3
|
2009-01-11 05:51:45 -05:00
|
|
|
DISTNAME = jack-audio-connection-kit-${V}
|
2010-09-05 18:00:13 -04:00
|
|
|
PKGNAME = jack-${V}
|
2012-04-20 09:28:50 -04:00
|
|
|
REVISION = 0
|
2008-03-23 23:01:28 -04:00
|
|
|
|
|
|
|
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>
|
|
|
|
|
2009-01-12 05:45:01 -05:00
|
|
|
# LGPLv2/GPLv2
|
2008-03-23 23:01:28 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
2012-01-24 03:03:52 -05:00
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
2008-03-23 23:01:28 -04:00
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
2012-04-20 09:28:50 -04:00
|
|
|
WANTLIB += c celt0>=1 m pthread readline samplerate sndfile
|
|
|
|
WANTLIB += sndio termcap
|
2008-03-23 23:01:28 -04:00
|
|
|
|
2009-01-11 05:51:45 -05:00
|
|
|
MASTER_SITES = ${HOMEPAGE}downloads/
|
2008-03-23 23:01:28 -04:00
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
LIB_DEPENDS = audio/libsndfile \
|
2012-01-24 03:03:52 -05:00
|
|
|
audio/libsamplerate \
|
2012-04-20 09:28:50 -04:00
|
|
|
audio/celt>=0.11.0
|
2008-03-23 23:01:28 -04:00
|
|
|
|
2010-06-23 13:06:44 -04:00
|
|
|
# uses macros from libtool.m4
|
2010-11-14 19:22:45 -05:00
|
|
|
BUILD_DEPENDS = devel/libtool
|
2008-03-23 23:01:28 -04:00
|
|
|
USE_LIBTOOL = Yes
|
2010-11-14 19:22:45 -05:00
|
|
|
USE_GROFF = Yes
|
2008-03-23 23:01:28 -04:00
|
|
|
LIBTOOL_FLAGS += --tag=disable-static
|
|
|
|
|
2012-01-24 03:03:52 -05:00
|
|
|
AUTOCONF_VERSION = 2.65
|
|
|
|
AUTOMAKE_VERSION = 1.10
|
2010-06-06 21:44:38 -04:00
|
|
|
CONFIGURE_STYLE = autoconf automake
|
2008-03-23 23:01:28 -04:00
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
2009-01-11 05:51:45 -05:00
|
|
|
--with-default-tmpdir=/var/tmp \
|
2010-06-06 21:44:38 -04:00
|
|
|
--disable-sun \
|
2008-03-23 23:01:28 -04:00
|
|
|
--disable-portaudio \
|
2009-01-12 05:45:01 -05:00
|
|
|
--disable-optimize
|
2008-04-22 05:34:58 -04:00
|
|
|
|
2008-03-23 23:01:28 -04:00
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2008-04-22 05:34:58 -04:00
|
|
|
LIBS="-pthread" \
|
2008-03-23 23:01:28 -04:00
|
|
|
HAVE_DOXYGEN="false"
|
|
|
|
|
|
|
|
.ifdef DEBUG
|
|
|
|
CONFIGURE_ARGS += --enable-debug
|
|
|
|
.endif
|
|
|
|
|
2009-01-11 05:51:45 -05:00
|
|
|
post-extract:
|
|
|
|
mkdir -p ${WRKSRC}/drivers/sndio
|
|
|
|
cp ${FILESDIR}/Makefile.am ${FILESDIR}/sndio_driver.{c,h} \
|
2012-01-24 03:03:52 -05:00
|
|
|
${WRKSRC}/drivers/sndio
|
2009-01-11 05:51:45 -05:00
|
|
|
|
2010-06-06 21:44:38 -04:00
|
|
|
AUTO_ENV= AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
|
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION}
|
|
|
|
|
2008-03-23 23:01:28 -04:00
|
|
|
post-patch:
|
2010-06-06 21:44:38 -04:00
|
|
|
cd ${WRKSRC}; ${AUTO_ENV} aclocal
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC}; ${AUTO_ENV} automake --add-missing --foreign
|
2008-03-23 23:01:28 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|