Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Feb 1999 22:20:45 +0100
From:      Gianmarco Giovannelli <gmarco@giovannelli.it>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9923: New port: games/xtet42
Message-ID:  <4.1.19990205221953.009c3a40@194.184.65.4>

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

>Number:         9923
>Category:       ports
>Synopsis:       New port: games/xtet42
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb  5 13:20:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Gianmarco Giovannelli
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
< Private >
>Environment:

FreeBSD gmarco.eclipse.org 4.0-CURRENT FreeBSD 4.0-CURRENT #5: Fri Feb  5
00:02:
08 CET 1999     gmarco@gmarco.eclipse.org:/usr/src/sys/compile/GMARCO  i386


>Description:

Xtet42 is a one or two player version of Tetris. The game was written
by Hugo Eide Gunnarsen in 1991. The game is very fun and very
addictive. It is also astonishingly pretty to be an old X11-game.

In january 1999 I picked up the code to get rid of a few bugs and
limitations that annoyed me. I also converted the build-mechanism to
GNU autoconf.

The result is xtet42-2.20.


>How-To-Repeat:

>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:
#
#	xtet42
#	xtet42/files
#	xtet42/files/md5
#	xtet42/pkg
#	xtet42/pkg/COMMENT
#	xtet42/pkg/DESCR
#	xtet42/pkg/PLIST
#	xtet42/patches
#	xtet42/patches/patch-aa
#	xtet42/patches/patch-ab
#	xtet42/Makefile
#
echo c - xtet42
mkdir -p xtet42 > /dev/null 2>&1
echo c - xtet42/files
mkdir -p xtet42/files > /dev/null 2>&1
echo x - xtet42/files/md5
sed 's/^X//' >xtet42/files/md5 << 'END-of-xtet42/files/md5'
XMD5 (xtet42-2.20.tar.gz) = 146aa7c750f3f6551f48a538a08b9763
END-of-xtet42/files/md5
echo c - xtet42/pkg
mkdir -p xtet42/pkg > /dev/null 2>&1
echo x - xtet42/pkg/COMMENT
sed 's/^X//' >xtet42/pkg/COMMENT << 'END-of-xtet42/pkg/COMMENT'
Xa one or two players tetris game.
END-of-xtet42/pkg/COMMENT
echo x - xtet42/pkg/DESCR
sed 's/^X//' >xtet42/pkg/DESCR << 'END-of-xtet42/pkg/DESCR'
XXtet42 is a one or two player version of Tetris. The game was written
Xby Hugo Eide Gunnarsen in 1991. The game is very fun and very
Xaddictive. It is also astonishingly pretty to be an old X11-game.
X
XIn january 1999 I picked up the code to get rid of a few bugs and
Xlimitations that annoyed me. I also converted the build-mechanism to
XGNU autoconf.
X
XThe result is xtet42-2.20.
X
XPlease report bugs to : Steinar Hamre <steinarh@pvv.ntnu.no>
X
X---
X
XHomepage: http://www.pvv.ntnu.no/~oyvindmo/xtet42
XDistfile : xtet42-2.20.tar.gz (38kb)
X
X- ported to FreeBSD by Gianmarco (gmarco@giovannelli.it)
END-of-xtet42/pkg/DESCR
echo x - xtet42/pkg/PLIST
sed 's/^X//' >xtet42/pkg/PLIST << 'END-of-xtet42/pkg/PLIST'
Xbin/xtet42
Xlib/X11/xtet42/.xtet42.hiscore.single
Xlib/X11/xtet42/.xtet42.hiscore
Xlib/X11/xtet42/.xtet42.unlock
X@dirrm lib/X11/xtet42
END-of-xtet42/pkg/PLIST
echo c - xtet42/patches
mkdir -p xtet42/patches > /dev/null 2>&1
echo x - xtet42/patches/patch-aa
sed 's/^X//' >xtet42/patches/patch-aa << 'END-of-xtet42/patches/patch-aa'
X--- Makefile.in.orig	Tue Feb  2 00:10:18 1999
X+++ Makefile.in	Fri Feb  5 13:39:57 1999
X@@ -23,7 +23,7 @@
X libdir = @libdir@
X localstatedir = @localstatedir@
X mandir = @mandir@
X-hiscoredir = $(localstatedir)/$(PACKAGE)
X+hiscoredir = $(PREFIX)/lib/X11/$(PACKAGE)
X 
X _Ver		= $(VERSION)
X _Lock		= $(hiscoredir)/.xtet42.lock
X@@ -36,6 +36,8 @@
X 	-D_Hiscore=\"$(_Hiscore)\" 	-D_Hione=\"$(_Hione)\" \
X 	-D_Log=\"$(_Log)\" -D_Ver=\"$(_Ver)\"
X 
X+
X+all: xtet42
X 
X xtet42: $(OBJS)
X 	$(CC) $(LDFLAGS) -o xtet42 $(OBJS)
END-of-xtet42/patches/patch-aa
echo x - xtet42/patches/patch-ab
sed 's/^X//' >xtet42/patches/patch-ab << 'END-of-xtet42/patches/patch-ab'
X--- xtet42.c.orig	Tue Feb  2 12:49:52 1999
X+++ xtet42.c	Fri Feb  5 20:20:18 1999
X@@ -66,24 +66,24 @@
X #define _Ver "Test version"
X #endif
X 
X-#ifndef _Lock 
X-#define _Lock "/local/games/lib/xtet42/.xtet42.lock"
X+#ifndef _Lock
X+#define _Lock "/usr/X11R6/lib/X11/xtet42/.xtet42.lock"
X #endif
X 
X #ifndef _Unlock
X-#define _Unlock "/local/games/lib/xtet42/.xtet42.unlock"
X+#define _Unlock "/usr/X11R6/lib/X11/xtet42/.xtet42.unlock"
X #endif
X 
X #ifndef _Log
X-#define _Log "/local/games/lib/xtet42/.xtet42.log"
X+#define _Log "/usr/X11R6/lib/X11/xtet42/.xtet42.log"
X #endif
X 
X #ifndef _Hiscore
X-#define _Hiscore "/local/games/lib/xtet42/.xtet42.hiscore"
X+#define _Hiscore "/usr/X11R6/lib/X11/xtet42/.xtet42.hiscore"
X #endif
X 
X #ifndef _Hione
X-#define _Hione "/local/games/lib/xtet42/.xtet42.hiscore.single"
X+#define _Hione "/usr/X11R6/lib/X11/xtet42/.xtet42.hiscore.single"
X #endif
X 
X static int bricks[7][4][4][4]=
END-of-xtet42/patches/patch-ab
echo x - xtet42/Makefile
sed 's/^X//' >xtet42/Makefile << 'END-of-xtet42/Makefile'
X# New ports collection makefile for:   xtet42
X# Version required:    2.20
X# Date created:        04 Feb 1999
X# Whom:                gmarco@scotty.masternet.it
X#
X# $Id$
X#
X
XDISTNAME= 	xtet42-2.20
XCATEGORIES=	games
XMASTER_SITES= http://www.pvv.ntnu.no/~oyvindmo/xtet42/
X
XMAINTAINER= freebsd@scotty.masternet.it
X
XUSE_XLIB= yes
XUSE_X_PREFIX= yes
XHAS_CONFIGURE= yes
XCONFIGURE_ARGS= --enable-setgid=games
X
XMAN6= xtet42.6
X
Xdo-install:
X	${MKDIR} ${PREFIX}/lib/X11/xtet42
X	@chown games:games ${PREFIX}/lib/X11/xtet42
X	@chmod 775 ${PREFIX}/lib/X11/xtet42
X	${INSTALL} -m 2755 -g games  ${WRKSRC}/xtet42 ${PREFIX}/bin
X	${INSTALL} -m 664  -g games  ${WRKSRC}/xtet42.hiscore
${PREFIX}/lib/X11/xtet42/.xtet42.hiscore
X	${INSTALL} -m 664  -g games  ${WRKSRC}/xtet42.hiscore.single
${PREFIX}/lib/X11/xtet42/.xtet42.hiscore.single
X	${INSTALL} -m 664  -g games  /dev/null
${PREFIX}/lib/X11/xtet42/.xtet42.unlock
X	${INSTALL_DATA} ${WRKSRC}/xtet42.6 ${PREFIX}/man/man6
X
X.include <bsd.port.mk>
END-of-xtet42/Makefile
exit



Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://www.giovannelli.it/~gmarco  
http://www2.masternet.it 



>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?4.1.19990205221953.009c3a40>