aboutsummaryrefslogtreecommitdiff
path: root/graphics/xmms-dancingparticles/Makefile
blob: 1e265f6f98bf05b3f8ba80b6c58f84d34117f001 (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
# 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=	1
CATEGORIES=	graphics
MASTER_SITES=	http://tardyp.free.fr/dancingparticles/
PKGNAMEPREFIX=	xmms-
DISTNAME=	${PORTNAME}${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	alejandro@varnet.biz
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_REINPLACE=	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>