ports/120738: games/eduke32 update

Olivier Smedts olivier at gid0.org
Sat Feb 16 18:30:01 UTC 2008


>Number:         120738
>Category:       ports
>Synopsis:       games/eduke32 update
>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:   Sat Feb 16 18:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Smedts
>Release:        FreeBSD 7.0-RC2 i386
>Organization:
gid0.org
>Environment:
System: FreeBSD z.gid0.org 7.0-RC2 FreeBSD 7.0-RC2 #0: Sun Feb 10 17:50:35 CET 2008 root at z.gid0.org:/work/obj/work/src/sys/XPC i386


	
>Description:
Update of games/eduke32 to newest source snapshot.
	
>How-To-Repeat:
	
>Fix:
Apply the following patch. NOTE : games/eduke32/files directory should be created first because the diff contains a new file.

	

--- games-eduke32.diff begins here ---
--- Makefile.old	2007-08-11 17:42:04.000000000 +0200
+++ Makefile	2008-02-16 18:20:44.000000000 +0100
@@ -5,17 +5,10 @@
 # $FreeBSD: ports/games/eduke32/Makefile,v 1.7 2007/08/11 15:42:04 rafan Exp $
 
 PORTNAME=	eduke32
-PORTVERSION=	20060718
-PORTREVISION=	3
+PORTVERSION=	20080206
 CATEGORIES=	games
