summaryrefslogtreecommitdiff
path: root/audio/xmms-mad/Makefile
blob: 9b3a80914166cff948d36d01e7f36d1694de2d32 (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
# $NetBSD: Makefile,v 1.1.1.1 2002/05/26 04:00:50 jmcneill Exp $
#

DISTNAME=		xmms-mad-0.0.9
CATEGORIES=		audio
MASTER_SITES=		http://www.superduper.net/downloads/xmms-mad/

MAINTAINER=		jmcneill@netbsd.org
HOMEPAGE=		http://www.superduper.net/xmms-mad/
COMMENT=		Input plugin for XMMS that uses libmad

DEPENDS+=		mad>=0.14:../../audio/mad

GNU_CONFIGURE=		YES
CONFIGURE_ENV+=		LDFLAGS="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib"
CONFIGURE_ENV+=		CFLAGS="-I${LOCALBASE}/include"
CPPFLAGS+=              -D_POSIX_THREAD_SYSCALL_SOFT=1

.include "../../mk/bsd.prefs.mk"

.if (${OPSYS} == NetBSD)
CPPFLAGS+=              -DHAVE_NANOSLEEP=1
.endif

.include "../../audio/xmms/buildlink.mk"
.include "../../mk/ossaudio.buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"