Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2016 11:40:56 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423650 - in head/games: . gnujump gnujump/files
Message-ID:  <201610101140.u9ABeuOO045048@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Oct 10 11:40:56 2016
New Revision: 423650
URL: https://svnweb.freebsd.org/changeset/ports/423650

Log:
  - 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

Added:
  head/games/gnujump/
  head/games/gnujump/Makefile   (contents, props changed)
  head/games/gnujump/distinfo   (contents, props changed)
  head/games/gnujump/files/
  head/games/gnujump/files/patch-src_main.c   (contents, props changed)
  head/games/gnujump/pkg-descr   (contents, props changed)
  head/games/gnujump/pkg-plist   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Mon Oct 10 10:58:25 2016	(r423649)
+++ head/games/Makefile	Mon Oct 10 11:40:56 2016	(r423650)
@@ -358,6 +358,7 @@
     SUBDIR += gnuchess
     SUBDIR += gnudoku
     SUBDIR += gnugo
+    SUBDIR += gnujump
     SUBDIR += gnurobbo
     SUBDIR += gnurobots
     SUBDIR += gnushogi

Added: head/games/gnujump/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gnujump/Makefile	Mon Oct 10 11:40:56 2016	(r423650)
@@ -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>

Added: head/games/gnujump/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gnujump/distinfo	Mon Oct 10 11:40:56 2016	(r423650)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1476098272
+SHA256 (gnujump-1.0.8.tar.gz) = 13c3fe5f430eb0c010560c7e438123a573ca61a55c6708aa750cfbf56bf25e17
+SIZE (gnujump-1.0.8.tar.gz) = 2508641

Added: head/games/gnujump/files/patch-src_main.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gnujump/files/patch-src_main.c	Mon Oct 10 11:40:56 2016	(r423650)
@@ -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"

Added: head/games/gnujump/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gnujump/pkg-descr	Mon Oct 10 11:40:56 2016	(r423650)
@@ -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

Added: head/games/gnujump/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gnujump/pkg-plist	Mon Oct 10 11:40:56 2016	(r423650)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610101140.u9ABeuOO045048>