summaryrefslogtreecommitdiff
path: root/graphics/xmms-nebulus/Makefile
blob: c7f1394dce9a78be5e89c1d730307e33e529840d (plain) (blame)
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
# New ports collection makefile for:	xmms-nebulus
# Date created:				3 Oct 2002
# Whom:					David Yeske <dyeske@yahoo.com>
#
# $FreeBSD$
#

PORTNAME=	xmms-nebulus
PORTVERSION=	0.7.0
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://nebulus.tuxfamily.org/

MAINTAINER=	dyeske@yahoo.com
COMMENT=	A XMMS visualization plugin that uses SDL and OpenGL

BUILD_DEPENDS=	xmms-config:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS=	xmms:${PORTSDIR}/multimedia/xmms

PLIST_FILES=	lib/xmms/Visualization/libnebulus.so
USE_SDL=	sdl
USE_X_PREFIX=	yes
USE_GL=		yes
USE_GNOME=	gtk12
USE_BZIP2=	yes
GNU_CONFIGURE=	yes

CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include"

post-patch:
	@${REINPLACE_CMD} -E -e \
		's|SDL/SDL.h|SDL11/SDL.h|; \
		s|SDL/SDL_opengl.h|SDL11/SDL_opengl.h|; \
		s|SDL/SDL_thread.h|SDL11/SDL_thread.h|' \
		${WRKSRC}/src/nebulus.h \
		${WRKSRC}/src/nebulus.c \
		${WRKSRC}/src/face_data.c \
		${WRKSRC}/src/child_data.c \
		${WRKSRC}/configure

	@${REINPLACE_CMD} -e \
		's|-Wall||' \
		${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>