2004-03-09 21:27:51 +01:00
|
|
|
# New ports collection Makefile for: jackit
|
|
|
|
# Date created: 14 May 2002
|
|
|
|
# Whom: arved
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jackit
|
|
|
|
PORTVERSION= 0.94.0
|
2004-03-24 09:02:27 +01:00
|
|
|
PORTREVISION= 3
|
2004-03-09 21:27:51 +01:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= jackit
|
|
|
|
DISTNAME= jack-audio-connection-kit-${PORTVERSION}
|
|
|
|
|
2004-03-10 15:06:31 +01:00
|
|
|
MAINTAINER= arved@FreeBSD.org
|
2004-03-09 21:27:51 +01:00
|
|
|
COMMENT= JACK is a low-latency audio server
|
|
|
|
|
|
|
|
LIB_DEPENDS= portaudio.0:${PORTSDIR}/audio/portaudio \
|
|
|
|
sndfile.1:${PORTSDIR}/audio/libsndfile
|
|
|
|
|
|
|
|
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}" LDFLAGS="-L${LOCALBASE}/lib" \
|
2004-03-15 22:35:18 +01:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
|
2004-03-09 21:27:51 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GETOPT_LONG= yes
|
|
|
|
USE_REINPLACE= yes
|
2004-03-13 11:19:15 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
2004-03-09 21:27:51 +01:00
|
|
|
USE_GNOME= pkgconfig gnometarget gnomehack
|
|
|
|
|
|
|
|
MAN1= jackd.1 jackstart.1
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS}," \
|
|
|
|
${WRKSRC}/configure ${WRKSRC}/libjack/Makefile.in \
|
|
|
|
${WRKSRC}/jackd/Makefile.in \
|
2004-03-15 22:22:31 +01:00
|
|
|
${WRKSRC}/example-clients/Makefile.in ${WRKSRC}/jack.pc.in
|
2004-03-09 21:27:51 +01:00
|
|
|
${REINPLACE_CMD} -e "s,-lrt,," ${WRKSRC}/libjack/Makefile.in \
|
|
|
|
${WRKSRC}/jackd/Makefile.in \
|
|
|
|
${WRKSRC}/example-clients/Makefile.in
|
|
|
|
${REINPLACE_CMD} -e "s,-ldl,," ${WRKSRC}/jackd/Makefile.in \
|
|
|
|
${WRKSRC}/example-clients/Makefile.in
|
2004-03-10 15:06:31 +01:00
|
|
|
${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/drivers/oss
|
2004-03-09 21:27:51 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|