summaryrefslogtreecommitdiff
path: root/audio/xmms-mad/Makefile
blob: 9296debf47c04fcb448bf465181043b338aa634c (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.3 2002/08/08 15:29:47 jlam Exp $
#

DISTNAME=		xmms-mad-0.0.9
PKGREVISION=		1
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"