summaryrefslogtreecommitdiff
path: root/graphics/xmms-dancingparticles/Makefile
blob: ddf65fd66ad0fdbfaa32084856facbe842c6c456 (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
# New ports collection makefile for:	xmms-dancingparticles
# Date created:				14 Oct 2005
# Whom:					Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#

PORTNAME=	dancingparticles
PORTVERSION=	0.6
PORTREVISION=	3
CATEGORIES=	graphics
MASTER_SITES=	http://tardyp.free.fr/dancingparticles/
PKGNAMEPREFIX=	xmms-
DISTNAME=	${PORTNAME}${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	alepulver@FreeBSD.org
COMMENT=	Makes particles dance with very pretty neon colors

LIB_DEPENDS=	t1.5:${PORTSDIR}/devel/t1lib \
		glut.4:${PORTSDIR}/graphics/libglut \
		xmms.4:${PORTSDIR}/multimedia/xmms

USE_X_PREFIX=	yes
USE_GL=		yes
USE_GNOME=	gtk12
USE_SDL=	sdl
CFLAGS+=	-I${PREFIX}/include

post-patch:
	@${REINPLACE_CMD} -e 's|\(#include.*\)SDL/\(SDL.*\)|\1\2| ; \
		s|/usr/local|${PREFIX}|' ${WRKSRC}/*.cc ${WRKSRC}/*.h

.include <bsd.port.mk>