summaryrefslogtreecommitdiff
path: root/audio/xmms-mad/Makefile
blob: b70b98d9a7fa06d65e252a8e244273297ca93cd3 (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
# $NetBSD: Makefile,v 1.2 2002/08/08 15:23:29 jlam 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"

.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"