summaryrefslogtreecommitdiff
path: root/audio/libvisual0.2-plugins/Makefile
blob: 11af654b5e4fee4e63cb18746af795a40fd2753f (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
44
45
46
# $NetBSD: Makefile,v 1.8 2010/09/14 11:01:23 wiz Exp $
#

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

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://localhost.nl/~synap/libvisual-wiki/
COMMENT=		Plugins for libvisual

PKG_DESTDIR_SUPPORT=	user-destdir

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} ${DESTDIR}${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"