1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- Add games/gnujump

GNUjump is a clone of the simple yet addictive game Xjump, adding
new features like multiplaying, unlimited FPS, smooth floor falling,
themable graphics, sounds, replays, ...

The goal in this game is to jump to the next floor trying not to
fall down. As you go upper in the Falling Tower the floors will
fall faster. Try to survive longer get upper than anyone. It might
seem too simple but once you've tried you'll realize how addictive
this is.

WWW: http://gnujump.es.gnu.org/index.php/Main_Page
This commit is contained in:
Dmitry Marakasov 2016-10-10 11:40:56 +00:00
parent 0bdefc78dc
commit de3e303442
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423650
6 changed files with 79 additions and 0 deletions

View File

@ -358,6 +358,7 @@
SUBDIR += gnuchess
SUBDIR += gnudoku
SUBDIR += gnugo
SUBDIR += gnujump
SUBDIR += gnurobbo
SUBDIR += gnurobots
SUBDIR += gnushogi

49
games/gnujump/Makefile Normal file
View File

@ -0,0 +1,49 @@
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnujump
PORTVERSION= 1.0.8
CATEGORIES= games
MASTER_SITES= GNU
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Platform game where you have to jump up to survive
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= gmake localbase
USE_SDL= sdl mixer image
USE_GL= gl
USE_XORG= x11
LDFLAGS+= -lm
PORTDOCS= AUTHORS README
PORTDATA= *
DESKTOP_ENTRIES="GNUJump" \
"" \
"${DATADIR}/skins/default/hero1.0.png" \
"${PORTNAME}" \
"Game;ArcadeGame;" \
""
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
NLS_LDFLAGS= -lintl
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/gnujump.h
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>

3
games/gnujump/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1476098272
SHA256 (gnujump-1.0.8.tar.gz) = 13c3fe5f430eb0c010560c7e438123a573ca61a55c6708aa750cfbf56bf25e17
SIZE (gnujump-1.0.8.tar.gz) = 2508641

View File

@ -0,0 +1,11 @@
--- src/main.c.orig 2008-09-23 14:17:29 UTC
+++ src/main.c
@@ -18,6 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <locale.h>
+
#include "gnujump.h"
#include "setup.h"

11
games/gnujump/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
GNUjump is a clone of the simple yet addictive game Xjump, adding
new features like multiplaying, unlimited FPS, smooth floor falling,
themable graphics, sounds, replays, ...
The goal in this game is to jump to the next floor trying not to
fall down. As you go upper in the Falling Tower the floors will
fall faster. Try to survive longer get upper than anyone. It might
seem too simple but once you've tried you'll realize how addictive
this is.
WWW: http://gnujump.es.gnu.org/index.php/Main_Page

4
games/gnujump/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
bin/gnujump
man/man6/gnujump.6.gz
%%NLS%%share/locale/it/LC_MESSAGES/gnujump.mo
%%NLS%%share/locale/tr/LC_MESSAGES/gnujump.mo