Date: Thu, 22 Jan 2004 18:47:32 +0300 (MSK) From: Igor Pokrovsky <tiamat@comset.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/61764: New port: games/glbsp BSP node builder for OpenGL ports of the DOOM game engine Message-ID: <200401221547.i0MFlWBP005597@doom.homeunix.org> Resent-Message-ID: <200401230320.i0N3KBuY088025@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 61764 >Category: ports >Synopsis: New port: games/glbsp BSP node builder for OpenGL ports of the DOOM game engine >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: Thu Jan 22 19:20:11 PST 2004 >Closed-Date: >Last-Modified: >Originator: Igor Pokrovsky >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD doom.homeunix.org 4.9-STABLE FreeBSD 4.9-STABLE #1: Sun Dec 14 13:12:44 MSK 2003 root@doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386 >Description: glBSP is a node builder specially designed to be used with OpenGL ports of the DOOM game engine. It adheres to the "GL-Friendly Nodes" specification, which means it adds some new special nodes to a WAD file that makes it very easy (and fast !) for an OpenGL DOOM engine to compute the polygons needed for drawing the levels. There are many DOOM ports that understand the GL Nodes which glBSP creates, including: EDGE, the Doomsday engine (JDOOM), Doom3D, PrBoom, and Vavoom. >How-To-Repeat: >Fix: --- glbsp.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: # # glbsp # glbsp/pkg-plist # glbsp/pkg-descr # glbsp/distinfo # glbsp/Makefile # glbsp/files # glbsp/files/patch-cmdline-makefile.unx # glbsp/files/patch-fltk-makefile.unx # echo c - glbsp mkdir -p glbsp > /dev/null 2>&1 echo x - glbsp/pkg-plist sed 's/^X//' >glbsp/pkg-plist << 'END-of-glbsp/pkg-plist' Xbin/glbsp X%%GUI_VERSION%%bin/glBSPX X%%PORTDOCS%%%%DOCSDIR%%/README.txt X%%PORTDOCS%%%%DOCSDIR%%/USAGE.txt X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-glbsp/pkg-plist echo x - glbsp/pkg-descr sed 's/^X//' >glbsp/pkg-descr << 'END-of-glbsp/pkg-descr' XglBSP is a node builder specially designed to be used with OpenGL Xports of the DOOM game engine. It adheres to the "GL-Friendly Nodes" Xspecification, which means it adds some new special nodes to a WAD Xfile that makes it very easy (and fast !) for an OpenGL DOOM engine to Xcompute the polygons needed for drawing the levels. XThere are many DOOM ports that understand the GL Nodes which glBSP Xcreates, including: EDGE, the Doomsday engine (JDOOM), Doom3D, PrBoom, Xand Vavoom. X XWWW: http://glbsp.sourceforge.net/ X X- Igor Pokrovsky Xtiamat@comset.net END-of-glbsp/pkg-descr echo x - glbsp/distinfo sed 's/^X//' >glbsp/distinfo << 'END-of-glbsp/distinfo' XMD5 (glbsp_src_205.tar.gz) = fd6779afb5fb8ffe5f266fe038584ac9 END-of-glbsp/distinfo echo x - glbsp/Makefile sed 's/^X//' >glbsp/Makefile << 'END-of-glbsp/Makefile' X# New ports collection makefile for: glbsp X# Date created: 22 Jan 2004 X# Whom: Igor Pokrovsky <tiamat@comset.net> X# X# $FreeBSD$ X# X XPORTNAME= glbsp XPORTVERSION= 2.05 XCATEGORIES= games XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTNAME= ${PORTNAME}_src_${PORTVERSION:S/.//} X XMAINTAINER= tiamat@comset.net XCOMMENT= BSP node builder for OpenGL ports of the DOOM game engine X X.ifdef (WITH_GUI_VERSION) XLIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk X.endif X XUSE_GMAKE= yes XUSE_REINPLACE= yes X XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} X X.if !defined (WITH_GUI_VERSION) XPLIST_SUB= GUI_VERSION="@comment " X.else XPLIST_SUB= GUI_VERSION="" X.endif X X.ifndef (WITH_GUI_VERSION) Xpre-everything:: X @${ECHO_CMD} "***********************************************************" X @${ECHO_CMD} "Define WITH_GUI_VERSION=yes to build FLTK based GUI version" X @${ECHO_CMD} "***********************************************************" X.endif X X.ifdef (WITH_GUI_VERSION) Xpost-patch: X @${REINPLACE_CMD} -e 's|%%FLTK_CONFIG%%|${X11BASE}\/bin\/fltk-config|g' \ X ${WRKSRC}/fltk/makefile.unx X.endif X Xdo-build: X ${SETENV} CC=${CC} "CFLAGS=${CFLAGS}" \ X ${GMAKE} -C ${WRKSRC}/cmdline -f makefile.unx all X.ifdef (WITH_GUI_VERSION) X ${SETENV} CC=${CC} CXX=${CXX} "CFLAGS=${CFLAGS}" "CXXFLAGS=${CXXFLAGS}" \ X ${GMAKE} -C ${WRKSRC}/fltk -f makefile.unx all X.endif X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/cmdline/glbsp ${PREFIX}/bin X.ifdef (WITH_GUI_VERSION) X ${INSTALL_PROGRAM} ${WRKSRC}/fltk/glBSPX ${PREFIX}/bin X.endif X X.ifndef (NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/USAGE.txt ${DOCSDIR} X.endif X X.include <bsd.port.mk> END-of-glbsp/Makefile echo c - glbsp/files mkdir -p glbsp/files > /dev/null 2>&1 echo x - glbsp/files/patch-cmdline-makefile.unx sed 's/^X//' >glbsp/files/patch-cmdline-makefile.unx << 'END-of-glbsp/files/patch-cmdline-makefile.unx' X--- cmdline/makefile.unx.orig Thu Jan 22 12:16:08 2004 X+++ cmdline/makefile.unx Thu Jan 22 12:18:10 2004 X@@ -8,8 +8,8 @@ X X PROGNAME=glbsp X X-CC=cc X-CFLAGS=-O3 -Wall -DGLBSP_TEXT -DUNIX -DINLINE_G=inline X+CC?=gcc X+CFLAGS+=-O3 -Wall -DGLBSP_TEXT -DUNIX -DINLINE_G=inline X LIBS=-lm X X OBJS=$(SYSDIR)/main.o \ END-of-glbsp/files/patch-cmdline-makefile.unx echo x - glbsp/files/patch-fltk-makefile.unx sed 's/^X//' >glbsp/files/patch-fltk-makefile.unx << 'END-of-glbsp/files/patch-fltk-makefile.unx' X--- fltk/makefile.unx.orig Thu Jan 22 12:32:28 2004 X+++ fltk/makefile.unx Thu Jan 22 12:35:18 2004 X@@ -8,14 +8,14 @@ X X PROGNAME=glBSPX X X-FLTK_CFLAGS=-I/usr/local/lib X-FLTK_LIBS=-lfltk_images -lfltk -lX11 -lXext -lpng -ljpeg X+FLTK_CFLAGS=`%%FLTK_CONFIG%% --cflags` X+FLTK_LIBS=`%%FLTK_CONFIG%% --ldflags` -lfltk_images X X-CC=gcc X-CXX=g++ X-CFLAGS=-O2 -Wall -DGLBSP_GUI -DUNIX -DINLINE_G=inline $(FLTK_CFLAGS) X-CXXFLAGS=$(CFLAGS) X-LDFLAGS=-L/usr/X11R6/lib X+CC?=gcc X+CXX?=g++ X+CFLAGS+=-O2 -Wall -DGLBSP_GUI -DUNIX -DINLINE_G=inline $(FLTK_CFLAGS) X+CXXFLAGS+=$(CFLAGS) X+LDFLAGS=-L${X11BASE}/lib X LIBS=-lm $(FLTK_LIBS) X X OBJS=$(SYSDIR)/main.o \ END-of-glbsp/files/patch-fltk-makefile.unx exit --- glbsp.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?200401221547.i0MFlWBP005597>