Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 1999 10:28:18 +0400 (MSD)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13328: Update port: games/gltron
Message-ID:  <199908230628.KAA33907@icc.surw.chel.su>

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

>Number:         13328
>Category:       ports
>Synopsis:       Update port: games/gltron
>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 Aug 22 23:30:01 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 patch to update games/gltron port.


diff -Nru gltron/Makefile gltron-0.42/Makefile
--- gltron/Makefile	Sun Aug  1 08:17:35 1999
+++ gltron-0.42/Makefile	Mon Aug 23 10:16:51 1999
@@ -1,13 +1,13 @@
 # New ports collection makefile for:	gltron
-# Version required:			0.32
+# Version required:			0.42
 # Date created:				24 July 1999
 # Whom:					Andrey Zakhvatov
 #
 # $Id: Makefile,v 1.1.1.1 1999/08/01 04:17:35 cpiazza Exp $
 #
 
-DISTNAME=	glTron-0.32
-PKGNAME=	gltron-0.32
+DISTNAME=	glTron-0.42
+PKGNAME=	gltron-0.42
 CATEGORIES=	games
 MASTER_SITES=	http://www.ards.net/Andreas/
 
@@ -25,7 +25,9 @@
 post-install:
 .if !defined(NOPORTDOCS)
 	@ ${MKDIR} ${PREFIX}/share/doc/gltron
-	@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gltron
+.for file in CHANGELOG CREDITS README
+	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gltron
+.endfor
 .endif
 
 .include <bsd.port.mk>
diff -Nru gltron/files/md5 gltron-0.42/files/md5
--- gltron/files/md5	Sun Aug  1 08:17:36 1999
+++ gltron-0.42/files/md5	Mon Aug 23 10:13:55 1999
@@ -1 +1 @@
-MD5 (glTron-0.32.tar.gz) = d194405f24692c540c8d81f33e493bfc
+MD5 (glTron-0.42.tar.gz) = cbfe8bf65963248001c58c0fa167c4a2
diff -Nru gltron/patches/patch-aa gltron-0.42/patches/patch-aa
--- gltron/patches/patch-aa	Sun Aug  1 08:17:36 1999
+++ gltron-0.42/patches/patch-aa	Mon Aug 23 10:22:57 1999
@@ -1,6 +1,6 @@
---- Makefile	Fri Jul 23 14:02:24 1999
-+++ /home/andy/tmp/wrk/Makefile	Sat Jul 24 16:30:58 1999
-@@ -1,12 +1,12 @@
+--- Makefile	Sun Aug 22 23:00:24 1999
++++ /home/andy/tmp/wrk/Makefile	Mon Aug 23 10:22:43 1999
+@@ -1,10 +1,11 @@
  # Makefile for gltron
  
 -XLIBS = -L/usr/X11/lib -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -lm
@@ -9,11 +9,15 @@
 -GL_LIBS = -lMesaGL -lMesaGLU -lglut $(XLIBS)
 +GL_LIBS = -lMesaGL -lMesaGLU -lglut
  
--CC = gcc -g
-+#CC = gcc -g
+-CC = gcc
++CFLAGS+= -I$(X11BASE)/include
++CC ?= gcc
+ DEBUG = -g -pedantic
+ # RELEASE = -O2 -pedantic crashes (why?)
+ RELEASE = -pedantic
+@@ -15,4 +16,4 @@
+ 	$(CC) $(DEBUG) -o gltron gltron.c $(GL_LIBS) $(XLIBS)
  
- all: gltron
- 
- gltron: gltron.c gltron.h
--	$(CC) -o gltron gltron.c $(GL_LIBS) $(XLIBS)
-+	$(CC) -o gltron gltron.c -I$(X11BASE)/include $(GL_LIBS) $(XLIBS)
+ gltron: gltron.c gltron.h gltron_tex.h gltron_wall.h
+-	$(CC) $(RELEASE) -o gltron gltron.c $(GL_LIBS) $(XLIBS)
++	$(CC) $(CFLAGS) -o gltron gltron.c $(GL_LIBS) $(XLIBS)
diff -Nru gltron/pkg/PLIST gltron-0.42/pkg/PLIST
--- gltron/pkg/PLIST	Sun Aug  1 08:17:36 1999
+++ gltron-0.42/pkg/PLIST	Mon Aug 23 10:17:19 1999
@@ -1,3 +1,5 @@
 bin/gltron
+share/doc/gltron/CHANGELOG
+share/doc/gltron/CREDITS
 share/doc/gltron/README
 @dirrm share/doc/gltron


>How-To-Repeat:

>Fix:

   Please, check and apply this patch.


>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?199908230628.KAA33907>