Date: Fri, 26 Aug 2005 16:38:58 -0300 From: "Alejandro Pulver" <alejandro@varnet.biz> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/85325: [NEW PORT] games/darkplaces - Quake engine modification Message-ID: <1125085138.0@phobos.mars.bsd> Resent-Message-ID: <200508261940.j7QJeJ5p032681@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <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= 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 <bsd.port.pre.mk> 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 <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 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1125085138.0>