summaryrefslogtreecommitdiff
path: root/audio/libvisual0.2-plugins/Makefile
blob: f02d45368d0e11574fc1c65521ff8a28a7a6ebbd (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
34
35
36
37
38
39
40
41
42
43
# $NetBSD: Makefile,v 1.3 2007/08/30 15:46:55 joerg Exp $
#

DISTNAME=		libvisual-plugins-0.2.0
PKGNAME=		libvisual0.2-plugins-0.2.0
CATEGORIES=		audio graphics
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=libvisual/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://libvisual.sourceforge.net/
COMMENT=		Plugins for libvisual

CONFLICTS=		libvisual-nebulus-[0-9]* libvisual-gforce-[0-9]*
CONFLICTS+=		libvisual-plugins<0.4.0

USE_PKGLOCALEDIR=	yes
USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
USE_TOOLS+=		pkg-config mkdirhier

# sigsegfaults in 0.2.0 because of:
# sorry, but the bug with strtof has come, please report..
CONFIGURE_ARGS+=	--disable-dancingparticles
CONFIGURE_ARGS+= 	--x-includes=${X11BASE}/include
CONFIGURE_ARGS+= 	--x-libraries=${X11BASE}/lib

# install unnecessarily installed files
post-install:
	${RM} ${PREFIX}/share/libvisual-plugins/*/Makefile*

.include "../../audio/goom/buildlink3.mk"
.include "../../audio/libvisual0.2/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
# currently not useful, since libgdkpixbuf plugin is not configurable
#.include "../../x11/gtk2/buildlink3.mk"

# required for libGl check
BUILDLINK_DEPMETHOD.libXt?=	build
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"