From 0be1c5829c952dd2ac6e1dde711dbd0a36a29b5a Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Fri, 30 Aug 2002 08:48:33 +0000 Subject: Initial import of groundhog 1.4. Groundhog is a small logic game. PR: 40128 Submitted by: Edwin Groothuis --- games/groundhog/Makefile | 22 ++++++++++++++++++++++ games/groundhog/distinfo | 1 + games/groundhog/files/patch-src-highscore.cc | 13 +++++++++++++ games/groundhog/pkg-comment | 1 + games/groundhog/pkg-descr | 3 +++ games/groundhog/pkg-plist | 3 +++ 6 files changed, 43 insertions(+) create mode 100644 games/groundhog/Makefile create mode 100644 games/groundhog/distinfo create mode 100644 games/groundhog/files/patch-src-highscore.cc create mode 100644 games/groundhog/pkg-comment create mode 100644 games/groundhog/pkg-descr create mode 100644 games/groundhog/pkg-plist (limited to 'games/groundhog') 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 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 -- cgit v1.2.3