From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 26 19:40:20 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 685AF16A41F for ; Fri, 26 Aug 2005 19:40:20 +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 D445543D48 for ; Fri, 26 Aug 2005 19:40:19 +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 j7QJeJlx032682 for ; Fri, 26 Aug 2005 19:40:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7QJeJ5p032681; Fri, 26 Aug 2005 19:40:19 GMT (envelope-from gnats) Resent-Date: Fri, 26 Aug 2005 19:40:19 GMT Resent-Message-Id: <200508261940.j7QJeJ5p032681@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, "Alejandro Pulver" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4086616A41F for ; Fri, 26 Aug 2005 19:38:38 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: from relay.pair.com (relay00.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id D67A343D45 for ; Fri, 26 Aug 2005 19:38:37 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 44444 invoked from network); 26 Aug 2005 19:38:36 -0000 Received: from unknown (HELO phobos.mars.bsd) (unknown) by unknown with SMTP; 26 Aug 2005 19:38:36 -0000 Message-Id: <1125085138.0@phobos.mars.bsd> Date: Fri, 26 Aug 2005 16:38:58 -0300 From: "Alejandro Pulver" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.6 Cc: Subject: ports/85325: [NEW PORT] games/darkplaces - Quake engine modification X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2005 19:40:20 -0000 >Number: 85325 >Category: ports >Synopsis: [NEW PORT] games/darkplaces - Quake engine modification >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Aug 26 19:40:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: >Description: >How-To-Repeat: >Fix: --- darkplaces.shar 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: # # darkplaces # darkplaces/Makefile # darkplaces/pkg-descr # darkplaces/distinfo # darkplaces/files # darkplaces/files/pkg-message.in # darkplaces/files/patch-netconn.h # echo c - darkplaces mkdir -p darkplaces > /dev/null 2>&1 echo x - darkplaces/Makefile sed 's/^X//' >darkplaces/Makefile << 'END-of-darkplaces/Makefile' X# New ports collection makefile for: darkplaces X# Date created: 25 Aug 2005 X# Whom: Alejandro Pulver X# X# $FreeBSD$ X# X XPORTNAME= darkplaces XPORTVERSION= 20050818 XCATEGORIES= games XMASTER_SITES= http://offload1.icculus.org/twilight/darkplaces/files/ XDISTNAME= ${PORTNAME}engine${PORTVERSION} X XMAINTAINER= alejandro@varnet.biz XCOMMENT= Quake engine modification X XWRKSRC= ${WRKDIR}/${PORTNAME} X XUSE_GMAKE= yes XUSE_REINPLACE= yes XUSE_ZIP= yes X XMAKEFILE= makefile XALL_TARGET= # X XOPTIONS= CLIENT "Build GLX client" on \ X OPTIMIZED_CFLAGS "Enable compilation optimizations" on \ X SERVER "Build dedicated server" on \ X SDL_CLIENT "Build SDL client" on X XPLIST_FILES= %%CLIENT%%bin/${PORTNAME}-glx \ X %%SDL_CLIENT%%bin/${PORTNAME}-sdl \ X %%SERVER%%bin/${PORTNAME}-dedicated X XSUB_FILES= pkg-message XPKGMESSAGE= ${WRKDIR}/pkg-message X X.include X X.if defined(WITH_CLIENT) || defined(WITH_SDL_CLIENT) X# Loads libraries on run-time, thus RUN_DEPENDS XRUN_DEPENDS= ${LOCALBASE}/lib/libvorbis.so:${PORTSDIR}/audio/libvorbis \ X ${LOCALBASE}/lib/libjpeg.so:${PORTSDIR}/graphics/jpeg X.endif X X.if defined(WITH_CLIENT) XUSE_GL= yes XALL_TARGET+= cl-release XPLIST_SUB+= CLIENT="" X.else XPLIST_SUB+= CLIENT="@comment " X.endif X X.if defined(WITH_SDL_CLIENT) XUSE_SDL= sdl XALL_TARGET+= sdl-release XPLIST_SUB+= SDL_CLIENT="" X.else XPLIST_SUB+= SDL_CLIENT="@comment " X.endif X X.if defined(WITH_SERVER) XALL_TARGET+= sv-release XPLIST_SUB+= SERVER="" X.else XPLIST_SUB+= SERVER="@comment " X.endif X Xpost-extract: X @${UNZIP_CMD} -a -q \ X -o ${WRKDIR}/${PORTNAME}enginesource${PORTVERSION}.zip \ X -d ${WRKDIR} X Xpost-patch: X @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|g ; \ X s|/usr/X11R6|${X11BASE}| ; \ X s|gcc|${CC}| ; \ X s|\(-MD\)|${CFLAGS} \1|' \ X ${WRKSRC}/${MAKEFILE} ${WRKSRC}/makefile.inc X @${REINPLACE_CMD} -e 's,"\.","${DATADIR}",' ${WRKSRC}/fs.c X.if defined(WITHOUT_OPTIMIZED_CFLAGS) X @${REINPLACE_CMD} -e 's|$$(OPTIM_RELEASE)||' ${WRKSRC}/makefile.inc X.endif X.if ${ARCH} == "alpha" X @${REINPLACE_CMD} -e 's|-ffast-math||' ${WRKSRC}/makefile.inc X.endif X Xdo-install: X.for f in ${PORTNAME}-glx ${PORTNAME}-sdl ${PORTNAME}-dedicated X @${TEST} -f ${WRKSRC}/${f} && \ X ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin X.endfor X Xpost-install: X @${ECHO_CMD} X @${CAT} ${PKGMESSAGE} X @${ECHO_CMD} X X.include END-of-darkplaces/Makefile echo x - darkplaces/pkg-descr sed 's/^X//' >darkplaces/pkg-descr << 'END-of-darkplaces/pkg-descr' XDark Places is a Quake modification I have built over the course of 6 years on Xand off experimenting, it got somewhat of an overhaul when the Quake engine Xsource code was released, and I began developing a custom OpenGL-only engine Xfor it and other mods, which supports Windows WGL and Linux GLX, and has Xgreatly improved graphics and image quality. X XIt can not easily be described, as it is simply an improved Quake, not a total Xconversion (yet, anyway). X XThe realism of shell casings falling to the floor, much improved bullet Ximpacts, 32bit color alpha blended explosions, blood flying everywhere and Xsticking to the walls... X XBehind the scenes the code has changed a great deal, I was not content with Xthe original QuakeC code, and I have greatly changed the engine while Xmaintaining compatibility with normal quake modifications. X XWWW: http://icculus.org/twilight/darkplaces/ END-of-darkplaces/pkg-descr echo x - darkplaces/distinfo sed 's/^X//' >darkplaces/distinfo << 'END-of-darkplaces/distinfo' XMD5 (darkplacesengine20050818.zip) = 004713d24b3e4cc886cdda2c77494b03 XSIZE (darkplacesengine20050818.zip) = 6284553 END-of-darkplaces/distinfo echo c - darkplaces/files mkdir -p darkplaces/files > /dev/null 2>&1 echo x - darkplaces/files/pkg-message.in sed 's/^X//' >darkplaces/files/pkg-message.in << 'END-of-darkplaces/files/pkg-message.in' X******************************************************************************* X* Before running DarkPlaces copy Quake 1 data files (id1 directory) X* into %%DATADIR%%. X* Filenames should be in lower case! X******************************************************************************* END-of-darkplaces/files/pkg-message.in echo x - darkplaces/files/patch-netconn.h sed 's/^X//' >darkplaces/files/patch-netconn.h << 'END-of-darkplaces/files/patch-netconn.h' X--- netconn.h.orig Thu Aug 18 21:30:57 2005 X+++ netconn.h Thu Aug 25 19:20:34 2005 X@@ -251,7 +251,7 @@ X X extern qboolean serverlist_consoleoutput; X X-#if !defined(_WIN32) && !defined(__linux__) && !defined(SUNOS) X+#if !defined(_WIN32) && !defined(__linux__) && !defined(SUNOS) && !defined(__FreeBSD__) X #ifndef htonl X extern unsigned long htonl (unsigned long hostlong); X #endif END-of-darkplaces/files/patch-netconn.h exit --- darkplaces.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: