summaryrefslogtreecommitdiff
path: root/graphics/xmms-dancingparticles
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-10-16 00:37:09 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-10-16 00:37:09 +0000
commitf45f63500e9951d7801f689ec0c634d7c389f464 (patch)
tree0c47971f0c83e1364cf8ce66330919d42f39f877 /graphics/xmms-dancingparticles
parentScivi is a visualization plugin for XMMS, uses 3D (diff)
This plugin makes particles dance. Very pretty neon colors.
WWW: http://tardyp.free.fr/dancingparticles/ PR: 87471 Submitted by: Alejandro Pulver <alejandro@varnet.biz>
Notes
Notes: svn path=/head/; revision=145486
Diffstat (limited to 'graphics/xmms-dancingparticles')
-rw-r--r--graphics/xmms-dancingparticles/Makefile34
-rw-r--r--graphics/xmms-dancingparticles/distinfo2
-rw-r--r--graphics/xmms-dancingparticles/files/patch-Makefile42
-rw-r--r--graphics/xmms-dancingparticles/files/patch-parameters.cc10
-rw-r--r--graphics/xmms-dancingparticles/pkg-descr3
-rw-r--r--graphics/xmms-dancingparticles/pkg-plist6
6 files changed, 97 insertions, 0 deletions
diff --git a/graphics/xmms-dancingparticles/Makefile b/graphics/xmms-dancingparticles/Makefile
new file mode 100644
index 000000000000..862a5136567c
--- /dev/null
+++ b/graphics/xmms-dancingparticles/Makefile
@@ -0,0 +1,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
+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.3:${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>
diff --git a/graphics/xmms-dancingparticles/distinfo b/graphics/xmms-dancingparticles/distinfo
new file mode 100644
index 000000000000..18d09d31fa73
--- /dev/null
+++ b/graphics/xmms-dancingparticles/distinfo
@@ -0,0 +1,2 @@
+MD5 (dancingparticles0.6.tgz) = c780e55d8b1c350d1fb4c09685e33fd2
+SIZE (dancingparticles0.6.tgz) = 69299
diff --git a/graphics/xmms-dancingparticles/files/patch-Makefile b/graphics/xmms-dancingparticles/files/patch-Makefile
new file mode 100644
index 000000000000..fdd9b17dbd82
--- /dev/null
+++ b/graphics/xmms-dancingparticles/files/patch-Makefile
@@ -0,0 +1,42 @@
+--- Makefile.orig Sat Jan 31 08:05:51 2004
++++ Makefile Fri Oct 14 20:53:22 2005
+@@ -1,14 +1,13 @@
+-CC = gcc
+ #OPT = -m486 -O2
+ #OPT = -mpentium -O6
+-OPT = -mcpu=k6 -march=k6 -O6
+-CFLAGS = $(OPT) -Wall -fPIC `gtk-config --cflags gthread`
+-LFLAGS = -shared -fPIC -L/usr/local/lib -lm -lstdc++ -lGL -lGLU -L/usr/X11R6/lib -lt1 -lSDL
+-LFLAGS2 = -L/usr/local/lib -lm -lstdc++ -lGL -lGLU -L/usr/X11R6/lib -lpthread -lgtk -lgdk -lglut -lt1
++CFLAGS += -fPIC `gtk-config --cflags gthread` `${SDL_CONFIG} --cflags`
++LFLAGS = -shared -fPIC -L${LOCALBASE}/lib -lm -lstdc++ -lGL -lGLU -L${X11BASE}/lib -lt1 `${SDL_CONFIG} --libs`
++LFLAGS2 = -L${LOCALBASE}/lib -lm -lstdc++ -lGL -lGLU -L${X11BASE}/lib -lgtk -lgdk -lglut -lt1
+ OBJ = plugin.o gl.o etoile.o readme.o parameters.o epic.o config.o signal.o t1font.o
+
+ INSTALL-DIR=`xmms-config --visualization-plugin-dir`
+ XMMS_DATADIR=`xmms-config --data-dir`
++DATADIR=${PREFIX}/share/dancingparticles
+ BIN=libdancingparticles2.so
+ all: $(BIN)
+
+@@ -33,14 +32,12 @@
+ rm -f *.o core *~
+
+ install: $(BIN)
+- strip $(BIN)
+- install $(BIN) $(INSTALL-DIR)
+- rm -Rf /usr/local/share/dancingparticles
+- mkdir /usr/local/share/dancingparticles
+- install dance.epic /usr/local/share/dancingparticles/
+- install dancingparticles.conf /usr/local/share/dancingparticles/
+- install xmms.epic /usr/local/share/dancingparticles/
+- install font.pfb /usr/local/share/dancingparticles/
++ $(BSD_INSTALL_PROGRAM) $(BIN) $(INSTALL-DIR)
++ mkdir $(DATADIR)
++ $(BSD_INSTALL_DATA) dance.epic $(DATADIR)
++ $(BSD_INSTALL_DATA) dancingparticles.conf $(DATADIR)
++ $(BSD_INSTALL_DATA) xmms.epic $(DATADIR)
++ $(BSD_INSTALL_DATA) font.pfb $(DATADIR)
+
+
+ plugin.o: plugin.cc etoile.h
diff --git a/graphics/xmms-dancingparticles/files/patch-parameters.cc b/graphics/xmms-dancingparticles/files/patch-parameters.cc
new file mode 100644
index 000000000000..8a38d679b06e
--- /dev/null
+++ b/graphics/xmms-dancingparticles/files/patch-parameters.cc
@@ -0,0 +1,10 @@
+--- parameters.cc.orig Sat Oct 15 21:31:18 2005
++++ parameters.cc Sat Oct 15 21:31:39 2005
+@@ -2,6 +2,7 @@
+ #include "etoile.h"
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <locale.h>
+ #include "t1font.h"
+ // or why use lex when..
+
diff --git a/graphics/xmms-dancingparticles/pkg-descr b/graphics/xmms-dancingparticles/pkg-descr
new file mode 100644
index 000000000000..5ded5728d973
--- /dev/null
+++ b/graphics/xmms-dancingparticles/pkg-descr
@@ -0,0 +1,3 @@
+This plugin makes particles dance. Very pretty neon colors.
+
+WWW: http://tardyp.free.fr/dancingparticles/
diff --git a/graphics/xmms-dancingparticles/pkg-plist b/graphics/xmms-dancingparticles/pkg-plist
new file mode 100644
index 000000000000..ec2eb4ea4b08
--- /dev/null
+++ b/graphics/xmms-dancingparticles/pkg-plist
@@ -0,0 +1,6 @@
+lib/xmms/Visualization/libdancingparticles2.so
+%%DATADIR%%/dance.epic
+%%DATADIR%%/dancingparticles.conf
+%%DATADIR%%/font.pfb
+%%DATADIR%%/xmms.epic
+@dirrm %%DATADIR%%