Date: Sat, 24 Jul 1999 16:46:42 +0400 (MSD) From: Andrey Zakhvatov <andy@icc.surw.chel.su> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12788: New port: gltron-0.31 Message-ID: <199907241246.QAA54407@icc.surw.chel.su>
next in thread | raw e-mail | index | archive | help
>Number: 12788 >Category: ports >Synopsis: New port: gltron-0.31 >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: Sat Jul 24 05:50:03 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Andrey Zakhvatov >Release: FreeBSD 3.1-RELEASE i386 >Organization: South Ural Railway ICC >Environment: >Description: This is a port of 3D worm game for two players for X Window System Objective for game is not to drive into a wall. # 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: # # gltron-0.31 # gltron-0.31/Makefile # gltron-0.31/files # gltron-0.31/files/md5 # gltron-0.31/pkg # gltron-0.31/pkg/PLIST # gltron-0.31/pkg/COMMENT # gltron-0.31/pkg/DESCR # gltron-0.31/patches # gltron-0.31/patches/patch-aa # gltron-0.31/patches/patch-ab # echo c - gltron-0.31 mkdir -p gltron-0.31 > /dev/null 2>&1 echo x - gltron-0.31/Makefile sed 's/^X//' >gltron-0.31/Makefile << 'END-of-gltron-0.31/Makefile' X# New ports collection makefile for: gltron X# Version required: 0.31 X# Date created: 24 July 1999 X# Whom: Andrey Zakhvatov X# X# $Id$ X# X XDISTNAME= glTron-0.31 XPKGNAME= gltron-0.31 XCATEGORIES= games XMASTER_SITES= http://www.ards.net/Andreas/ X XMAINTAINER= andy@icc.surw.chel.su X XLIB_DEPENDS= MesaGL\\.14\\.:${PORTSDIR}/graphics/Mesa3 \ X MesaGLU\\.14\\.:${PORTSDIR}/graphics/Mesa3 \ X glut\\.3\\.:${PORTSDIR}/graphics/Mesa3 X XUSE_X11= yes X Xdo-install: X @ ${INSTALL_PROGRAM} ${WRKSRC}/gltron ${PREFIX}/bin X Xpost-install: X.if !defined(NOPORTDOCS) X @ ${MKDIR} ${PREFIX}/share/doc/gltron X @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gltron X.endif X X.include <bsd.port.mk> END-of-gltron-0.31/Makefile echo c - gltron-0.31/files mkdir -p gltron-0.31/files > /dev/null 2>&1 echo x - gltron-0.31/files/md5 sed 's/^X//' >gltron-0.31/files/md5 << 'END-of-gltron-0.31/files/md5' XMD5 (glTron-0.31.tar.gz) = e521ed8e2ddcbad9b98ea42f0167b95f END-of-gltron-0.31/files/md5 echo c - gltron-0.31/pkg mkdir -p gltron-0.31/pkg > /dev/null 2>&1 echo x - gltron-0.31/pkg/PLIST sed 's/^X//' >gltron-0.31/pkg/PLIST << 'END-of-gltron-0.31/pkg/PLIST' Xbin/gltron Xshare/doc/gltron/README X@dirrm share/doc/gltron END-of-gltron-0.31/pkg/PLIST echo x - gltron-0.31/pkg/COMMENT sed 's/^X//' >gltron-0.31/pkg/COMMENT << 'END-of-gltron-0.31/pkg/COMMENT' XA 3D worm game for two players for X Window System END-of-gltron-0.31/pkg/COMMENT echo x - gltron-0.31/pkg/DESCR sed 's/^X//' >gltron-0.31/pkg/DESCR << 'END-of-gltron-0.31/pkg/DESCR' XObjective for game is not to drive into a wall. X XWWW: http://www.ards.net/Andreas/gltron.html END-of-gltron-0.31/pkg/DESCR echo c - gltron-0.31/patches mkdir -p gltron-0.31/patches > /dev/null 2>&1 echo x - gltron-0.31/patches/patch-aa sed 's/^X//' >gltron-0.31/patches/patch-aa << 'END-of-gltron-0.31/patches/patch-aa' X--- Makefile Fri Jul 23 14:02:24 1999 X+++ /home/andy/tmp/wrk/Makefile Sat Jul 24 16:30:58 1999 X@@ -1,12 +1,12 @@ X # Makefile for gltron X X-XLIBS = -L/usr/X11/lib -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -lm X+XLIBS = -L$(X11BASE)/lib -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -lm X X-GL_LIBS = -lMesaGL -lMesaGLU -lglut $(XLIBS) X+GL_LIBS = -lMesaGL -lMesaGLU -lglut X X-CC = gcc -g X+#CC = gcc -g X X all: gltron X X gltron: gltron.c gltron.h X- $(CC) -o gltron gltron.c $(GL_LIBS) $(XLIBS) X+ $(CC) -o gltron gltron.c -I$(X11BASE)/include $(GL_LIBS) $(XLIBS) END-of-gltron-0.31/patches/patch-aa echo x - gltron-0.31/patches/patch-ab sed 's/^X//' >gltron-0.31/patches/patch-ab << 'END-of-gltron-0.31/patches/patch-ab' X--- gltron.c Fri Jul 23 14:29:57 1999 X+++ /home/andy/tmp/wrk/gltron.c Sat Jul 24 16:32:48 1999 X@@ -17,6 +17,9 @@ X */ X X #include "gltron.h" X+#ifdef __FreeBSD__ X+#include <floatingpoint.h> X+#endif X X void setCol(int x, int y) { X int offset, mask; X@@ -669,6 +672,9 @@ X X int win_id; X X+#ifdef __FreeBSD__ X+ fpsetmask(0); X+#endif X glutInit(&argc, argv); X glutInitWindowSize(WIN_WIDTH, WIN_HEIGHT); X glutInitWindowPosition(0, 0); END-of-gltron-0.31/patches/patch-ab exit >How-To-Repeat: >Fix: Please, check and commit this port. >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?199907241246.QAA54407>