diff options
author | kevlo <kevlo@FreeBSD.org> | 2002-08-30 16:48:33 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2002-08-30 16:48:33 +0800 |
commit | 4a85b639f8945a742dcfd85a81510780e886e3b5 (patch) | |
tree | 3a197dcd8deb860797ffc38ed9f56bfa24181374 /games/groundhog | |
parent | ee2d70fd549652c18fcb82128040ebe6c9893ead (diff) | |
download | freebsd-ports-graphics-4a85b639f8945a742dcfd85a81510780e886e3b5.tar.gz freebsd-ports-graphics-4a85b639f8945a742dcfd85a81510780e886e3b5.tar.zst freebsd-ports-graphics-4a85b639f8945a742dcfd85a81510780e886e3b5.zip |
Initial import of groundhog 1.4.
Groundhog is a small logic game.
PR: 40128
Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'games/groundhog')
-rw-r--r-- | games/groundhog/Makefile | 22 | ||||
-rw-r--r-- | games/groundhog/distinfo | 1 | ||||
-rw-r--r-- | games/groundhog/files/patch-src-highscore.cc | 13 | ||||
-rw-r--r-- | games/groundhog/pkg-comment | 1 | ||||
-rw-r--r-- | games/groundhog/pkg-descr | 3 | ||||
-rw-r--r-- | games/groundhog/pkg-plist | 3 |
6 files changed, 43 insertions, 0 deletions
diff --git a/games/groundhog/Makefile b/games/groundhog/Makefile new file mode 100644 index 00000000000..343b316d88b --- /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 00000000000..fc81f9efaac --- /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 00000000000..334843c380c --- /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 00000000000..7fbc8e22e02 --- /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 00000000000..f7deb9793b2 --- /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 00000000000..ccb86a05fef --- /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 |