summaryrefslogtreecommitdiff
path: root/audio/libvisual0.2-plugins/Makefile
blob: 182f8e7cb6b786349340dd4efb07bd3331be5ee8 (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
# $NetBSD: Makefile,v 1.26 2014/05/05 00:47:37 ryoon Exp $
#

DISTNAME=		libvisual-plugins-0.2.0
PKGNAME=		libvisual0.2-plugins-0.2.0
PKGREVISION=		20
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

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"