Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2004 19:30:28 +0200 (CEST)
From:      Jean-Yves Lefort <jylefort@brutele.be>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/66002: Update port: games/xpilot-ng to 4.6.3
Message-ID:  <20040426173028.5410822FEE@jsite.lefort.net>
Resent-Message-ID: <200404261740.i3QHedHC043655@freefall.freebsd.org>

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

>Number:         66002
>Category:       ports
>Synopsis:       Update port: games/xpilot-ng to 4.6.3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 26 10:40:18 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Thu Mar 18 01:32:50 CET 2004 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/games/xpilot-ng/Makefile xpilot-ng/Makefile
--- /usr/ports/games/xpilot-ng/Makefile	Mon Feb  2 07:23:36 2004
+++ xpilot-ng/Makefile	Mon Apr 26 19:17:10 2004
@@ -6,11 +6,10 @@
 #
 
 PORTNAME=		xpilot-ng
-PORTVERSION=		4.5.4X2
-PORTREVISION=		2
+PORTVERSION=		4.6.3
 CATEGORIES=		games
-MASTER_SITES=		http://www.hut.fi/~ksoderbl/xpilot/
-DISTNAME=		xpilot-${PORTVERSION}
+MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	xpilot
 
 MAINTAINER=		jylefort@brutele.be
 COMMENT=		An enhanced version of XPilot
@@ -19,11 +18,32 @@
 
 USE_X_PREFIX=		yes
 GNU_CONFIGURE=		yes
+USE_REINPLACE=		yes
 
-MAN6=			xp-mapedit-ng.6 xp-replay-ng.6 xpilot-ng.6 xpilots-ng.6
+MAN6=			xpilot-ng-replay.6 \
+			xpilot-ng-sdl.6 \
+			xpilot-ng-server.6 \
+			xpilot-ng-x11.6
 
 CONFIGURE_ENV=		CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
 			LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
-CONFIGURE_ARGS=		--program-suffix=-ng
+CONFIGURE_ARGS=		--program-prefix=""
 
