From owner-freebsd-ports Sun Mar 29 20:30:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA27544 for freebsd-ports-outgoing; Sun, 29 Mar 1998 20:30:34 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA27457; Sun, 29 Mar 1998 20:30:19 -0800 (PST) (envelope-from gnats) Received: from rich.chel.su (root@mobil.surnet.ru [195.54.2.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA24457 for ; Sun, 29 Mar 1998 20:23:48 -0800 (PST) (envelope-from andy@icc.surw.chel.su) Received: from icc.surw.chel.su (surw.chel.su [195.54.2.162]) by rich.chel.su (8.7.2/Murphy) with ESMTP id KAA27730 for ; Mon, 30 Mar 1998 10:20:12 +0600 (UDT) Received: (from andy@localhost) by icc.surw.chel.su (8.8.5/8.8.4) id IAA20989; Mon, 30 Mar 1998 08:22:51 +0400 (MSD) Message-Id: <199803300422.IAA20989@icc.surw.chel.su> Date: Mon, 30 Mar 1998 08:22:51 +0400 (MSD) From: Andrey Zakhvatov Reply-To: andy@icc.surw.chel.su To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/6171: New port: xtron-1.1a Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6171 >Category: ports >Synopsis: New port: xtron-1.1a >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: Sun Mar 29 20:30:03 PST 1998 >Last-Modified: >Originator: Andrey Zakhvatov >Organization: South Ural Railway ICC >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: >Description: This is a port of Tron game for X Window. Xtron is a simple one or two player version of the old classic TRON. The game is simple: avoid running into walls, your own tail, and that of your opponent. # 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: # # xtron-1.1a # xtron-1.1a/Makefile # xtron-1.1a/files # xtron-1.1a/files/md5 # xtron-1.1a/patches # xtron-1.1a/patches/patch-ab # xtron-1.1a/patches/patch-aa # xtron-1.1a/patches/patch-ac # xtron-1.1a/pkg # xtron-1.1a/pkg/PLIST # xtron-1.1a/pkg/COMMENT # xtron-1.1a/pkg/DESCR # echo c - xtron-1.1a mkdir -p xtron-1.1a > /dev/null 2>&1 echo x - xtron-1.1a/Makefile sed 's/^X//' >xtron-1.1a/Makefile << 'END-of-xtron-1.1a/Makefile' X# New ports collection makefile for: xtron X# Version required: 1.1a X# Date created: 29 March 1998 X# Whom: Andrey Zakhvatov X# X# $Id$ X# X XDISTNAME= xtron-1.1a XCATEGORIES= games x11 XMASTER_SITES= ${MASTER_SITE_SUNSITE} XMASTER_SITE_SUBDIR= games/arcade XEXTRACT_SUFX= .tgz X XMAINTAINER= andy@icc.surw.chel.su X XLIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm X XUSE_X11= yes X Xdo-install: X @ ${INSTALL_PROGRAM} ${WRKSRC}/xtron ${PREFIX}/bin X @ ${MKDIR} ${PREFIX}/share/xtron X @ ${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${PREFIX}/share/xtron X @ ${INSTALL_DATA} ${WRKSRC}/xtronrc ${PREFIX}/lib/X11/app-defaults/Tron X @ ${MKDIR} ${PREFIX}/share/doc/xtron X.for file in CHANGES COPYING README X @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xtron X.endfor X X.include END-of-xtron-1.1a/Makefile echo c - xtron-1.1a/files mkdir -p xtron-1.1a/files > /dev/null 2>&1 echo x - xtron-1.1a/files/md5 sed 's/^X//' >xtron-1.1a/files/md5 << 'END-of-xtron-1.1a/files/md5' XMD5 (xtron-1.1a.tgz) = 1f15c9cb5a03ac740d62cea3f876da60 END-of-xtron-1.1a/files/md5 echo c - xtron-1.1a/patches mkdir -p xtron-1.1a/patches > /dev/null 2>&1 echo x - xtron-1.1a/patches/patch-ab sed 's/^X//' >xtron-1.1a/patches/patch-ab << 'END-of-xtron-1.1a/patches/patch-ab' X--- resource.c Sun Apr 23 22:39:03 1995 X+++ /home/andy/tmp/wrk/resource.c Sun Mar 29 23:05:40 1998 X@@ -101,7 +101,7 @@ X if ((XTRONresources = XrmGetFileDatabase("./.xtronrc")) == NULL) { X if ((XTRONresources = XrmGetFileDatabase("$HOME/xtronrc")) == NULL) { X if ((XTRONresources = XrmGetFileDatabase("$HOME/.xtronrc")) == NULL) { X- if ((XTRONresources = XrmGetFileDatabase("/usr/X11/lib/X11/app-defaults/xtronrc")) == NULL) { X+ if ((XTRONresources = XrmGetFileDatabase("/usr/X11R6/lib/X11/app-defaults/Tron")) == NULL) { X if ((XTRONresources = XrmGetFileDatabase("/usr/X11/lib/X11/app-defaults/.xtronrc")) == NULL) { X fprintf(stderr,"error: unable to open/read resource file xtronrc\n"); X return(0); END-of-xtron-1.1a/patches/patch-ab echo x - xtron-1.1a/patches/patch-aa sed 's/^X//' >xtron-1.1a/patches/patch-aa << 'END-of-xtron-1.1a/patches/patch-aa' X--- Makefile Sun Apr 16 13:26:00 1995 X+++ /home/andy/tmp/wrk/Makefile Sun Mar 29 23:08:24 1998 X@@ -20,8 +20,8 @@ X # X CC= gcc X CFLAGS= -O4 -Wall X-INCLUDES= -I/usr/X386/include/X11 -I/usr/include X-LIBS= -L/usr/X386/lib X+INCLUDES= -I/usr/X11R6/include -I/usr/X11R6/include/X11 X+LIBS= -L/usr/X11R6/lib X LDLIBS= -lXpm -lX11 X DEPEND= makedepend X OBJS= wintype.o xtron.o main.o xpm2pixmap.o resource.o END-of-xtron-1.1a/patches/patch-aa echo x - xtron-1.1a/patches/patch-ac sed 's/^X//' >xtron-1.1a/patches/patch-ac << 'END-of-xtron-1.1a/patches/patch-ac' X--- xtronrc Sun Apr 23 22:53:22 1995 X+++ /home/andy/tmp/wrk/xtronrc Sun Mar 29 23:27:25 1998 X@@ -3,7 +3,7 @@ X # in the user's home directory or in /usr/X11/lib/X11/app-defaults. X # you can also rename it .xtronrc if you prefer it to be hidden X # make sure that the pixmaps directory has a trailing / at the end X-xtron.PixmapsDIR: ./pixmaps/ X+xtron.PixmapsDIR: /usr/X11R6/share/xtron/ X X # change these key settings for player 1 [RED] X xtron.player1UP: w END-of-xtron-1.1a/patches/patch-ac echo c - xtron-1.1a/pkg mkdir -p xtron-1.1a/pkg > /dev/null 2>&1 echo x - xtron-1.1a/pkg/PLIST sed 's/^X//' >xtron-1.1a/pkg/PLIST << 'END-of-xtron-1.1a/pkg/PLIST' Xbin/xtron Xlib/X11/app-defaults/Tron Xshare/doc/xtron/CHANGES Xshare/doc/xtron/COPYING Xshare/doc/xtron/README Xshare/xtron/Xtron_icon.xpm Xshare/xtron/again.xpm Xshare/xtron/againr.xpm Xshare/xtron/back.xpm Xshare/xtron/comprr.xpm Xshare/xtron/computer.xpm Xshare/xtron/human.xpm Xshare/xtron/humanr.xpm Xshare/xtron/p1.xpm Xshare/xtron/p2.xpm Xshare/xtron/p3.xpm Xshare/xtron/pause.xpm Xshare/xtron/pauser.xpm Xshare/xtron/quit.xpm Xshare/xtron/quitr.xpm Xshare/xtron/score.xpm Xshare/xtron/scorer.xpm X@dirrm share/doc/xtron X@dirrm share/xtron END-of-xtron-1.1a/pkg/PLIST echo x - xtron-1.1a/pkg/COMMENT sed 's/^X//' >xtron-1.1a/pkg/COMMENT << 'END-of-xtron-1.1a/pkg/COMMENT' XAvoid running into walls, your own tail, and that of your opponent. END-of-xtron-1.1a/pkg/COMMENT echo x - xtron-1.1a/pkg/DESCR sed 's/^X//' >xtron-1.1a/pkg/DESCR << 'END-of-xtron-1.1a/pkg/DESCR' X Xtron is a simple one or two player version of the old Xclassic TRON. The game is simple: avoid running into walls, Xyour own tail, and that of your opponent. END-of-xtron-1.1a/pkg/DESCR exit >How-To-Repeat: >Fix: Please, check and commit this port. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message