ports/117221: update of games/eduke32

Olivier Smedts olivier at gid0.org
Mon Oct 15 19:40:03 UTC 2007


>Number:         117221
>Category:       ports
>Synopsis:       update of games/eduke32
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 15 19:40:03 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Smedts
>Release:        6.2-STABLE
>Organization:
gid0.org
>Environment:
FreeBSD z.gid0.org 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Sep 19 21:46:01 CEST 2007     root at z.gid0.org:/work/obj/work/src/sys/XPC  i386
>Description:
Up-to-date snapshot of games/eduke32. Sound patchs have been integrated upstream. Now (optionally) depends on audio/timidity++ instead of audio/timidity, which is discontinued since years.
http://www.freebsd.org/cgi/query-pr.cgi?pr=117218 should be applied first, to make midi music work through sdl_mixer.
>How-To-Repeat:

>Fix:
# 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:
#
#	games/eduke32/
#	games/eduke32/Makefile
#	games/eduke32/distinfo
#	games/eduke32/pkg-descr
#	games/eduke32/pkg-plist
#	games/eduke32/files
#	games/eduke32/files/patch-eduke32_Makefile
#
echo c - games/eduke32/
mkdir -p games/eduke32/ > /dev/null 2>&1
echo x - games/eduke32/Makefile
sed 's/^X//' >games/eduke32/Makefile << 'END-of-games/eduke32/Makefile'
X# New ports collection makefile for:	eduke32
X# Date Created:				1 Aug 2006
X# Whom:					alepulver
X#
X# $FreeBSD: ports/games/eduke32/Makefile,v 1.7 2007/08/11 15:42:04 rafan Exp $
X
XPORTNAME=	eduke32
XPORTVERSION=	20070905
XCATEGORIES=	games
XMASTER_SITES=	http://wiki.eduke32.com/stuff/
XDISTFILES=	${PORTNAME}_src_${PORTVERSION}${EXTRACT_SUFX}
X
XMAINTAINER=	olivier at gid0.org
XCOMMENT=	Duke Nukem 3D Port based on JFDuke and EDuke
X
XBUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
X
XONLY_FOR_ARCHS=	i386
XONLY_FOR_ARCHS_REASON=	uses i386 assembly code
XREINPLACE_ARGS=	-i ''
XUSE_ZIP=	yes
XUSE_GMAKE=	yes
XUSE_GL=		yes
XUSE_GNOME=	gtk20
XUSE_SDL=	mixer sdl
XWRKSRC=		${WRKDIR}/${PORTNAME}
XPATCH_WRKSRC=	${WRKDIR}
X
XOPTIONS=	MIDI "Enable MIDI support" on
X
X.include "${.CURDIR}/../duke3d-data/Makefile.include"
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_MIDI)
XRUN_DEPENDS+=	timidity:${PORTSDIR}/audio/timidity++
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} -Ee \
X		's|^(CC=).*|\1${CC}|; \
X		 s|^(CXX=).*|\1${CXX}|; \
X#		 s|^(NASMFLAGS=).*|\1 -s -f elf|; \
X		 s|/usr/X11R6|${X11BASE}|; \
X		 s|sdl-config|${SDL_CONFIG}|' \
X		${WRKSRC}/Makefile \
X		${WRKDIR}/build/Makefile \
X		${WRKDIR}/build/Makefile.shared
X	@${REINPLACE_CMD} -e 's|/usr/share/games/eduke32|${DN3DDIR}|' \
X		${WRKSRC}/source/game.c ${WRKSRC}/source/astub.c
X#	@${REINPLACE_CMD} -e 's,^#if defined RENDERTYPEWIN || .*,#if 0,' \
X#		${WRKSRC}/source/game.c
X
Xdo-install:
X.for f in eduke32 mapster32
X	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
X.endfor
X.if !defined(NOPORTDOCS)
X. for f in ChangeLog *.sample
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X. endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-games/eduke32/Makefile
echo x - games/eduke32/distinfo
sed 's/^X//' >games/eduke32/distinfo << 'END-of-games/eduke32/distinfo'
XMD5 (eduke32_src_20070905.zip) = 51fdb49d17a1bfa7b9512eedcb8e42dc
XSHA256 (eduke32_src_20070905.zip) = 630b37e5af03ff0b49ce631be51d864a55da3183998150d2df288ba0dcb1d421
XSIZE (eduke32_src_20070905.zip) = 1473517
END-of-games/eduke32/distinfo
echo x - games/eduke32/pkg-descr
sed 's/^X//' >games/eduke32/pkg-descr << 'END-of-games/eduke32/pkg-descr'
XEDuke32 is a fork of the JFDuke3D port of Duke Nukem 3D (aka Duke3D), merging
Xit with EDuke to provide many new features for mod authors. Built on the
Xfoundation of Jonathon "JonoF" Fowler's JFDuke3D work (including Build engine
Xauthor Ken "Awesoken" Silverman's badass Polymost renderer) combined with
XMatt "Matteus" Saettler's EDuke advances, EDuke32 screams cool so loud you'll
Xthink Bruce Dickinson got uppercut in the balls by Freddy Krueger. Hell, it
Xeven comes with Mapster32, the enhanced Build editor.
X
XThe EDuke32 and Mapster32 development team is lead by Richard "TerminX"
XGobeille, author of the popular Cinema mod for Max Payne 2, the Project X TC
Xdemo for EDuke 2.0, and Mapster, the original Build editor enhancement.
X
XFeatures
X * Enhanced event-based game scripting system
X * OpenGL renderer (truecolor textures, MD2/MD3 models)
X * Cross-platform
X * Augmented map editor
X
XWWW: http://eduke32.com/
END-of-games/eduke32/pkg-descr
echo x - games/eduke32/pkg-plist
sed 's/^X//' >games/eduke32/pkg-plist << 'END-of-games/eduke32/pkg-plist'
Xbin/eduke32
Xbin/mapster32
X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
X%%PORTDOCS%%%%DOCSDIR%%/duke3d.def.sample
X%%PORTDOCS%%%%DOCSDIR%%/enhance.con.sample
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-games/eduke32/pkg-plist
echo c - games/eduke32/files
mkdir -p games/eduke32/files > /dev/null 2>&1
echo x - games/eduke32/files/patch-eduke32_Makefile
sed 's/^X//' >games/eduke32/files/patch-eduke32_Makefile << 'END-of-games/eduke32/files/patch-eduke32_Makefile'
X--- eduke32/Makefile.orig	2007-10-10 23:28:16.000000000 +0200
X+++ eduke32/Makefile	2007-10-10 23:30:35.000000000 +0200
X@@ -51,18 +51,18 @@
X 
X include $(EROOT)/Makefile.shared
X 
X-ifeq ($(PLATFORM),LINUX)
X+ifeq ($(PLATFORM),WINDOWS)
X+	OBJ=obj_win
X+	EOBJ=eobj_win
X+else
X 	OBJ=obj
X 	EOBJ=eobj
X-	NASMFLAGS+= -f elf
X-else
X-    ifeq ($(PLATFORM),WINDOWS)
X-	    OBJ=obj_win
X-	    EOBJ=eobj_win
X-    else
X-    	OBJ=obj
X-    	EOBJ=eobj
X-    endif
X+	ifeq ($(PLATFORM),LINUX)
X+		NASMFLAGS+= -f elf
X+	endif
X+	ifeq ($(PLATFORM),BSD)
X+		NASMFLAGS+= -f elf
X+	endif
X endif
X 
X JMACTOBJ=$(OBJ)/util_lib.$o \
END-of-games/eduke32/files/patch-eduke32_Makefile
exit


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



More information about the freebsd-ports-bugs mailing list