blob: 44ddceb0b8cf49e8a7cc9293158ec19f0507cc2f (
plain) (
blame)
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
39
40
41
|
# Created by: Tobias Kortkamp <t@tobik.me>
# $FreeBSD$
PORTNAME= sndio
PORTVERSION= 1.2.0
CATEGORIES= audio
MASTER_SITES= http://www.sndio.org/
MAINTAINER= t@tobik.me
COMMENT= Small audio and MIDI framework from the OpenBSD project
LICENSE= ISCL
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/man
USE_LDCONFIG= yes
USE_RC_SUBR= sndiod
.include <bsd.port.pre.mk>
# FreeBSD 9.x does not have SOCK_CLOEXEC
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
CFLAGS+= -DSOCK_CLOEXEC=0
.endif
USERS= _sndio
GROUPS= _sndio
# Parallel build leads to problems, but sndio is very quick to compile
# as is so not worth fixing
MAKE_JOBS_UNSAFE= yes
post-install:
@${STRIP_CMD} \
${STAGEDIR}${PREFIX}/lib/libsndio.so.6.1 \
${STAGEDIR}${PREFIX}/bin/sndiod \
${STAGEDIR}${PREFIX}/bin/aucat \
${STAGEDIR}${PREFIX}/bin/midicat
.include <bsd.port.post.mk>
|