-.include <bsd.port.mk>
+OPTIONS=		SDL "SDL/OpenGL client" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_SDL)
+USE_SDL=		sdl ttf
+CONFIGURE_ARGS+=	--enable-sdl-client
+PLIST_SUB+=		WITH_SDL=""
+USE_GCC=		3.2
+.else
+PLIST_SUB+=		WITH_SDL="@comment "
+.endif
+
+pre-patch:
+	@${REINPLACE_CMD} -e 's,#include "SDL/,#include "SDL11/,g' \
+		${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff -ruN /usr/ports/games/xpilot-ng/distinfo xpilot-ng/distinfo
--- /usr/ports/games/xpilot-ng/distinfo	Sat Apr  3 05:17:32 2004
+++ xpilot-ng/distinfo	Mon Apr 26 17:52:34 2004
@@ -1,2 +1,2 @@
-MD5 (xpilot-4.5.4X2.tar.gz) = cbe107324a129c360bcf026ee3f31ff5
-SIZE (xpilot-4.5.4X2.tar.gz) = 1054360
+MD5 (xpilot-ng-4.6.3.tar.gz) = 01aa986bb0db48eccb8b44ff7f976d87
+SIZE (xpilot-ng-4.6.3.tar.gz) = 1660135
diff -ruN /usr/ports/games/xpilot-ng/files/patch-aa xpilot-ng/files/patch-aa
--- /usr/ports/games/xpilot-ng/files/patch-aa	Sun Sep 28 14:03:06 2003
+++ xpilot-ng/files/patch-aa	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- lib/Makefile.in.orig	Thu Sep 11 03:29:50 2003
-+++ lib/Makefile.in	Thu Sep 11 03:30:00 2003
-@@ -18,7 +18,7 @@
- top_srcdir = @top_srcdir@
- VPATH = @srcdir@
- pkgdatadir = $(datadir)/@PACKAGE@
--pkglibdir = $(libdir)/@PACKAGE@
-+pkglibdir = $(datadir)/xpilot-ng
- pkgincludedir = $(includedir)/@PACKAGE@
- top_builddir = ..
- 
diff -ruN /usr/ports/games/xpilot-ng/files/patch-ba xpilot-ng/files/patch-ba
--- /usr/ports/games/xpilot-ng/files/patch-ba	Sun Sep 28 14:03:06 2003
+++ xpilot-ng/files/patch-ba	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- lib/maps/Makefile.in.orig	Thu Sep 11 03:32:17 2003
-+++ lib/maps/Makefile.in	Thu Sep 11 03:32:26 2003
-@@ -18,7 +18,7 @@
- top_srcdir = @top_srcdir@
- VPATH = @srcdir@
- pkgdatadir = $(datadir)/@PACKAGE@
--pkglibdir = $(libdir)/@PACKAGE@
-+pkglibdir = $(datadir)/xpilot-ng
- pkgincludedir = $(includedir)/@PACKAGE@
- top_builddir = ../..
- 
diff -ruN /usr/ports/games/xpilot-ng/files/patch-ca xpilot-ng/files/patch-ca
--- /usr/ports/games/xpilot-ng/files/patch-ca	Sun Sep 28 14:03:06 2003
+++ xpilot-ng/files/patch-ca	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- lib/textures/Makefile.in.orig	Thu Sep 11 03:32:37 2003
-+++ lib/textures/Makefile.in	Thu Sep 11 03:32:54 2003
-@@ -18,7 +18,7 @@
- top_srcdir = @top_srcdir@
- VPATH = @srcdir@
- pkgdatadir = $(datadir)/@PACKAGE@
--pkglibdir = $(libdir)/@PACKAGE@
-+pkglibdir = $(datadir)/xpilot-ng
- pkgincludedir = $(includedir)/@PACKAGE@
- top_builddir = ../..
- 
diff -ruN /usr/ports/games/xpilot-ng/files/patch-da xpilot-ng/files/patch-da
--- /usr/ports/games/xpilot-ng/files/patch-da	Sun Sep 28 14:03:06 2003
+++ xpilot-ng/files/patch-da	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- src/common/Makefile.in.orig	Thu Sep 11 03:28:54 2003
-+++ src/common/Makefile.in	Thu Sep 11 03:29:43 2003
-@@ -18,7 +18,7 @@
- top_srcdir = @top_srcdir@
- VPATH = @srcdir@
- pkgdatadir = $(datadir)/@PACKAGE@
--pkglibdir = $(libdir)/@PACKAGE@
-+pkglibdir = $(datadir)/xpilot-ng
- pkgincludedir = $(includedir)/@PACKAGE@
- top_builddir = ../..
- 
diff -ruN /usr/ports/games/xpilot-ng/files/patch-ea xpilot-ng/files/patch-ea
--- /usr/ports/games/xpilot-ng/files/patch-ea	Mon Feb  2 01:03:27 2004
+++ xpilot-ng/files/patch-ea	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- Makefile.in.orig	Mon Feb  2 00:00:41 2004
-+++ Makefile.in	Mon Feb  2 00:00:49 2004
-@@ -17,7 +17,7 @@
- srcdir = @srcdir@
- top_srcdir = @top_srcdir@
- VPATH = @srcdir@
--pkgdatadir = $(datadir)/@PACKAGE@
-+pkgdatadir = $(datadir)/xpilot-ng
- pkglibdir = $(libdir)/@PACKAGE@
- pkgincludedir = $(includedir)/@PACKAGE@
- top_builddir = .
diff -ruN /usr/ports/games/xpilot-ng/pkg-plist xpilot-ng/pkg-plist
--- /usr/ports/games/xpilot-ng/pkg-plist	Mon Feb  2 07:23:36 2004
+++ xpilot-ng/pkg-plist	Mon Apr 26 17:56:36 2004
@@ -1,12 +1,25 @@
-bin/xpilot-ng
-bin/xpilots-ng
-bin/xp-replay-ng
+bin/xpilot-ng-replay
+%%WITH_SDL%%bin/xpilot-ng-sdl
+bin/xpilot-ng-server
+bin/xpilot-ng-x11
+share/xpilot-ng/defaults.txt
+share/xpilot-ng/fonts/ConsoleFont.bmp
+share/xpilot-ng/fonts/FreeSansBoldOblique.ttf
+share/xpilot-ng/fonts/VeraMoBd.ttf
 share/xpilot-ng/mapconvert.py
-share/xpilot-ng/maps/teamcup.xp
 share/xpilot-ng/maps/polybloods.xp2
+share/xpilot-ng/maps/sadistic_bastard_v2.xp2
+share/xpilot-ng/maps/teamcup.xp
+share/xpilot-ng/password.txt
+share/xpilot-ng/robots.txt
+share/xpilot-ng/sounds.txt
+share/xpilot-ng/textures/acwise_grav.ppm
 share/xpilot-ng/textures/allitems.ppm
+share/xpilot-ng/textures/asteroid.ppm
 share/xpilot-ng/textures/asteroidconcentrator.ppm
 share/xpilot-ng/textures/ball.ppm
+share/xpilot-ng/textures/ball_gray.ppm
+share/xpilot-ng/textures/ball_gray16.ppm
 share/xpilot-ng/textures/base_down.ppm
 share/xpilot-ng/textures/base_left.ppm
 share/xpilot-ng/textures/base_right.ppm
@@ -22,16 +35,20 @@
 share/xpilot-ng/textures/checkpoint.ppm
 share/xpilot-ng/textures/clouds.ppm
 share/xpilot-ng/textures/concentrator.ppm
+share/xpilot-ng/textures/cwise_grav.ppm
 share/xpilot-ng/textures/fuel2.ppm
 share/xpilot-ng/textures/fuelcell.ppm
 share/xpilot-ng/textures/holder1.ppm
 share/xpilot-ng/textures/holder2.ppm
 share/xpilot-ng/textures/logo.ppm
+share/xpilot-ng/textures/metabtndown.png
+share/xpilot-ng/textures/metabtnup.png
 share/xpilot-ng/textures/metalite.ppm
 share/xpilot-ng/textures/meter.ppm
 share/xpilot-ng/textures/mine_other.ppm
 share/xpilot-ng/textures/mine_team.ppm
 share/xpilot-ng/textures/minus.ppm
+share/xpilot-ng/textures/missile.ppm
 share/xpilot-ng/textures/moon.ppm
 share/xpilot-ng/textures/paused.ppm
 share/xpilot-ng/textures/plus.ppm
@@ -40,15 +57,17 @@
 share/xpilot-ng/textures/radar3.ppm
 share/xpilot-ng/textures/refuel.ppm
 share/xpilot-ng/textures/rock4.ppm
+share/xpilot-ng/textures/sdlmetabg.png
+share/xpilot-ng/textures/shield.ppm
 share/xpilot-ng/textures/ship.ppm
 share/xpilot-ng/textures/ship_blue.ppm
 share/xpilot-ng/textures/ship_red.ppm
 share/xpilot-ng/textures/ship_red2.ppm
 share/xpilot-ng/textures/ship_red3.ppm
 share/xpilot-ng/textures/sparks.ppm
-share/xpilot-ng/textures/wall_dl.ppm
 share/xpilot-ng/textures/volcanic.ppm
 share/xpilot-ng/textures/wall_bottom.ppm
+share/xpilot-ng/textures/wall_dl.ppm
 share/xpilot-ng/textures/wall_dr.ppm
 share/xpilot-ng/textures/wall_fi.ppm
 share/xpilot-ng/textures/wall_left.ppm
@@ -59,10 +78,7 @@
 share/xpilot-ng/textures/wall_ur.ppm
 share/xpilot-ng/textures/wall_url.ppm
 share/xpilot-ng/textures/wormhole.ppm
-share/xpilot-ng/defaults
-share/xpilot-ng/password
-share/xpilot-ng/robots
-share/xpilot-ng/sounds
+@dirrm share/xpilot-ng/fonts
 @dirrm share/xpilot-ng/maps
 @dirrm share/xpilot-ng/textures
 @dirrm share/xpilot-ng

	
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040426173028.5410822FEE>