diff options
author | mnag <mnag@FreeBSD.org> | 2005-10-16 08:37:09 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2005-10-16 08:37:09 +0800 |
commit | c6a65f55ddca1536a73a480803e5480bc96e8d49 (patch) | |
tree | 4ceb65f351fb8ef8d56379e1fc519637aeb01a35 /graphics/xmms-dancingparticles | |
parent | 37d0fd2f1433feed671f61fa83e96a7b6ae6981e (diff) | |
download | freebsd-ports-gnome-c6a65f55ddca1536a73a480803e5480bc96e8d49.tar.gz freebsd-ports-gnome-c6a65f55ddca1536a73a480803e5480bc96e8d49.tar.zst freebsd-ports-gnome-c6a65f55ddca1536a73a480803e5480bc96e8d49.zip |
This plugin makes particles dance. Very pretty neon colors.
WWW: http://tardyp.free.fr/dancingparticles/
PR: 87471
Submitted by: Alejandro Pulver <alejandro@varnet.biz>
Diffstat (limited to 'graphics/xmms-dancingparticles')
-rw-r--r-- | graphics/xmms-dancingparticles/Makefile | 34 | ||||
-rw-r--r-- | graphics/xmms-dancingparticles/distinfo | 2 | ||||
-rw-r--r-- | graphics/xmms-dancingparticles/files/patch-Makefile | 42 | ||||
-rw-r--r-- | graphics/xmms-dancingparticles/files/patch-parameters.cc | 10 | ||||
-rw-r--r-- | graphics/xmms-dancingparticles/pkg-descr | 3 | ||||
-rw-r--r-- | graphics/xmms-dancingparticles/pkg-plist | 6 |
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%% |