-MASTER_SITES=	SF
-DISTFILES=	${PORTNAME}_src_${PORTVERSION}${EXTRACT_SUFX} \
-		txbuild_src_${PORTVERSION}${EXTRACT_SUFX}
-
-PATCH_SITES=	http://gid0.free.fr/eduke32/
-PATCHFILES=	${PORTNAME}_src_${PORTVERSION}.patch \
-		txbuild_src_${PORTVERSION}.patch
-PATCH_DIST_STRIP=	-p0
+MASTER_SITES=	http://wiki.eduke32.com/stuff/
+DISTFILES=	${PORTNAME}_src_${PORTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=	olivier at gid0.org
 COMMENT=	Duke Nukem 3D Port based on JFDuke and EDuke
@@ -30,8 +23,7 @@
 USE_GL=		yes
 USE_GNOME=	gtk20
 USE_SDL=	mixer sdl
-WRKSRC=		${WRKDIR}/${PORTNAME}_src_${PORTVERSION}
-PATCH_WRKSRC=	${WRKDIR}
+WRKSRC=		${WRKDIR}/${PORTNAME}_src_${PORTVERSION}/${PORTNAME}
 
 OPTIONS=	MIDI "Enable MIDI support" on
 
@@ -45,19 +37,15 @@
 
 post-patch:
 	@${REINPLACE_CMD} -Ee \
-		's|^(EROOT=)../build/|\1../txbuild_src_${PORTVERSION}/|; \
-		 s|^(CC=).*|\1${CC}|; \
+		's|^(CC=).*|\1${CC}|; \
 		 s|^(CXX=).*|\1${CXX}|; \
-		 s|^(NASMFLAGS=).*|\1 -s -f elf|; \
 		 s|/usr/X11R6|${X11BASE}|; \
 		 s|sdl-config|${SDL_CONFIG}|' \
 		${WRKSRC}/Makefile \
-		${WRKDIR}/txbuild_src_${PORTVERSION}/Makefile \
-		${WRKDIR}/txbuild_src_${PORTVERSION}/Makefile.shared
+		${WRKSRC}/../build/Makefile \
+		${WRKSRC}/../build/Makefile.shared
 	@${REINPLACE_CMD} -e 's|/usr/share/games/eduke32|${DN3DDIR}|' \
 		${WRKSRC}/source/game.c ${WRKSRC}/source/astub.c
-	@${REINPLACE_CMD} -e 's,^#if defined RENDERTYPEWIN || .*,#if 0,' \
-		${WRKSRC}/source/game.c
 
 do-install:
 .for f in eduke32 mapster32
--- distinfo.old	2007-06-05 07:46:05.000000000 +0200
+++ distinfo	2008-02-09 20:35:35.000000000 +0100
@@ -1,12 +1,3 @@
-MD5 (eduke32_src_20060718.zip) = 1c037c953c1bdc76647c3434408e7db2
-SHA256 (eduke32_src_20060718.zip) = 4271a8470aa81217b554df0d9eb1864ef3d5b8ff6ca87d985b3bb46cbe3d373f
-SIZE (eduke32_src_20060718.zip) = 684828
-MD5 (txbuild_src_20060718.zip) = c2427bca6834f44c6731ea3973bc0d4b
-SHA256 (txbuild_src_20060718.zip) = 7329be9c1507a7a68a3216ab9d3e78d7ea0279fd302b0683af3e73a1c620777d
-SIZE (txbuild_src_20060718.zip) = 692726
-MD5 (eduke32_src_20060718.patch) = c2d6b3d7697f4588ba837f8e1b0b3085
-SHA256 (eduke32_src_20060718.patch) = 3fadcf1050f351944adee0c74e2f7fe4fe8f4af2afafa25b614a880304147063
-SIZE (eduke32_src_20060718.patch) = 128564
-MD5 (txbuild_src_20060718.patch) = a8ed8a4dbd83420bc735c45219116c03
-SHA256 (txbuild_src_20060718.patch) = 36e13cc7dc0a68e4dceb5dd4d5d9b40dbc43cd6e65a47b3080086e530f302dd3
-SIZE (txbuild_src_20060718.patch) = 1752
+MD5 (eduke32_src_20080206.zip) = 2706f66ea5a043e5020a6b5960c72594
+SHA256 (eduke32_src_20080206.zip) = a1d0d3fb47cb1eb21f5a299bc257ca0edb0ae91c6b7491690017418220825027
+SIZE (eduke32_src_20080206.zip) = 1523615
--- pkg-descr.old	2006-08-02 22:14:46.000000000 +0200
+++ pkg-descr	2008-02-09 20:31:35.000000000 +0100
@@ -1,11 +1,19 @@
-EDuke32 is a Windows/Linux/UNIX version of Duke Nukem 3D aimed at highly
-extending what can be edited in the game. EDuke32 combines the work that JonoF
-and Ken Silverman have put in to JFDuke3D with the original EDuke work done by
-Matt Saettler, while simultaneously adding tons of new and useful features.
-Consequently, EDuke32 is the most advanced version of Duke Nukem 3D in
-existence. EDuke32 is developed and maintained by Richard "TerminX" Gobeille
-and the EDuke32 team.
+EDuke32 is a fork of the JFDuke3D port of Duke Nukem 3D (aka Duke3D), merging
+it with EDuke to provide many new features for mod authors. Built on the
+foundation of Jonathon "JonoF" Fowler's JFDuke3D work (including Build engine
+author Ken "Awesoken" Silverman's badass Polymost renderer) combined with
+Matt "Matteus" Saettler's EDuke advances, EDuke32 screams cool so loud you'll
+think Bruce Dickinson got uppercut in the balls by Freddy Krueger. Hell, it
+even comes with Mapster32, the enhanced Build editor.
 
-This port includes icculus.org/duke3d patches for sound and joystick support.
+The EDuke32 and Mapster32 development team is lead by Richard "TerminX"
+Gobeille, author of the popular Cinema mod for Max Payne 2, the Project X TC
+demo for EDuke 2.0, and Mapster, the original Build editor enhancement.
+
+Features
+ * Enhanced event-based game scripting system
+ * OpenGL renderer (truecolor textures, MD2/MD3 models)
+ * Cross-platform
+ * Augmented map editor
 
 WWW: http://eduke32.com/
--- files/patch-Makefile.old	1970-01-01 01:00:00.000000000 +0100
+++ files/patch-Makefile	2008-02-09 20:53:04.000000000 +0100
@@ -0,0 +1,31 @@
+--- Makefile.orig	2007-10-10 23:28:16.000000000 +0200
++++ Makefile	2007-10-10 23:30:35.000000000 +0200
+@@ -51,18 +51,18 @@
+ 
+ include $(EROOT)/Makefile.shared
+ 
+-ifeq ($(PLATFORM),LINUX)
++ifeq ($(PLATFORM),WINDOWS)
++	OBJ=obj_win
++	EOBJ=eobj_win
++else
+ 	OBJ=obj
+ 	EOBJ=eobj
+-	NASMFLAGS+= -f elf
+-else
+-    ifeq ($(PLATFORM),WINDOWS)
+-	    OBJ=obj_win
+-	    EOBJ=eobj_win
+-    else
+-    	OBJ=obj
+-    	EOBJ=eobj
+-    endif
++	ifeq ($(PLATFORM),LINUX)
++		NASMFLAGS+= -f elf
++	endif
++	ifeq ($(PLATFORM),BSD)
++		NASMFLAGS+= -f elf
++	endif
+ endif
+ 
+ JMACTOBJ=$(OBJ)/util_lib.$o \
--- games-eduke32.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list