mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Trim Makefile header per new guidelines
- Tighten COMMENT text - Drop shlib ABI versions from LIB_DEPENDS - Rename DOCS option to DOXYGEN to reflect its evil nature, and disable it by default (of course) - Clean up Makefile while here, reformat port description
This commit is contained in:
parent
ab3c7c49fa
commit
8f0c8ba97b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315462
@ -1,9 +1,5 @@
|
||||
# New ports collection Makefile for: jackit
|
||||
# Date created: 14 May 2002
|
||||
# Whom: arved
|
||||
#
|
||||
# Created by: Tilman Linneweh <arved@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= jackit
|
||||
PORTVERSION= 0.121.3
|
||||
@ -13,56 +9,56 @@ MASTER_SITES= http://jackaudio.org/downloads/
|
||||
DISTNAME= jack-audio-connection-kit-${PORTVERSION}
|
||||
|
||||
MAINTAINER= multimedia@FreeBSD.org
|
||||
COMMENT= A low-latency audio server
|
||||
COMMENT= Low latency audio server
|
||||
|
||||
LIB_DEPENDS= portaudio.0:${PORTSDIR}/audio/portaudio \
|
||||
sndfile.1:${PORTSDIR}/audio/libsndfile \
|
||||
samplerate.1:${PORTSDIR}/audio/libsamplerate \
|
||||
celt0.2:${PORTSDIR}/audio/celt
|
||||
LIB_DEPENDS= portaudio:${PORTSDIR}/audio/portaudio \
|
||||
sndfile:${PORTSDIR}/audio/libsndfile \
|
||||
samplerate:${PORTSDIR}/audio/libsamplerate \
|
||||
celt0:${PORTSDIR}/audio/celt
|
||||
|
||||
LATEST_LINK= jack
|
||||
LIBS+= ${PTHREAD_LIBS}
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
CFLAGS+= ${PTHREAD_CFLAGS}
|
||||
CONFIGURE_ENV= LIBS="${LIBS}"
|
||||
CONFIGURE_ARGS+=--enable-portaudio \
|
||||
--with-default-tmpdir=/tmp
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_GNOME= pkgconfig gnomehack
|
||||
USES= pathfix
|
||||
|
||||
CONFIGURE_ENV= LIBS="-pthread"
|
||||
CONFIGURE_ARGS= --enable-portaudio \
|
||||
--with-default-tmpdir=/tmp
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
LATEST_LINK= jack
|
||||
|
||||
MAN1= jackd.1 jackstart.1
|
||||
|
||||
OPTIONS_DEFINE= ALSA DOCS
|
||||
OPTIONS_DEFINE= ALSA DOXYGEN
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
|
||||
.if ${PORT_OPTIONS:MDOXYGEN}
|
||||
BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
|
||||
PLIST_SUB+= DOCS=""
|
||||
.else
|
||||
CONFIGURE_ENV+= ac_cv_prog_HAVE_DOXYGEN="false"
|
||||
PLIST_SUB+= DOCS="@comment "
|
||||
.endif
|
||||
|
||||
.if exists(${LOCALBASE}/lib/libreadline.so.6)
|
||||
LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline
|
||||
.if exists(${LOCALBASE}/lib/libreadline.so)
|
||||
LIB_DEPENDS+= readline:${PORTSDIR}/devel/readline
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MALSA}
|
||||
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib
|
||||
LIB_DEPENDS+= asound:${PORTSDIR}/audio/alsa-lib
|
||||
PLIST_SUB+= ALSA=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-alsa
|
||||
CONFIGURE_ARGS+= --disable-alsa
|
||||
PLIST_SUB+= ALSA="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|define USE_MLOCK|undef USE_MLOCK|' \
|
||||
${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS}," \
|
||||
@${REINPLACE_CMD} -e "s,-lpthread,-pthread," \
|
||||
${WRKSRC}/configure ${WRKSRC}/libjack/Makefile.in \
|
||||
${WRKSRC}/jackd/Makefile.in \
|
||||
${WRKSRC}/example-clients/Makefile.in ${WRKSRC}/jack.pc.in
|
||||
@ -78,4 +74,4 @@ post-patch:
|
||||
post-build:
|
||||
@${RM} -f ${WRKSRC}/doc/reference/html/dir__2F*
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,12 +1,11 @@
|
||||
JACK is a low-latency audio server, written for POSIX conformant
|
||||
operating systems. It can connect a number of different applications
|
||||
to an audio device, as well as allowing them to share audio between
|
||||
themselves. Its clients can run in their own processes (ie. as normal
|
||||
applications), or can they can run within the JACK server (ie. as a
|
||||
"plugin").
|
||||
JACK is a low latency audio server, written for POSIX-conformant operating
|
||||
systems. It can connect a number of different applications to an audio
|
||||
device, as well as allowing them to share audio between themselves. Its
|
||||
clients can run in their own processes (i.e. as normal applications), or
|
||||
can they can run within the JACK server (i.e. as a "plugin").
|
||||
|
||||
JACK was designed from the ground up for professional audio work, and
|
||||
its design focuses on two key areas: synchronous execution of all
|
||||
clients, and low latency operation.
|
||||
JACK was designed from the ground up for professional audio work, and its
|
||||
design focuses on two key areas: synchronous execution of all clients, and
|
||||
low latency operation.
|
||||
|
||||
WWW: http://jackaudio.org/
|
||||
WWW: http://jackaudio.org/
|
||||
|
Loading…
Reference in New Issue
Block a user