blob: 4272c6bec40057dd3abe40cdaae8140f9a350b9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# New ports collection makefile for: portaudio
# Date created: 18 May 2003
# Whom: michaelnottebrock@gmx.net and lioux@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= portaudio
PORTVERSION= 19.b${SNAPREV}
CATEGORIES= audio
MASTER_SITES= CENKES
# svn export -rSNAPREV https://www.portaudio.com/repos/portaudio/branches/v19-devel
LATEST_LINK= ${PORTNAME}2
MAINTAINER= ports@FreeBSD.org
COMMENT= Portable cross-platform Audio API
SNAPREV= 1175
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static --without-alsa --without-jack --without-asihpi \
--libdir=${PREFIX}/lib/${PORTNAME}2 --includedir=${PREFIX}/include/${PORTNAME}2
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}2
post-patch:
@${GREP} -lre -lpthread ${WRKSRC}|${XARGS} ${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|'
@${REINPLACE_CMD} -e '/pkgconfig/s|$$[(]libdir[)]|${PREFIX}/libdata|' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
|