Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  3 Jul 2002 09:24:32 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40128: [new port] games/groundhog
Message-ID:  <20020702232432.6F4966A711E@k7.mavetju>

next in thread | raw e-mail | index | archive | help

>Number:         40128
>Category:       ports
>Synopsis:       [new port] games/groundhog
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 02 16:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 4.5-RELEASE FreeBSD 4.5-RELEASE #3: Mon Mar 11 13:32:05 EST 2002 edwin@k7.mavetju.org:/usr/src/sys/compile/k7 i386

>Description:

Groundhog is a small logic game. It requires GTK2.0

>How-To-Repeat:

n/a

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	games/groundhog/
#	games/groundhog/Makefile
#	games/groundhog/files
#	games/groundhog/files/patch-src-highscore.cc
#	games/groundhog/distinfo
#	games/groundhog/pkg-plist
#	games/groundhog/pkg-comment
#	games/groundhog/pkg-descr
#
echo c - games/groundhog/
mkdir -p games/groundhog/ > /dev/null 2>&1
echo x - games/groundhog/Makefile
sed 's/^X//' >games/groundhog/Makefile << 'END-of-games/groundhog/Makefile'
X# New ports collection makefile for:	groundhog
X# Date created:				23 May 2002
X# Whom:					Edwin Groothuis
X#
X# $FreeBSD$
X#
X
XPORTNAME=	groundhog
XPORTVERSION=	1.4
XCATEGORIES=	games
XMASTER_SITES=	http://home-2.tiscali.nl/~cb007736/
X
XMAINTAINER=	edwin@mavetju.org
X
XLIB_DEPENDS=	gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20		\
X		glib-2.0.0:${PORTSDIR}/devel/glib20
X
XUSE_GTK=	yes
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
X
X.include <bsd.port.mk>
END-of-games/groundhog/Makefile
echo c - games/groundhog/files
mkdir -p games/groundhog/files > /dev/null 2>&1
echo x - games/groundhog/files/patch-src-highscore.cc
sed 's/^X//' >games/groundhog/files/patch-src-highscore.cc << 'END-of-games/groundhog/files/patch-src-highscore.cc'
X--- src/highscore.cc/old	Sat May  4 23:43:58 2002
X+++ src/highscore.cc	Thu May 23 14:10:49 2002
X@@ -26,6 +26,10 @@
X    std::string filename = getenv("HOME");
X    filename += "/.groundhog.highscore";
X    std::ifstream in(filename.c_str());
X+   if (in==NULL) {
X+       cout << "Couldn't open highscore file (this is normal the first time the game is ran).\n";
X+       return;
X+   }
X    in >> _beginner >> _intermediate >> _expert;
X }
X 
END-of-games/groundhog/files/patch-src-highscore.cc
echo x - games/groundhog/distinfo
sed 's/^X//' >games/groundhog/distinfo << 'END-of-games/groundhog/distinfo'
XMD5 (groundhog-1.4.tar.gz) = d350b9c214e4f3743d6f992c1fa72124
END-of-games/groundhog/distinfo
echo x - games/groundhog/pkg-plist
sed 's/^X//' >games/groundhog/pkg-plist << 'END-of-games/groundhog/pkg-plist'
Xbin/groundhog
Xshare/locale/fr/LC_MESSAGES/groundhog.mo
Xshare/locale/nl/LC_MESSAGES/groundhog.mo
END-of-games/groundhog/pkg-plist
echo x - games/groundhog/pkg-comment
sed 's/^X//' >games/groundhog/pkg-comment << 'END-of-games/groundhog/pkg-comment'
XGroundhog, a simple logic game
END-of-games/groundhog/pkg-comment
echo x - games/groundhog/pkg-descr
sed 's/^X//' >games/groundhog/pkg-descr << 'END-of-games/groundhog/pkg-descr'
XGroundhog, a simple logic game.
X
XWWW: http://home-2.tiscali.nl/~cb007736/groundhog.html
END-of-games/groundhog/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020702232432.6F4966A711E>