Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 17:07:12 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/26231: Update port: games/xroads
Message-ID:  <200103310107.f2V17Cj20414@freefall.freebsd.org>

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

>Number:         26231
>Category:       ports
>Synopsis:       Update port: games/xroads
>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:   Fri Mar 30 17:10:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Change install path of data files
- Add PORTDOCS to pkg-plist

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/games/xroads/Makefile games/xroads/Makefile
--- /usr/ports/games/xroads/Makefile	Thu Jun 22 19:09:51 2000
+++ games/xroads/Makefile	Fri Mar 30 21:23:51 2001
@@ -7,24 +7,23 @@
 
 PORTNAME=	xroads
 PORTVERSION=	0.6
+PORTREVISION=	1
 CATEGORIES=	games
-MASTER_SITES=	http://www.autobahn.mb.ca/~foxtrot/ \
-		http://supernova.dyn.ml.org/
+MASTER_SITES=	http://linux.tucows.com/files/x11/entertain/
 DISTNAME=	${PORTNAME}-v${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 
 USE_X_PREFIX=	yes
-FETCH_BEFORE_ARGS=	-t -b
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/xroads ${PREFIX}/bin
-	${MKDIR} ${PREFIX}/share/games/xroads
+	@${MKDIR} ${PREFIX}/share/xroads
 .for file in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18
-	${INSTALL_DATA} ${WRKSRC}/map${file}.xrm ${PREFIX}/share/games/xroads
+	${INSTALL_DATA} ${WRKSRC}/map${file}.xrm ${PREFIX}/share/xroads
 .endfor
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/xroads
+	@${MKDIR} ${PREFIX}/share/doc/xroads
 .for file in BUGS CHANGELOG README
 	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xroads
 .endfor
diff -urN /usr/ports/games/xroads/files/patch-aa games/xroads/files/patch-aa
--- /usr/ports/games/xroads/files/patch-aa	Sat May 20 13:56:55 2000
+++ games/xroads/files/patch-aa	Fri Mar 30 21:19:25 2001
@@ -1,5 +1,5 @@
---- Makefile	Fri Jul 16 21:37:03 1999
-+++ Makefile.new	Sat May 20 00:44:02 2000
+--- Makefile.orig	Sat Jul 17 10:37:03 1999
++++ Makefile	Fri Mar 30 21:19:14 2001
 @@ -5,8 +5,10 @@
  # the executable
  ###########################################################################
@@ -8,8 +8,8 @@
 -BINPATH = /usr/X11R6/bin/
 +PREFIX		?= /usr/X11R6
 +X11BASE		?= /usr/X11R6
-+DATAPATH	= ${PREFIX}/share/games/xroads/
-+BINPATH		= ${PREFIX}/bin/
++DATAPATH	= ${PREFIX}/share/xroads
++BINPATH		= ${PREFIX}/bin
  # I imagine you would use this BINPATH for Solaris:
  #BINPATH = /usr/openwin/bin/
  
@@ -18,7 +18,7 @@
  
  #CFLAGS = -fomit-frame-pointer -O2 -Wall -DXRMPATH=\"$(DATAPATH)\"
 -CFLAGS = -O6 -mpentium -g -Wall -DXRMPATH=\"$(DATAPATH)\"
-+CFLAGS += -Wall -DXRMPATH=\"$(DATAPATH)\" -I${X11BASE}/include
++CFLAGS += -DXRMPATH=\"$(DATAPATH)\" -I${X11BASE}/include
  
  ###########################################################################
  # Links necessary for X11                                                 
diff -urN /usr/ports/games/xroads/files/patch-ab games/xroads/files/patch-ab
--- /usr/ports/games/xroads/files/patch-ab	Sat May 20 13:56:55 2000
+++ games/xroads/files/patch-ab	Fri Mar 30 21:11:17 2001
@@ -1,5 +1,5 @@
---- config.h	Fri Jul 16 21:37:03 1999
-+++ config.h.new	Sat May 20 00:45:15 2000
+--- config.h.orig	Sat Jul 17 10:37:03 1999
++++ config.h	Fri Mar 30 21:11:09 2001
 @@ -30,7 +30,7 @@
  /* Comment this out to disable the joystick code. This code currently only
     works on Linux, and only uses one joystick */
@@ -9,12 +9,3 @@
  
  /* Don't enable the joystick by default. Otherwise, it defaults to
     controlling player 1. Uncomment this if your joystick doesn't work
-@@ -69,7 +69,7 @@
-    sure it's actually set to something) */
- 
- #ifndef XRMPATH
--#define XRMPATH "./"
-+#define XRMPATH DATADIR "./"
- #endif
- 
- /* Comment this out to use the P key to pause the game. If you used this
diff -urN /usr/ports/games/xroads/pkg-descr games/xroads/pkg-descr
--- /usr/ports/games/xroads/pkg-descr	Sat May 20 13:56:56 2000
+++ games/xroads/pkg-descr	Fri Mar 30 21:35:14 2001
@@ -1,7 +1,5 @@
-XRoads is a game for the X Windows system that attempts to be like the
+XRoads is a game for the X Window System that attempts to be like the
 game Crossroads (and it's sequel, Pandemonium) for the Commodore 64.
 Basically, it is a 2-dimensional, overhead view maze game in which you
 fight against a gang of monsters. There are (or at least, there will be)
 tons of different twists in the game which make it fun.
-
-WWW: http://www.autobahn.mb.ca/~foxtrot/xroads.html
diff -urN /usr/ports/games/xroads/pkg-plist games/xroads/pkg-plist
--- /usr/ports/games/xroads/pkg-plist	Thu Jul  6 02:42:32 2000
+++ games/xroads/pkg-plist	Fri Mar 30 21:14:26 2001
@@ -1,26 +1,25 @@
 bin/xroads
-share/doc/xroads/BUGS
-share/doc/xroads/CHANGELOG
-share/doc/xroads/README
-share/games/xroads/map00.xrm
-share/games/xroads/map01.xrm
-share/games/xroads/map02.xrm
-share/games/xroads/map03.xrm
-share/games/xroads/map04.xrm
-share/games/xroads/map05.xrm
-share/games/xroads/map06.xrm
-share/games/xroads/map07.xrm
-share/games/xroads/map08.xrm
-share/games/xroads/map09.xrm
-share/games/xroads/map10.xrm
-share/games/xroads/map11.xrm
-share/games/xroads/map12.xrm
-share/games/xroads/map13.xrm
-share/games/xroads/map14.xrm
-share/games/xroads/map15.xrm
-share/games/xroads/map16.xrm
-share/games/xroads/map17.xrm
-share/games/xroads/map18.xrm
-@dirrm share/doc/xroads
-@dirrm share/games/xroads
-@dirrm share/games
+%%PORTDOCS%%share/doc/xroads/BUGS
+%%PORTDOCS%%share/doc/xroads/CHANGELOG
+%%PORTDOCS%%share/doc/xroads/README
+share/xroads/map00.xrm
+share/xroads/map01.xrm
+share/xroads/map02.xrm
+share/xroads/map03.xrm
+share/xroads/map04.xrm
+share/xroads/map05.xrm
+share/xroads/map06.xrm
+share/xroads/map07.xrm
+share/xroads/map08.xrm
+share/xroads/map09.xrm
+share/xroads/map10.xrm
+share/xroads/map11.xrm
+share/xroads/map12.xrm
+share/xroads/map13.xrm
+share/xroads/map14.xrm
+share/xroads/map15.xrm
+share/xroads/map16.xrm
+share/xroads/map17.xrm
+share/xroads/map18.xrm
+@dirrm share/xroads
+%%PORTDOCS%%@dirrm share/doc/xroads

>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?200103310107.f2V17Cj20414>