diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2009-07-18 07:07:39 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2009-07-18 07:07:39 +0800 |
commit | 468b77a05f5809c0063f0e546eb90cb6e4bf02d7 (patch) | |
tree | b09ea6e9113f9778e0a3bf0eb15a83017ad51cf8 /games/pink-pony | |
parent | eb11a4c524c93b41ad4425ad899cee8a6ef644f1 (diff) | |
download | freebsd-ports-gnome-468b77a05f5809c0063f0e546eb90cb6e4bf02d7.tar.gz freebsd-ports-gnome-468b77a05f5809c0063f0e546eb90cb6e4bf02d7.tar.zst freebsd-ports-gnome-468b77a05f5809c0063f0e546eb90cb6e4bf02d7.zip |
Pink Pony is a Tron-like multiplayer racing game. You control
little ponies that leave a trail of flowers everywhere they step.
You have to evade these trails and force other ponies into them.
The last pony standing wins the game.
WWW: http://code.google.com/p/pink-pony/
Diffstat (limited to 'games/pink-pony')
-rw-r--r-- | games/pink-pony/Makefile | 52 | ||||
-rw-r--r-- | games/pink-pony/distinfo | 3 | ||||
-rw-r--r-- | games/pink-pony/files/patch-SConstruct | 13 | ||||
-rw-r--r-- | games/pink-pony/files/patch-lib-GL-GLee.h | 11 | ||||
-rw-r--r-- | games/pink-pony/pkg-descr | 6 | ||||
-rw-r--r-- | games/pink-pony/pkg-plist | 50 |
6 files changed, 135 insertions, 0 deletions
diff --git a/games/pink-pony/Makefile b/games/pink-pony/Makefile new file mode 100644 index 000000000000..39419c68a301 --- /dev/null +++ b/games/pink-pony/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: pink-pony +# Date created: 07 Jul 2009 +# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= pink-pony +PORTVERSION= 1.0 +CATEGORIES= games +MASTER_SITES= GOOGLE_CODE \ + http://mirror.amdmi3.ru/distfiles/ + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Tron-like multiplayer racing game + +LIB_DEPENDS= IL.2:${PORTSDIR}/graphics/devil \ + protobuf.4:${PORTSDIR}/devel/protobuf \ + glfw.0:${PORTSDIR}/graphics/glfw \ + Half.6:${PORTSDIR}/graphics/ilmbase +BUILD_DEPENDS= ${LOCALBASE}/lib/libaudiere.so:${PORTSDIR}/audio/audiere +RUN_DEPENDS= ${LOCALBASE}/lib/libaudiere.so:${PORTSDIR}/audio/audiere + +USE_BZIP2= yes +USE_SCONS= yes +USE_GL= gl glu +MAKE_JOBS_SAFE= yes + +WRKSRC= ${WRKDIR}/${PORTNAME} + +PORTDOCS= README + +post-patch: + @${REINPLACE_CMD} -Ee 's,(GLSL|levels|models|music|sounds|textures)/,${DATADIR}/&,' \ + ${WRKSRC}/pony.options ${WRKSRC}/PinkPony.cc ${WRKSRC}/lib/*.cc + @${REINPLACE_CMD} -e 's|pony.options|${PREFIX}/etc/pink-pony.conf|' \ + ${WRKSRC}/PinkPony.cc + +post-configure: + cd ${WRKSRC}/lib && ${LOCALBASE}/bin/protoc --cpp_out=. mesh.proto + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/Pony ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/pony.options ${PREFIX}/etc/pink-pony.conf + cd ${WRKSRC} && ${COPYTREE_SHARE} \ + "GLSL levels models music sounds textures" ${DATADIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ +.endif + +.include <bsd.port.mk> diff --git a/games/pink-pony/distinfo b/games/pink-pony/distinfo new file mode 100644 index 000000000000..cae8e9fbd513 --- /dev/null +++ b/games/pink-pony/distinfo @@ -0,0 +1,3 @@ +MD5 (pink-pony-1.0.tar.bz2) = af082a8e424b980353b47107a21c8864 +SHA256 (pink-pony-1.0.tar.bz2) = f771caf2887d9553ff24cad2ec3a45fb114fae58ca3757bdca4f620ffbbc9300 +SIZE (pink-pony-1.0.tar.bz2) = 10077835 diff --git a/games/pink-pony/files/patch-SConstruct b/games/pink-pony/files/patch-SConstruct new file mode 100644 index 000000000000..d6e3372fded1 --- /dev/null +++ b/games/pink-pony/files/patch-SConstruct @@ -0,0 +1,13 @@ +--- SConstruct.orig 2009-06-22 12:58:28.000000000 +0400 ++++ SConstruct 2009-07-09 23:42:45.000000000 +0400 +@@ -1,8 +1,7 @@ + import os + +-env = Environment() +-env['CC'] = 'g++' +-env['CCFLAGS'] = '-Wall -Wextra -Wno-unused-parameter -O0 -ggdb -msse3 -I/usr/include/OpenEXR -I./lib -I./external/tinyXML' ++env = Environment(ENV=os.environ, **dict((k, v.split()) for k, v in ARGUMENTS.iteritems())) ++env.Append(CCFLAGS = '-Wall -Wextra -Wno-unused-parameter -I./lib -I./external/tinyXML'.split()) + env['LIBS'] = ['GLU', 'GL', 'protobuf', 'IL', 'ILUT', 'audiere'] + env.ParseConfig("pkg-config IlmBase --cflags --libs") + env.ParseConfig("pkg-config libglfw --cflags --libs") diff --git a/games/pink-pony/files/patch-lib-GL-GLee.h b/games/pink-pony/files/patch-lib-GL-GLee.h new file mode 100644 index 000000000000..14b1cfc6a422 --- /dev/null +++ b/games/pink-pony/files/patch-lib-GL-GLee.h @@ -0,0 +1,11 @@ +--- lib/GL/GLee.h.orig 2009-04-12 22:06:20.000000000 +0400 ++++ lib/GL/GLee.h 2009-07-09 23:58:05.000000000 +0400 +@@ -747,8 +747,6 @@ +
+ /* GLX */
+
+- typedef void (*__GLXextFuncPtr)(void);
+-
+ #ifndef GLX_ARB_get_proc_address
+ #define GLX_ARB_get_proc_address 1
+ extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
diff --git a/games/pink-pony/pkg-descr b/games/pink-pony/pkg-descr new file mode 100644 index 000000000000..597a1812519a --- /dev/null +++ b/games/pink-pony/pkg-descr @@ -0,0 +1,6 @@ +Pink Pony is a Tron-like multiplayer racing game. You control +little ponies that leave a trail of flowers everywhere they step. +You have to evade these trails and force other ponies into them. +The last pony standing wins the game. + +WWW: http://code.google.com/p/pink-pony/ diff --git a/games/pink-pony/pkg-plist b/games/pink-pony/pkg-plist new file mode 100644 index 000000000000..3f6619e4ea67 --- /dev/null +++ b/games/pink-pony/pkg-plist @@ -0,0 +1,50 @@ +bin/Pony +etc/pink-pony.conf +%%DATADIR%%/GLSL/draw_particles.frag +%%DATADIR%%/GLSL/draw_particles.geom +%%DATADIR%%/GLSL/draw_particles.vert +%%DATADIR%%/GLSL/heart.frag +%%DATADIR%%/GLSL/heart.vert +%%DATADIR%%/GLSL/heightmap.frag +%%DATADIR%%/GLSL/heightmap.vert +%%DATADIR%%/GLSL/pony.frag +%%DATADIR%%/GLSL/pony.vert +%%DATADIR%%/GLSL/step_particles.frag +%%DATADIR%%/GLSL/step_particles.geom +%%DATADIR%%/GLSL/step_particles.vert +%%DATADIR%%/GLSL/water.frag +%%DATADIR%%/GLSL/water.vert +%%DATADIR%%/levels/heart.png +%%DATADIR%%/levels/ring.png +%%DATADIR%%/levels/skull.png +%%DATADIR%%/models/Heart.mesh.xml +%%DATADIR%%/models/Heart.pmesh +%%DATADIR%%/models/Pony-animated.mesh.xml +%%DATADIR%%/models/Pony-animated.pmesh +%%DATADIR%%/models/Pony-animated.pskeleton +%%DATADIR%%/models/Pony-animated.skeleton.xml +%%DATADIR%%/models/candy.blend +%%DATADIR%%/models/heart.blend +%%DATADIR%%/models/pony-animated.blend +%%DATADIR%%/models/pony.blend +%%DATADIR%%/music/To be happy.mp3 +%%DATADIR%%/sounds/explosion.wav +%%DATADIR%%/sounds/heart.wav +%%DATADIR%%/textures/four.png +%%DATADIR%%/textures/grass.png +%%DATADIR%%/textures/heart-particle.png +%%DATADIR%%/textures/noise.png +%%DATADIR%%/textures/one.png +%%DATADIR%%/textures/pony-blue.png +%%DATADIR%%/textures/pony.png +%%DATADIR%%/textures/sand.png +%%DATADIR%%/textures/sky.png +%%DATADIR%%/textures/three.png +%%DATADIR%%/textures/two.png +@dirrm %%DATADIR%%/textures +@dirrm %%DATADIR%%/sounds +@dirrm %%DATADIR%%/music +@dirrm %%DATADIR%%/models +@dirrm %%DATADIR%%/levels +@dirrm %%DATADIR%%/GLSL +@dirrm %%DATADIR%% |