summaryrefslogtreecommitdiff
path: root/audio/xmms-bezier/Makefile
blob: f2382f1ca8fa3a0b61883f2d7b98325b75a440d3 (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
# $NetBSD: Makefile,v 1.6 2003/07/17 21:23:54 grant Exp $
#

DISTNAME=	bezier-0.0.3
PKGNAME=	xmms-${DISTNAME}
PKGREVISION=	3
CATEGORIES=	audio
MASTER_SITES=	http://yossman.net/~kuroyi/

MAINTAINER=	hubertf@NetBSD.org
COMMENT=	OpenGL XMMS plugin

GNU_CONFIGURE=	yes
USE_X11=	yes
CPPFLAGS+=	-I${X11BASE}/include -I${LOCALBASE}/include
CFLAGS+=	-I${LOCALBASE}/include
USE_LIBTOOL=	yes
USE_BUILDLINK2= yes
LTCONFIG_OVERRIDE=	${WRKSRC}/ltconfig
CPPFLAGS+=		-D_POSIX_THREAD_SYSCALL_SOFT=1

pre-configure:
		cd ${WRKSRC} ; ${MV} configure configure.BAK ; \
		${SED} \
			-e 's,-lMesaGL,-lGL -L${X11BASE}/lib -lX11 -lXext -lm,' \
			<configure.BAK >configure ; \
		${CHMOD} +x configure

.include "../../audio/xmms/buildlink2.mk"
.include "../../devel/glib/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"
.include "../../graphics/MesaLib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"