summaryrefslogtreecommitdiff
path: root/games/jumpnbump
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-01-14 13:28:42 +0000
committernia <nia@pkgsrc.org>2020-01-14 13:28:42 +0000
commit72b9f897df83a77bc4efda830e7e6b2750291e3f (patch)
tree27d8e2eb0e368795fba01ecfc52c93f2aa440e7f /games/jumpnbump
parentfbd812ae390b878f14160bfc1e093808b3e55194 (diff)
downloadpkgsrc-72b9f897df83a77bc4efda830e7e6b2750291e3f.tar.gz
games: Add jumpnbump. While here, add missing entries to the root Makefile.
This is a game for the whole family. You play cute fluffy little bunnies and hop on each other's heads. 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... 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. It's a true multiplayer game, you can't play this alone. It has network support.
Diffstat (limited to 'games/jumpnbump')
-rw-r--r--games/jumpnbump/DESCR13
-rw-r--r--games/jumpnbump/Makefile22
-rw-r--r--games/jumpnbump/PLIST10
-rw-r--r--games/jumpnbump/distinfo7
-rw-r--r--games/jumpnbump/patches/patch-Makefile28
5 files changed, 80 insertions, 0 deletions
diff --git a/games/jumpnbump/DESCR b/games/jumpnbump/DESCR
new file mode 100644
index 00000000000..17b29479cfe
--- /dev/null
+++ b/games/jumpnbump/DESCR
@@ -0,0 +1,13 @@
+This is a game for the whole family. You play cute fluffy little bunnies
+and hop on each other's heads.
+
+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...
+
+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.
+
+It's a true multiplayer game, you can't play this alone. It has network
+support.
diff --git a/games/jumpnbump/Makefile b/games/jumpnbump/Makefile
new file mode 100644
index 00000000000..2fe7f80711c
--- /dev/null
+++ b/games/jumpnbump/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2020/01/14 13:28:42 nia Exp $
+
+DISTNAME= jumpnbump-1.61
+CATEGORIES= games
+MASTER_SITES= https://gitlab.com/LibreGames/jumpnbump/uploads/95acdae2a232513f068e260977371dcf/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://libregames.gitlab.io/jumpnbump/
+COMMENT= Multiplayer platform game with bunnies
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= gmake
+
+CHECK_PORTABILITY_SKIP+= build-mingw.sh
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../audio/SDL2_mixer/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../net/SDL2_net/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/jumpnbump/PLIST b/games/jumpnbump/PLIST
new file mode 100644
index 00000000000..bb63ddb34ca
--- /dev/null
+++ b/games/jumpnbump/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/14 13:28:42 nia Exp $
+bin/gobpack
+bin/jnbpack
+bin/jnbunpack
+bin/jumpnbump
+man/man6/jumpnbump.6
+share/applications/jumpnbump.desktop
+share/jumpnbump/jumpbump.dat
+share/metainfo/jumpnbump.appdata.xml
+share/pixmaps/jumpnbump.png
diff --git a/games/jumpnbump/distinfo b/games/jumpnbump/distinfo
new file mode 100644
index 00000000000..249828a376e
--- /dev/null
+++ b/games/jumpnbump/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/01/14 13:28:42 nia Exp $
+
+SHA1 (jumpnbump-1.61.tar.xz) = e7a2dd2e8f4ba418c7596445482163a3663be826
+RMD160 (jumpnbump-1.61.tar.xz) = c34b3fd463ec002b86bd2abd1a2d6e98c53720a5
+SHA512 (jumpnbump-1.61.tar.xz) = 1c5999c6d0d00770416a61803e5dac4742e23d787ba6bec3742517e3eab006efe9448e59f3e84278e224e184a8ac8444c7c766b74374761b1aec7cffdc1708c1
+Size (jumpnbump-1.61.tar.xz) = 309072 bytes
+SHA1 (patch-Makefile) = 4dabc6e994a4d0ec9d8003c39b41348a07cc4877
diff --git a/games/jumpnbump/patches/patch-Makefile b/games/jumpnbump/patches/patch-Makefile
new file mode 100644
index 00000000000..724c8e3b3e1
--- /dev/null
+++ b/games/jumpnbump/patches/patch-Makefile
@@ -0,0 +1,28 @@
+$NetBSD: patch-Makefile,v 1.1 2020/01/14 13:28:42 nia Exp $
+
+Correct man page and icon installation paths.
+
+--- Makefile.orig 2019-09-02 11:30:08.000000000 +0000
++++ Makefile
+@@ -62,8 +62,8 @@ install:
+ mkdir -p $(DESTDIR)$(GAMEDATADIR)/jumpnbump/
+ mkdir -p $(DESTDIR)$(DATADIR)/metainfo/
+ mkdir -p $(DESTDIR)$(DATADIR)/applications/
+- mkdir -p $(DESTDIR)$(DATADIR)/icons/
+- mkdir -p $(DESTDIR)$(DATADIR)/man/man6/
++ mkdir -p $(DESTDIR)$(DATADIR)/pixmaps/
++ mkdir -p $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man6/
+ install -m 755 $(BINARIES) $(DESTDIR)$(BINDIR)/
+ install -m 644 data/jumpbump.dat \
+ $(DESTDIR)$(GAMEDATADIR)/jumpnbump/jumpbump.dat
+@@ -72,8 +72,8 @@ install:
+ install -m 644 dist/jumpnbump.desktop \
+ $(DESTDIR)$(DATADIR)/applications/jumpnbump.desktop
+ install -m 644 dist/jumpnbump.png \
+- $(DESTDIR)$(DATADIR)/icons/jumpnbump.png
+- install -m 644 dist/jumpnbump.6 $(DESTDIR)$(DATADIR)/man/man6/
++ $(DESTDIR)$(DATADIR)/pixmaps/jumpnbump.png
++ install -m 644 dist/jumpnbump.6 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man6/
+
+ # $(MAKE) -C menu install
+