summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorwiz <wiz>2010-03-01 11:15:47 +0000
committerwiz <wiz>2010-03-01 11:15:47 +0000
commit621e18383b740cdac4b0a02bcb6c37fe0bab128e (patch)
tree00cd5fcd1171d622bb1a4994ea85a9b0aa856110 /games
parentbbb81e376eb64402aef4564953c8ca60940cac34 (diff)
downloadpkgsrc-621e18383b740cdac4b0a02bcb6c37fe0bab128e.tar.gz
Initial import of hex-a-hop-1.1.0:
Hex-a-Hop is a hexagonal tile-based puzzle game with one simple goal: destroy all green tiles! There are infinite undos and no time limits -- you just have to find a way to destroy all the green tiles and step on a safe tile at the end.
Diffstat (limited to 'games')
-rw-r--r--games/hex-a-hop/DESCR4
-rw-r--r--games/hex-a-hop/Makefile22
-rw-r--r--games/hex-a-hop/PLIST34
-rw-r--r--games/hex-a-hop/distinfo7
-rw-r--r--games/hex-a-hop/patches/patch-aa13
-rw-r--r--games/hex-a-hop/patches/patch-ab13
6 files changed, 93 insertions, 0 deletions
diff --git a/games/hex-a-hop/DESCR b/games/hex-a-hop/DESCR
new file mode 100644
index 00000000000..2a8ac91e41b
--- /dev/null
+++ b/games/hex-a-hop/DESCR
@@ -0,0 +1,4 @@
+Hex-a-Hop is a hexagonal tile-based puzzle game with one simple
+goal: destroy all green tiles! There are infinite undos and no time
+limits -- you just have to find a way to destroy all the green
+tiles and step on a safe tile at the end.
diff --git a/games/hex-a-hop/Makefile b/games/hex-a-hop/Makefile
new file mode 100644
index 00000000000..e3ae069b4bf
--- /dev/null
+++ b/games/hex-a-hop/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/03/01 11:15:47 wiz Exp $
+#
+
+DISTNAME= hex-a-hop-1.1.0
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hexahop/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://hexahop.sourceforge.net/
+COMMENT= Hexagonal tile-based puzzle game
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../devel/SDL_ttf/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/hex-a-hop/PLIST b/games/hex-a-hop/PLIST
new file mode 100644
index 00000000000..1009caa4a59
--- /dev/null
+++ b/games/hex-a-hop/PLIST
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/01 11:15:47 wiz Exp $
+bin/hex-a-hop
+share/hex-a-hop/emi.dat
+share/hex-a-hop/font.dat
+share/hex-a-hop/font.ttf
+share/hex-a-hop/gradient.dat
+share/hex-a-hop/icon.bmp
+share/hex-a-hop/levels.dat
+share/hex-a-hop/map.dat
+share/hex-a-hop/map_top.dat
+share/hex-a-hop/music-ending-nonfree.ogg
+share/hex-a-hop/music-game-nonfree-1.ogg
+share/hex-a-hop/music-game-nonfree.ogg
+share/hex-a-hop/sound-builder-nonfree.ogg
+share/hex-a-hop/sound-collapse-nonfree.ogg
+share/hex-a-hop/sound-crack.ogg
+share/hex-a-hop/sound-death.ogg
+share/hex-a-hop/sound-explode-big.ogg
+share/hex-a-hop/sound-explode-small.ogg
+share/hex-a-hop/sound-floater-enter.ogg
+share/hex-a-hop/sound-found-antiice-nonfree.ogg
+share/hex-a-hop/sound-found-jump-nonfree.ogg
+share/hex-a-hop/sound-ice.ogg
+share/hex-a-hop/sound-laser.ogg
+share/hex-a-hop/sound-lift-down-nonfree.ogg
+share/hex-a-hop/sound-lift-up-nonfree.ogg
+share/hex-a-hop/sound-spinner-nonfree.ogg
+share/hex-a-hop/sound-trampoline.ogg
+share/hex-a-hop/sound-used-antiice.ogg
+share/hex-a-hop/sound-used-jump.ogg
+share/hex-a-hop/sound-win.ogg
+share/hex-a-hop/tiles.dat
+share/hex-a-hop/tiles_reflect.dat
+share/hex-a-hop/title.dat
diff --git a/games/hex-a-hop/distinfo b/games/hex-a-hop/distinfo
new file mode 100644
index 00000000000..0dcdba27cdd
--- /dev/null
+++ b/games/hex-a-hop/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/03/01 11:15:47 wiz Exp $
+
+SHA1 (hex-a-hop-1.1.0.tar.gz) = 5e1994caaa4974ba87bb5676aed1e44c81dec85d
+RMD160 (hex-a-hop-1.1.0.tar.gz) = af89e8da428d8b79e71a77b9750a10b1b303b9e4
+Size (hex-a-hop-1.1.0.tar.gz) = 9249269 bytes
+SHA1 (patch-aa) = 6282509134e3b3057a60f972ead66f8e010c74bf
+SHA1 (patch-ab) = ad560c67520e3be4eba657c60713e25e4c24f2a6
diff --git a/games/hex-a-hop/patches/patch-aa b/games/hex-a-hop/patches/patch-aa
new file mode 100644
index 00000000000..eedfdac2ee8
--- /dev/null
+++ b/games/hex-a-hop/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/03/01 11:15:47 wiz Exp $
+
+--- src/text.cpp.orig 2009-10-02 22:26:15.000000000 +0000
++++ src/text.cpp
+@@ -441,7 +441,7 @@ void ConvertToUTF8(const std::string &te
+ iconv_t cd = iconv_open("UTF-8", locale_enc);
+ char *in_buf = const_cast<char *>(&text_locally_encoded[0]);
+ char *out_buf = &text_utf8[0];
+- iconv(cd, &in_buf, &text_length, &out_buf, &text_utf8_length);
++ iconv(cd, (const char **)&in_buf, &text_length, &out_buf, &text_utf8_length);
+ iconv_close(cd);
+ if (errno != 0)
+ std::cerr << "An error occurred recoding " << text_locally_encoded << " to UTF8" << std::endl;
diff --git a/games/hex-a-hop/patches/patch-ab b/games/hex-a-hop/patches/patch-ab
new file mode 100644
index 00000000000..c142cc2ae6b
--- /dev/null
+++ b/games/hex-a-hop/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2010/03/01 11:15:47 wiz Exp $
+
+--- src/Makefile.in.orig 2009-11-01 11:09:08.000000000 +0000
++++ src/Makefile.in
+@@ -313,7 +313,7 @@ dat2bmp$(EXEEXT): $(dat2bmp_OBJECTS) $(d
+ $(LINK) $(dat2bmp_OBJECTS) $(dat2bmp_LDADD) $(LIBS)
+ hex-a-hop$(EXEEXT): $(hex_a_hop_OBJECTS) $(hex_a_hop_DEPENDENCIES)
+ @rm -f hex-a-hop$(EXEEXT)
+- $(CXXLINK) $(hex_a_hop_OBJECTS) $(hex_a_hop_LDADD) $(LIBS)
++ $(CXXLINK) $(hex_a_hop_OBJECTS) $(hex_a_hop_LDADD) $(LIBS) -lintl
+
+ mostlyclean-compile:
+ -rm -f *.$(OBJEXT)