blob: 8a3b78f804789243b95266f0de0488b344de89f8 (
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
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.22 2018/02/28 21:46:51 wiz Exp $
DISTNAME= portaudio_v18_1
PKGNAME= portaudio-18.1
PKGREVISION= 4
CATEGORIES= audio
MASTER_SITES= http://www.portaudio.com/archives/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.portaudio.com/
COMMENT= Portable cross-platform Audio API
LICENSE= mit
NOT_FOR_PLATFORM= Interix-*-*
USE_TOOLS+= gmake
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CFLAGS.Darwin= -Ipablio
INSTALLATION_DIRS+= lib include
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
RT_LIB_SCHED= -lrt
.else
RT_LIB_SCHED= # empty
.endif
MAKE_ENV+= RT_LIB_SCHED=${RT_LIB_SCHED}
pre-configure:
${CHMOD} 755 ${WRKSRC:Q}/configure
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|