svn commit: r457224 - in head: . games/jumpnbump games/jumpnbump/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Dec 25 12:59:01 UTC 2017
Author: amdmi3
Date: Mon Dec 25 12:58:59 2017
New Revision: 457224
URL: https://svnweb.freebsd.org/changeset/ports/457224
Log:
- Resurrect games/jumpnbump, update to 1.60
Added:
head/games/jumpnbump/
- copied from r230792, head/games/jumpnbump/
head/games/jumpnbump/files/patch-menu_Makefile (contents, props changed)
head/games/jumpnbump/files/patch-menu_po_Makefile (contents, props changed)
Deleted:
head/games/jumpnbump/files/patch-Makefile
head/games/jumpnbump/files/patch-jnbmenu.pre
head/games/jumpnbump/files/patch-modify::Makefile
head/games/jumpnbump/files/patch-sdl::Makefile
Modified:
head/MOVED
head/games/jumpnbump/Makefile (contents, props changed)
head/games/jumpnbump/distinfo (contents, props changed)
head/games/jumpnbump/pkg-descr (contents, props changed)
head/games/jumpnbump/pkg-plist (contents, props changed)
Modified: head/MOVED
==============================================================================
--- head/MOVED Mon Dec 25 12:56:18 2017 (r457223)
+++ head/MOVED Mon Dec 25 12:58:59 2017 (r457224)
@@ -520,7 +520,6 @@ java/javel||2009-03-23|Has expired: unmaintained, does
java/guavac||2009-03-23|Has expired: unmaintained, does not work with current versions of GCC, needs gcc295 which has been failing to build for months
graphics/xrml||2009-03-23|Has expired: unmaintained, does not work with current versions of GCC, needs gcc295 which has been failing to build for months
graphics/renderpark||2009-03-23|Has expired: unmaintained, does not work with current versions of GCC, needs gcc295 which has been failing to build for months
-games/jumpnbump||2009-03-23|Has expired: Tcl 8.0 support is going to be dropped
irc/blackened||2009-03-23|Has expired: Broken and abandonware
devel/libg++||2009-03-23|Has expired: unmaintained, does not work with current versions of GCC, needs gcc295 which has been failing to build for months
devel/freescope||2009-03-23|Has expired: unmaintained, does not work with current versions of GCC, needs gcc295 which has been failing to build for months
Modified: head/games/jumpnbump/Makefile
==============================================================================
--- head/games/jumpnbump/Makefile Mon Mar 23 20:42:15 2009 (r230792)
+++ head/games/jumpnbump/Makefile Mon Dec 25 12:58:59 2017 (r457224)
@@ -1,64 +1,41 @@
-# New ports collection makefile for: jumpnbump
-# Date created: 23 September 2002
-# Whom: Alessandro Gatti <a.gatti at tiscali.it>
-#
+# Created by: Dmitry Marakasov <amdmi3 at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= jumpnbump
-PORTVERSION= 1.41
-PORTREVISION= 6
+PORTVERSION= 1.60
CATEGORIES= games
-MASTER_SITES= http://www.jumpbump.mine.nu/port/ \
- http://www.vlaadworld.net/jumpnbump/ \
- http://jumpnbump.linuxsys.de/
+MASTER_SITES= https://gitlab.com/LibreGames/jumpnbump/repository/${PORTVERSION}/archive.tar.bz2?dummy=/
-MAINTAINER= ports at FreeBSD.org
-COMMENT= A fun multiplayer game with cute fluffy bunnies and bloody explosions
+MAINTAINER= amdmi3 at FreeBSD.org
+COMMENT= Play cute bunnies jumping on each other's heads
-USE_SDL= mixer sdl
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
-DEPRECATED= tcl8.0 support is going to be dropped
-EXPIRATION_DATE= 2009-03-22
+USES= gettext gmake shebangfix tar:bzip2
+SHEBANG_FILES= ${WRKSRC}/menu/jumpnbump_menu.py.pre
+USE_SDL= sdl2 mixer2 net2
-.if !defined (WITHOUT_TCL)
-RUN_DEPENDS+= wish8.0:${PORTSDIR}/x11-toolkits/tk80
-PLIST_SUB += WITH_TCL=""
-.else
-PLIST_SUB += WITH_TCL="@comment "
-.endif
+WRKSRC= ${WRKDIR}/${DISTNAME}-3b37e6f8951419bfce4601cda0ed500622d5bedf
+PORTDOCS= AUTHORS ChangeLog README.md
-MAN6= jumpnbump.6
+OPTIONS_DEFINE= LAUNCHER DOCS NLS
+OPTIONS_DEFAULT=LAUNCHER
+OPTIONS_SUB= yes
-.include <bsd.port.pre.mk>
+LAUNCHER_DESC= Install pygtk launcher
+LAUNCHER_USES= python:2.7,run
+LAUNCHER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gtk2>0:x11-toolkits/py-gtk2@${PY_FLAVOR}
-.if ${ARCH} == "alpha"
-BROKEN= Does not compile on alpha
-.endif
+post-install:
+.for f in jnbpack gobpack jnbunpack jumpnbump
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
+.endfor
-.if !defined (WITHOUT_TCL)
-pre-everything::
- @${ECHO_MSG} "Define WITHOUT_TCL to disable the X11 frontend."
-.endif
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/jumpnbump ${PREFIX}/bin/
- ${INSTALL_PROGRAM} ${WRKSRC}/gobpack ${PREFIX}/bin/
- ${INSTALL_PROGRAM} ${WRKSRC}/jnbpack ${PREFIX}/bin/
- ${INSTALL_PROGRAM} ${WRKSRC}/jnbunpack ${PREFIX}/bin/
- ${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/data/jumpbump.dat ${DATADIR}/
- ${INSTALL_MAN} ${WRKSRC}/jumpnbump.6 ${MAN6PREFIX}/man/man6/
-.if !defined(WITHOUT_TCL)
- ${INSTALL_SCRIPT} ${WRKSRC}/jnbmenu.tcl ${PREFIX}/bin/jnbmenu
-.endif
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/jumpnbump.html ${DOCSDIR}
-.for i in jumpnbump_levelmaking.htm level.pcx making1.gif making2.gif \
- making3.gif pack.gif
- ${INSTALL_MAN} ${WRKSRC}/levelmaking/$i ${DOCSDIR}
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/games/jumpnbump/distinfo
==============================================================================
--- head/games/jumpnbump/distinfo Mon Mar 23 20:42:15 2009 (r230792)
+++ head/games/jumpnbump/distinfo Mon Dec 25 12:58:59 2017 (r457224)
@@ -1,3 +1,3 @@
-MD5 (jumpnbump-1.41.tar.gz) = 3400055c93c7a588a41a179162edc808
-SHA256 (jumpnbump-1.41.tar.gz) = 9949e273d15fdfecc9a8b37683132d430dbadb4dea0ec272fafea0f483c8535e
-SIZE (jumpnbump-1.41.tar.gz) = 394244
+TIMESTAMP = 1513863624
+SHA256 (jumpnbump-1.60.tar.bz2) = b156d1ecd35fd02281f55787ebf1c33e74adcaea2773a3450bf2554120774a2c
+SIZE (jumpnbump-1.60.tar.bz2) = 377991
Added: head/games/jumpnbump/files/patch-menu_Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/jumpnbump/files/patch-menu_Makefile Mon Dec 25 12:58:59 2017 (r457224)
@@ -0,0 +1,15 @@
+--- menu/Makefile.orig 2017-05-24 18:01:25 UTC
++++ menu/Makefile
+@@ -20,8 +20,10 @@ clean:
+ $(MAKE) -C po clean
+
+ install:
+- install -D -m 644 jumpnbump_menu.glade $(DESTDIR)$(GAMEDATADIR)/jumpnbump/jumpnbump_menu.glade
+- install -D -m 755 jumpnbump_menu.py $(DESTDIR)$(BINDIR)/jumpnbump-menu
++ install -d $(DESTDIR)$(GAMEDATADIR)/jumpnbump/
++ install -m 644 jumpnbump_menu.glade $(DESTDIR)$(GAMEDATADIR)/jumpnbump/jumpnbump_menu.glade
++ install -d $(DESTDIR)$(BINDIR)
++ install -m 755 jumpnbump_menu.py $(DESTDIR)$(BINDIR)/jumpnbump-menu
+
+ $(MAKE) -C po install
+
Added: head/games/jumpnbump/files/patch-menu_po_Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/jumpnbump/files/patch-menu_po_Makefile Mon Dec 25 12:58:59 2017 (r457224)
@@ -0,0 +1,12 @@
+--- menu/po/Makefile.orig 2017-05-24 18:01:25 UTC
++++ menu/po/Makefile
+@@ -12,7 +12,8 @@ clean:
+
+ install:
+ for lang in $(LANGS) ; do \
+- install -D -m 0644 $$lang.mo $(DESTDIR)$(DATADIR)/locale/$$lang/LC_MESSAGES/jumpnbump-menu.mo ; \
++ install -d $(DESTDIR)$(DATADIR)/locale/$$lang/LC_MESSAGES ; \
++ install -m 0644 $$lang.mo $(DESTDIR)$(DATADIR)/locale/$$lang/LC_MESSAGES/jumpnbump-menu.mo ; \
+ done
+
+ uninstall:
Modified: head/games/jumpnbump/pkg-descr
==============================================================================
--- head/games/jumpnbump/pkg-descr Mon Mar 23 20:42:15 2009 (r230792)
+++ head/games/jumpnbump/pkg-descr Mon Dec 25 12:58:59 2017 (r457224)
@@ -1,12 +1,13 @@
-This is a port of a multiplayer-only DOS game where the players are bunnies,
-and the goal is to jump on the other bunnies, destroying them in a bloody
-explosion. This game also has a screensaver mode, which is a parody of the
-classic xscreensaver pyro hack, except that bunnies explode instead of
-fireworks.
+This is a game for the whole family. You play cute fluffy little
+bunnies and hop on each other's heads.
-Network support is currently broken, but the authors threaten to fix it
-in a future release.
+At the beginning you are in the menu, where you have to let each
+active player jump over the tree trunk to enter the play area, and
+then walk to the right. You will then enter the arena. The aim is
+to jump on the other bunnies' heads...
-Hundreds of alternate levels are available on the website.
+Jump 'n Bump was originally a DOS game by Brainchild Design, which
+was open sourced under the GPL license and ported to SDL, and then
+SDL2.
-WWW: http://www.jumpbump.mine.nu/
+WWW: https://gitlab.com/LibreGames/jumpnbump
Modified: head/games/jumpnbump/pkg-plist
==============================================================================
--- head/games/jumpnbump/pkg-plist Mon Mar 23 20:42:15 2009 (r230792)
+++ head/games/jumpnbump/pkg-plist Mon Dec 25 12:58:59 2017 (r457224)
@@ -1,15 +1,13 @@
-bin/jumpnbump
bin/gobpack
bin/jnbpack
bin/jnbunpack
-share/jumpnbump/jumpbump.dat
-%%WITH_TCL%%bin/jnbmenu
-%%PORTDOCS%%%%DOCSDIR%%/jumpnbump.html
-%%PORTDOCS%%%%DOCSDIR%%/jumpnbump_levelmaking.htm
-%%PORTDOCS%%%%DOCSDIR%%/level.pcx
-%%PORTDOCS%%%%DOCSDIR%%/making1.gif
-%%PORTDOCS%%%%DOCSDIR%%/making2.gif
-%%PORTDOCS%%%%DOCSDIR%%/making3.gif
-%%PORTDOCS%%%%DOCSDIR%%/pack.gif
- at dirrm share/jumpnbump
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+bin/jumpnbump
+%%LAUNCHER%%bin/jumpnbump-menu
+share/appdata/jumpnbump.appdata.xml
+%%LAUNCHER%%share/applications/jumpnbump-menu.desktop
+share/applications/jumpnbump.desktop
+share/icons/jumpnbump.png
+%%DATADIR%%/jumpbump.dat
+%%LAUNCHER%%%%DATADIR%%/jumpnbump_menu.glade
+%%NLS%%share/locale/fr/LC_MESSAGES/jumpnbump-menu.mo
+share/man/man6/jumpnbump.6
More information about the svn-ports-head
mailing list