summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/Makefile1
-rw-r--r--games/groundhog/Makefile22
-rw-r--r--games/groundhog/distinfo1
-rw-r--r--games/groundhog/files/patch-src-highscore.cc13
-rw-r--r--games/groundhog/pkg-comment1
-rw-r--r--games/groundhog/pkg-descr3
-rw-r--r--games/groundhog/pkg-plist3
7 files changed, 44 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 778557a00fa6..5ef0052baaa1 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -120,6 +120,7 @@
SUBDIR += gracer
SUBDIR += grande
SUBDIR += greed
+ SUBDIR += groundhog
SUBDIR += gru
SUBDIR += grubinvaders
SUBDIR += gshisen
diff --git a/games/groundhog/Makefile b/games/groundhog/Makefile
new file mode 100644
index 000000000000..343b316d88b1
--- /dev/null
+++ b/games/groundhog/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: groundhog
+# Date created: 23 May 2002
+# Whom: Edwin Groothuis
+#
+# $FreeBSD$
+#
+
+PORTNAME= groundhog
+PORTVERSION= 1.4
+CATEGORIES= games
+MASTER_SITES= http://home-2.tiscali.nl/~cb007736/
+
+MAINTAINER= edwin@mavetju.org
+
+LIB_DEPENDS= gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20 \
+ glib-2.0.0:${PORTSDIR}/devel/glib20
+
+USE_GTK= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/games/groundhog/distinfo b/games/groundhog/distinfo
new file mode 100644
index 000000000000..fc81f9efaac5
--- /dev/null
+++ b/games/groundhog/distinfo
@@ -0,0 +1 @@
+MD5 (groundhog-1.4.tar.gz) = d350b9c214e4f3743d6f992c1fa72124
diff --git a/games/groundhog/files/patch-src-highscore.cc b/games/groundhog/files/patch-src-highscore.cc
new file mode 100644
index 000000000000..334843c380c6
--- /dev/null
+++ b/games/groundhog/files/patch-src-highscore.cc
@@ -0,0 +1,13 @@
+--- src/highscore.cc/old Sat May 4 23:43:58 2002
++++ src/highscore.cc Thu May 23 14:10:49 2002
+@@ -26,6 +26,10 @@
+ std::string filename = getenv("HOME");
+ filename += "/.groundhog.highscore";
+ std::ifstream in(filename.c_str());
++ if (in==NULL) {
++ cout << "Couldn't open highscore file (this is normal the first time the game is ran).\n";
++ return;
++ }
+ in >> _beginner >> _intermediate >> _expert;
+ }
+
diff --git a/games/groundhog/pkg-comment b/games/groundhog/pkg-comment
new file mode 100644
index 000000000000..7fbc8e22e021
--- /dev/null
+++ b/games/groundhog/pkg-comment
@@ -0,0 +1 @@
+Groundhog, a simple logic game
diff --git a/games/groundhog/pkg-descr b/games/groundhog/pkg-descr
new file mode 100644
index 000000000000..f7deb9793b22
--- /dev/null
+++ b/games/groundhog/pkg-descr
@@ -0,0 +1,3 @@
+Groundhog, a simple logic game.
+
+WWW: http://home-2.tiscali.nl/~cb007736/groundhog.html
diff --git a/games/groundhog/pkg-plist b/games/groundhog/pkg-plist
new file mode 100644
index 000000000000..ccb86a05fef2
--- /dev/null
+++ b/games/groundhog/pkg-plist
@@ -0,0 +1,3 @@
+bin/groundhog
+share/locale/fr/LC_MESSAGES/groundhog.mo
+share/locale/nl/LC_MESSAGES/groundhog.mo