From owner-freebsd-ports Sun Feb 14 16:10:14 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA01813 for freebsd-ports-outgoing; Sun, 14 Feb 1999 16:10:14 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA01740 for ; Sun, 14 Feb 1999 16:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id QAA08854; Sun, 14 Feb 1999 16:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from www.giovannelli.it (kirk.giovannelli.it [194.184.65.4] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA01610 for ; Sun, 14 Feb 1999 16:09:42 -0800 (PST) (envelope-from gmarco@giovannelli.it) Received: from suzy (modem19.masternet.it [194.184.65.29]) by www.giovannelli.it (8.8.8/8.8.5) with SMTP id BAA18870 for ; Mon, 15 Feb 1999 01:08:57 +0100 (MET) Message-Id: <4.1.19990215011007.009bef00@194.184.65.4> Date: Mon, 15 Feb 1999 01:17:18 +0100 From: Gianmarco Giovannelli To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/10096: New port: games/xtet42 (update v.2.20 to 2.21) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10096 >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: Sun Feb 14 16:10: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 #0: Sun Feb 14 11:00: 11 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.21. Please report bugs to : Steinar Hamre >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.21.tar.gz) = 20683a78fb3a18c4493f313ee7ce3cd7 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.21. X XPlease report bugs to : Steinar Hamre X X--- X XHomepage: http://www.pvv.ntnu.no/~oyvindmo/xtet42 XDistfile : xtet42-2.21.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 Xlib/X11/xtet42/.xtet42.log 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 Mon Feb 15 00:36:53 1999 X+++ Makefile.in Mon Feb 15 00:41:28 1999 X@@ -24,7 +24,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@@ -37,6 +37,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 Mon Feb 15 00:37:09 1999 X+++ xtet42.c Mon Feb 15 00:39:51 1999 X@@ -67,23 +67,23 @@ X #endif X X #ifndef _Lock X-#define _Lock "/local/games/lib/xtet42/.xtet42.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.21 X# Date created: 14 Feb 1999 X# Whom: gmarco@scotty.masternet.it X# X# $Id$ X# X XDISTNAME= xtet42-2.21 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} -m 664 -g games /dev/null ${PREFIX}/lib/X11/xtet42/.xtet42.log X ${INSTALL_DATA} ${WRKSRC}/xtet42.6 ${PREFIX}/man/man6 X X.include 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