Date: Thu, 15 Sep 2005 16:40:16 GMT From: "Alejandro Pulver" <alejandro@varnet.biz> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/85325: [NEW PORT] games/darkplaces - Quake engine modification Message-ID: <200509151640.j8FGeG9O037774@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/85325; it has been noted by GNATS. From: "Alejandro Pulver" <alejandro@varnet.biz> To: "FreeBSD gnats submit" <bug-followup@freebsd.org> Cc: Subject: Re: ports/85325: [NEW PORT] games/darkplaces - Quake engine modification Date: Thu, 15 Sep 2005 13:31:48 -0300 >Submitter-Id: current-users >Originator: Alejandro Pulver >Organization: >Confidential: no >Synopsis: Re: ports/85325: [NEW PORT] games/darkplaces - Quake engine modification >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 5.4-RELEASE i386 >Environment: >Description: This new shar replaces the old one. >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/files # darkplaces/files/patch-netconn.h # darkplaces/Makefile # darkplaces/pkg-descr # darkplaces/distinfo # echo c - darkplaces mkdir -p darkplaces > /dev/null 2>&1 echo c - darkplaces/files mkdir -p darkplaces/files > /dev/null 2>&1 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 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 <alejandro@varnet.biz> 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= DEDICATED "Build dedicated server" on \ X GLX "Build GLX client" on \ X OPTIMIZED_CFLAGS "Enable compilation optimizations" on \ X SDL "Build SDL client" on X XPLIST_FILES= bin/${PORTNAME} \ X %%DEDICATED%%bin/${PORTNAME}-dedicated \ X %%GLX%%bin/${PORTNAME}-glx \ X %%SDL%%bin/${PORTNAME}-sdl X X.include "${.CURDIR}/../quake-data/Makefile.include" X X.include <bsd.port.pre.mk> X X.if !defined(WITH_DEDICATED) && !defined(WITH_GLX) && !defined(WITH_SDL) XIGNORE= You must choose at least one option of GLX, SDL and DEDICATED X.endif X X.if defined(WITH_GLX) || defined(WITH_SDL) 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_DEDICATED) XALL_TARGET+= sv-release XPLIST_SUB+= DEDICATED="" X.else XPLIST_SUB+= DEDICATED="@comment " X.endif X X.if defined(WITH_GLX) XUSE_GL= yes XALL_TARGET+= cl-release XPLIST_SUB+= GLX="" X.else XPLIST_SUB+= GLX="@comment " X.endif X X.if defined(WITH_SDL) XUSE_SDL= sdl XALL_TARGET+= sdl-release XPLIST_SUB+= SDL="" X.else XPLIST_SUB+= SDL="@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 GLX SDL DEDICATED X. if defined(WITH_${f}) X @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-${f:L} ${PREFIX}/bin X @${TEST} -L ${PREFIX}/bin/${PORTNAME} || \ X ${LN} -s ${PREFIX}/bin/${PORTNAME}-${f:L} \ X ${PREFIX}/bin/${PORTNAME} X. endif X.endfor X X.include <bsd.port.post.mk> 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 exit --- darkplaces.shar ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509151640.j8FGeG9O037774>