From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 27 12:30:23 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AADDE16A41F for ; Sat, 27 Aug 2005 12:30:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEBB343D53 for ; Sat, 27 Aug 2005 12:30:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7RCUM0H059485 for ; Sat, 27 Aug 2005 12:30:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7RCUM1u059480; Sat, 27 Aug 2005 12:30:22 GMT (envelope-from gnats) Resent-Date: Sat, 27 Aug 2005 12:30:22 GMT Resent-Message-Id: <200508271230.j7RCUM1u059480@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, No Name Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98B9316A41F for ; Sat, 27 Aug 2005 12:24:17 +0000 (GMT) (envelope-from arundel@h3c.de) Received: from enterprise4.noxa.de (enterprise.noxa.de [212.60.197.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3B8543D49 for ; Sat, 27 Aug 2005 12:24:16 +0000 (GMT) (envelope-from arundel@h3c.de) Received: (qmail 29661 invoked from network); 27 Aug 2005 14:24:13 +0200 Received: from p508fdf53.dip.t-dialin.net (HELO localhost.skatecity) (80.143.223.83) by enterprise.noxa.de with AES256-SHA encrypted SMTP; 27 Aug 2005 14:24:13 +0200 Received: from localhost.skatecity (nobody@localhost.skatecity [127.0.0.1]) by localhost.skatecity (8.13.4/8.13.4) with ESMTP id j7RCO9U7074988 for ; Sat, 27 Aug 2005 14:24:09 +0200 (CEST) (envelope-from arundel@localhost.skatecity) Received: (from arundel@localhost) by localhost.skatecity (8.13.4/8.13.4/Submit) id j7RCO8B3074987; Sat, 27 Aug 2005 14:24:08 +0200 (CEST) (envelope-from arundel) Message-Id: <200508271224.j7RCO8B3074987@localhost.skatecity> Date: Sat, 27 Aug 2005 14:24:08 +0200 (CEST) From: No Name To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/85348: [NEW PORT] games/jfduke3d X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: No Name List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2005 12:30:23 -0000 >Number: 85348 >Category: ports >Synopsis: [NEW PORT] games/jfduke3d >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 27 12:30:22 GMT 2005 >Closed-Date: >Last-Modified: >Originator: No Name >Release: FreeBSD 6.0-BETA1 i386 >Organization: >Environment: System: FreeBSD skatecity 6.0-BETA1 FreeBSD 6.0-BETA1 #0: Mon Jul 18 03:00:45 CEST 2005 root@skatecity:/usr/obj/usr/src/sys/ARUNDEL i386 >Description: This port is the Duke Nukem 3D Port by Jonathan Fowler. It depends on the following new port: http://www.freebsd.org/cgi/query-pr.cgi?pr=85347 >How-To-Repeat: >Fix: --- jfduke3d-output begins here --- # 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/jfduke3d # games/jfduke3d/files # games/jfduke3d/files/patch-aa # games/jfduke3d/files/wrapper.sh # games/jfduke3d/files/fix.sh # games/jfduke3d/files/build-wrapper.sh # games/jfduke3d/distinfo # games/jfduke3d/pkg-descr # games/jfduke3d/Makefile # games/jfduke3d/pkg-message # games/jfduke3d/pkg-plist # echo c - games/jfduke3d mkdir -p games/jfduke3d > /dev/null 2>&1 echo c - games/jfduke3d/files mkdir -p games/jfduke3d/files > /dev/null 2>&1 echo x - games/jfduke3d/files/patch-aa sed 's/^X//' >games/jfduke3d/files/patch-aa << 'END-of-games/jfduke3d/files/patch-aa' X--- Makefile.orig Fri Aug 26 20:17:49 2005 X+++ Makefile Fri Aug 26 20:18:07 2005 X@@ -88,7 +88,7 @@ X endif X X ifeq ($(RENDERTYPE),SDL) X- override CFLAGS+= $(subst -Dmain=SDL_main,,$(shell sdl-config --cflags)) X+ override CFLAGS+= $(subst -Dmain=SDL_main,,$(shell sdl11-config --cflags)) X AUDIOLIBOBJ=$(AUDIOLIB_MUSIC_STUB) $(AUDIOLIB_FX_STUB) X GAMEOBJS+= $(OBJ)game_icon.$o X EDITOROBJS+= $(OBJ)build_icon.$o END-of-games/jfduke3d/files/patch-aa echo x - games/jfduke3d/files/wrapper.sh sed 's/^X//' >games/jfduke3d/files/wrapper.sh << 'END-of-games/jfduke3d/files/wrapper.sh' X#!/bin/sh X# Needed to make symlinks/shortcuts work. X# Wrap duke3d binary Xcd %%DUKEDIR%% X./duke3d $* Xexit $? END-of-games/jfduke3d/files/wrapper.sh echo x - games/jfduke3d/files/fix.sh sed 's/^X//' >games/jfduke3d/files/fix.sh << 'END-of-games/jfduke3d/files/fix.sh' X#!/bin/sh Xcd %%DUKEDIR%% X Xif [ ! -d %%DUKEDIR%% ] || [ ! -w %%DUKEDIR%% ] Xthen X echo You do not have permission to write to %%DUKEDIR%%. X exit Xfi X Xif [ ! -f DUKE3D.GRP ] Xthen X echo DUKE3D.GRP is missing X exit Xfi X Xecho Renamed DUKE3D.GRP to duke3d.grp Xmv -f ./DUKE3D.GRP ./duke3d.grp END-of-games/jfduke3d/files/fix.sh echo x - games/jfduke3d/files/build-wrapper.sh sed 's/^X//' >games/jfduke3d/files/build-wrapper.sh << 'END-of-games/jfduke3d/files/build-wrapper.sh' X#!/bin/sh X# Needed to make symlinks/shortcuts work. X# Wrap build (editor) binary Xcd %%DUKEDIR%% X./build $* Xexit $? END-of-games/jfduke3d/files/build-wrapper.sh echo x - games/jfduke3d/distinfo sed 's/^X//' >games/jfduke3d/distinfo << 'END-of-games/jfduke3d/distinfo' XMD5 (jfduke3d_src_20050531.zip) = 0a56a99da81c8358aa43a869cfac4f81 XSIZE (jfduke3d_src_20050531.zip) = 612758 END-of-games/jfduke3d/distinfo echo x - games/jfduke3d/pkg-descr sed 's/^X//' >games/jfduke3d/pkg-descr << 'END-of-games/jfduke3d/pkg-descr' XJonoF's Duke Nukem 3D Port X XThis is the Duke Nukem 3D Port written by Jonathan Fowler. Like any Xother Duke Nukem 3D Port it is a hack of the original Duke Nukem 3D Xsource code (v1.5 CD Version) which was made publicly avilable by X3D Realms (the developer of Duke Nukem 3D) on the 1st of April 2003. X XWWW: http://jonof.edgenetwork.org/index.php?p=jfduke3d X X - arundel@h3c.de - END-of-games/jfduke3d/pkg-descr echo x - games/jfduke3d/Makefile sed 's/^X//' >games/jfduke3d/Makefile << 'END-of-games/jfduke3d/Makefile' X# New ports collection makefile for: jfduke3d X# Date Created: 26 August 2005 X# Whom: X# X# $FreeBSD$ X XPORTNAME= jfduke3d XPORTVERSION= 20050531 XCATEGORIES= games XMASTER_SITES= http://members.iinet.net.au.nyud.net:8090/~jonof/ \ X http://www.edgefiles.com/download/dialup.edgefiles.com/edgenetwork.org/jonof/buildport/ \ X http://www.edgefiles.com/download/ftp1.edgefiles.com/edgenetwork.org/jonof/buildport/ \ X http://www.edgefiles.com/download/ftp2.edgefiles.com/edgenetwork.org/jonof/buildport/ XDISTNAME= ${PORTNAME}_src_${PORTVERSION} X XMAINTAINER= arundel@h3c.de XCOMMENT= Jonathon Fowler's Duke Nukem 3D Port X XBUILD_DEPENDS= jfbuild:${PORTSDIR}/games/jfbuild X XUSE_ZIP= yes XUSE_GMAKE= yes XUSE_REINPLACE= yes XUSE_SDL= sdl XCONFLICTS= duke3d* X XWRKSRC= ${WRKDIR}/${PORTNAME}_src_${PORTVERSION} X XTARGET_DIR= ${LOCALBASE}/duke3d X XPROG_FILES= ${WRKSRC}/duke3d ${WRKSRC}/build XDATA_FILES= ${WRKSRC}/build.cfg XSCRIPT_FILES= ${WRKDIR}/fix.sh ${WRKDIR}/duke3d.sh ${WRKDIR}/build.sh XDOC_FILES= ChangeLog readme.txt releasenotes.html duke3d.def.sample GNU.TXT X Xpre-build: X @${REINPLACE_CMD} -e 's|EROOT=../build/|EROOT=${PORTSDIR}/games/jfbuild/work/jfbuild_src_20050531/|g' \ X ${WRKSRC}/Makefile X Xpre-install: X @${SED} -e 's|%%DUKEDIR%%|${PREFIX}/duke3d|g' ${FILESDIR}/fix.sh > \ X ${WRKDIR}/fix.sh X @${SED} -e 's|%%DUKEDIR%%|${PREFIX}/duke3d|g' ${FILESDIR}/wrapper.sh > \ X ${WRKDIR}/duke3d.sh X @${SED} -e 's|%%DUKEDIR%%|${PREFIX}/duke3d|g' ${FILESDIR}/build-wrapper.sh > \ X ${WRKDIR}/build.sh X Xdo-install: X ${INSTALL} -d ${TARGET_DIR} X ${INSTALL_PROGRAM} ${PROG_FILES} ${TARGET_DIR} X ${INSTALL_DATA} ${DATA_FILES} ${TARGET_DIR} X ${INSTALL_SCRIPT} ${SCRIPT_FILES} ${TARGET_DIR} X ${LN} -s ${TARGET_DIR}/duke3d.sh ${LOCALBASE}/bin/duke3d X ${LN} -s ${TARGET_DIR}/build.sh ${LOCALBASE}/bin/duke3d-build X Xpost-install: X.ifndef(NOPORTDOCS) X ${INSTALL} -d ${DOCSDIR} X X.for file in ${DOC_FILES} X ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR} X.endfor X.endif X X @${SED} -e 's|%%DOCSDIR%%|${DOCSDIR}|g ; s|%%DUKEDIR%%|${TARGET_DIR}|g' \ X ${PKGMESSAGE} X X.include END-of-games/jfduke3d/Makefile echo x - games/jfduke3d/pkg-message sed 's/^X//' >games/jfduke3d/pkg-message << 'END-of-games/jfduke3d/pkg-message' X----------------------------------------------------------------- XJonoF's Duke Nukem 3D Port has been successfully installed. X XYou still need to copy the original Duke Nukem 3D data file Xto %%DUKEDIR%%. Please copy the DUKE3D.GRP to the %%DUKEDIR%% Xdirectory and run the fix.sh script inside that directory. X XThe JonoF's Duke Nukem 3D Port supports the following Duke Nukem 3D Xversions: X X* Duke3D Shareware X* Duke3D 1.3d X* Duke3D 1.4/5 Atomic X XNOTE: Be sure to read the release notes in this distribution. There's Ximportant information about using the new features in this release. X XThe release notes can be found in %%DOCSDIR%%. X XIf you have any problems with running this port please contact the Xmaintainer of this port and NOT Jonathan Fowler. X XThe following features are not usable at the moment: X X* Sound doesn't work X* No joystick support X* GL mode doesn't work X XNOTE: You can find patches which enable sound and add joystick support Xhere: X Xhttp://jonof.edgenetwork.org/forum/viewtopic.php?p=3245 X XI was not able to compile the port with these patches. If you manage Xto do so and the binary runs under FreeBSD with sound/jostick support Xenabled, please drop me a note telling me how you did it. I'd really Xlike to add those patches to the port, because especially the lack of Xsound reduces the gameplay-fun a lot. X XThx. X----------------------------------------------------------------- END-of-games/jfduke3d/pkg-message echo x - games/jfduke3d/pkg-plist sed 's/^X//' >games/jfduke3d/pkg-plist << 'END-of-games/jfduke3d/pkg-plist' Xduke3d/duke3d Xduke3d/build Xduke3d/fix.sh Xduke3d/duke3d.sh Xduke3d/build.sh Xduke3d/build.cfg Xbin/duke3d Xbin/duke3d-build X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog X%%PORTDOCS%%%%DOCSDIR%%/readme.txt X%%PORTDOCS%%%%DOCSDIR%%/releasenotes.html X%%PORTDOCS%%%%DOCSDIR%%/duke3d.def.sample X%%PORTDOCS%%%%DOCSDIR%%/GNU.TXT X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@unexec rmdir %D/duke3d 2> /dev/null || true END-of-games/jfduke3d/pkg-plist exit --- jfduke3d-output ends here --- >Release-Note: >Audit-Trail: >Unformatted: