From owner-freebsd-ports Sat Mar 4 16:40:26 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3E84E37B935 for ; Sat, 4 Mar 2000 16:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA49539; Sat, 4 Mar 2000 16:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from rock.ghis.net (rock.ghis.net [209.222.164.7]) by hub.freebsd.org (Postfix) with ESMTP id E1C8437B921 for ; Sat, 4 Mar 2000 16:30:50 -0800 (PST) (envelope-from will@blackdawn.com) Received: from shadow.blackdawn.com (postfix@[209.69.196.170]) by rock.ghis.net (8.9.3/8.9.3) with ESMTP id QAA08476 for ; Sat, 4 Mar 2000 16:30:44 -0800 (PST) Received: from argon.blackdawn.com (argon.blackdawn.com [192.168.0.3]) by shadow.blackdawn.com (Postfix) with ESMTP id 4376B1886 for ; Sat, 4 Mar 2000 19:30:39 -0500 (EST) Received: by argon.blackdawn.com (Postfix, from userid 1000) id C8CD71A68; Sat, 4 Mar 2000 19:30:34 -0500 (EST) Message-Id: <20000305003034.C8CD71A68@argon.blackdawn.com> Date: Sat, 4 Mar 2000 19:30:34 -0500 (EST) From: Will Andrews Reply-To: Will Andrews To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/17194: new port: games/heretic Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17194 >Category: ports >Synopsis: new port: games/heretic >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 4 16:40:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Will Andrews >Release: FreeBSD 4.0-CURRENT i386 >Organization: none >Environment: FreeBSD argon.blackdawn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Sat Feb 12 13:20:47 EST 2000 root@argon.blackdawn.com:/usr/src/sys/compile/KRYPTON i386 >Description: New port for the Heretic game (v1.0). Port accomodations: 1) X11-libs-only build. I'm sorry, but I don't have enough time before 4.0-RELEASE to make Heretic compile with MesaGL (and whatever other libraries it supports). My priority is to get a working copy of this game in the ports tree beforehand. 2) Broken HTTP protocol at raven-games.com. 3) Gets and installs the shareware WAD for you by default. I believe the license is OK with this. I have provided a knob to disable the installing of this WAD (in case someone has a non-shareware WAD or something). 4) May or may not support sound. I don't know since my system doesn't have sound. Additional notes: 1) Portlint doesn't like the conditional in the DISTFILES section. This is not my fault, it's the portlint script. ;-) 2) I have no idea why portlint is complaining about the WRKSRC, since I don't specify one. It is generated by WRKSRC=${WRKDIR}/${DISTNAME}. 3) I had some fun playing this game in 24-bit color on my laptop with its ATI Rage Pro 8MB graphics card. It has relatively good frame rate although it does slow down a bit sometimes. It's nice that people won't be forced to conform to a specific color depth in order to play the game! 4) I'm not sure the name for the port is appropriate. The people at Raven Games call it "GLHeretic" so perhaps the port should be called "glheretic" instead. However, it doesn't need GL to build, and that's why I chose to call it "heretic". This game would provide a lot of fun for many people and should be committed (IMO) before 4.0-RELEASE. >How-To-Repeat: Use the shar below to import the new port to the tree. >Fix: # 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: # # heretic # heretic/files # heretic/files/md5 # heretic/pkg # heretic/pkg/COMMENT # heretic/pkg/DESCR # heretic/pkg/PLIST # heretic/pkg/PLIST.nowad # heretic/patches # heretic/patches/patch-aa # heretic/patches/patch-ab # heretic/patches/patch-ac # heretic/patches/patch-ad # heretic/patches/patch-ae # heretic/patches/patch-af # heretic/patches/patch-ag # heretic/patches/patch-ah # heretic/patches/patch-ai # heretic/Makefile # echo c - heretic mkdir -p heretic > /dev/null 2>&1 echo c - heretic/files mkdir -p heretic/files > /dev/null 2>&1 echo x - heretic/files/md5 sed 's/^X//' >heretic/files/md5 << 'END-of-heretic/files/md5' XMD5 (glheretic-1.0.tar.gz) = 82874571b280c6907a2c781377393f6e XMD5 (heretic_share.wad.gz) = 8aa0b891681fc04726bbeae031bddea5 END-of-heretic/files/md5 echo c - heretic/pkg mkdir -p heretic/pkg > /dev/null 2>&1 echo x - heretic/pkg/COMMENT sed 's/^X//' >heretic/pkg/COMMENT << 'END-of-heretic/pkg/COMMENT' XUnix source-port of the famous Heretic game by id Software END-of-heretic/pkg/COMMENT echo x - heretic/pkg/DESCR sed 's/^X//' >heretic/pkg/DESCR << 'END-of-heretic/pkg/DESCR' XThis is the "Linux" port of the great Heretic game Xby id Software. It is an addicting game of sorcery Xwith blood and gore that reminds people of the old XDoom and Wolfenstein 3D games. X XWWW: http://www.raven-games.com/linuxheretic/ X X--Will END-of-heretic/pkg/DESCR echo x - heretic/pkg/PLIST sed 's/^X//' >heretic/pkg/PLIST << 'END-of-heretic/pkg/PLIST' Xbin/heretic Xshare/heretic/heretic_share.wad X@dirrm share/heretic END-of-heretic/pkg/PLIST echo x - heretic/pkg/PLIST.nowad sed 's/^X//' >heretic/pkg/PLIST.nowad << 'END-of-heretic/pkg/PLIST.nowad' Xbin/heretic END-of-heretic/pkg/PLIST.nowad echo c - heretic/patches mkdir -p heretic/patches > /dev/null 2>&1 echo x - heretic/patches/patch-aa sed 's/^X//' >heretic/patches/patch-aa << 'END-of-heretic/patches/patch-aa' X--- Makefile Thu Feb 3 17:56:16 2000 X+++ Makefile.new Sun Feb 13 04:15:18 2000 X@@ -1,24 +1,24 @@ X # Makefile for Linux Heretic/GLHeretic X X # Comment the line below if you don't want to build GLHeretic. X-WANT_OGL = yes X+WANT_OGL ?= yes X X # Comment the line below if you don't want fullscreen X # support under GLHeretic. X # (Only if you have WANT_OGL !) X-WANT_OGL_FULLSCREEN = yes X+WANT_OGL_FULLSCREEN ?= yes X X # Comment this if you don't want to build GLHeretic X # with highest quality options. X # (Only if you have WANT_OGL !) X-WANT_NICE_OGL = yes X+WANT_NICE_OGL ?= yes X X X # Uncomment the line below if you want to use GSI for sound. X # (doesn't really work yet. :-() X #WANT_GSI = yes X X-CC = gcc X+CC ?= gcc X X # X # For old SVGALIB, comment out -D__NEWVGALIB__ X@@ -26,7 +26,7 @@ X CDEFS.ipx = -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DHAVE_VALUES_H -DLINUX_MOUSE \ X -DIPX_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE \ X -D__NEWVGALIB__ # -DIPX_DEBUG -DEXTRA_WADS X-CDEFS.udp = -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DHAVE_VALUES_H -DLINUX_MOUSE \ X+CDEFS.udp = -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DHOMEDIR="\"/usr/X11R6/share/heretic\"" \ X -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE \ X -D__NEWVGALIB__ # -DEXTRA_WADS X X@@ -61,11 +61,11 @@ X endif X X # Change this to change the platform X-COPT.arch = $(COPT.x86) X+COPT.arch = $(COPT.FreeBSD) X X # If you want IPX-netcode compiled, replace $(CDEFS.udp) with $(CDEFS.ipx) X X-CFLAGS = -Wall $(CDEFS.udp) $(COPT.arch) \ X+CFLAGS = $(PCFLAGS) -Wall $(CDEFS.udp) $(COPT.arch) \ X -I. -I.. -I/usr/X11R6/include $(COPT.sound) $(COPT.opengl) X X # Uncomment the line below if you want to use original "[" and "]" keys X@@ -94,10 +94,10 @@ X X endif X X-X_LDFLAGS = -L/usr/X11R6/lib X+X_LDFLAGS = -L$(X11BASE)/lib X X X11LIBS = -lXext -lX11 X-GLLIBS = -lXmu -lXi -lm -ldl X+GLLIBS = -lXmu -lXi -lm -lGL -lGLU X GGILIBS = -lggi -lm X VGALIBS = -lvga X SDLLIBS = -lSDL -lpthread X@@ -108,7 +108,7 @@ X p_spec.o p_switch.o p_telept.o p_tick.o p_user.o r_bsp.o r_data.o \ X r_draw.o r_plane.o r_segs.o r_things.o r_main.o mn_menu.o sb_bar.o \ X tables.o v_video.o w_wad.o z_zone.o in_lude.o \ X- info.o i_net.o i_system.o i_udp.o i_ipx.o i_main.o $(SOUND_OBJS) X+ info.o i_net.o i_system.o i_udp.o i_main.o $(SOUND_OBJS) X X GLOBJS = opengl/gl_effects.o opengl/gl_floorceil.o opengl/gl_fonts.o \ X opengl/gl_func.o opengl/gl_init.o opengl/gl_lights.o \ X@@ -184,17 +184,17 @@ X $(CC) -E -M $(CFLAGS) $(X_LDFLAGS) *.c $(SOUND_REFS) \ X graphics/i_sdl.c > .depend X X-x11: depx11 $(OBJS) graphics/i_x11.o $(MUSSERV) $(SNDSERV) X+x11: depx11 $(OBJS) graphics/i_x11.o X $(CC) $(CFLAGS) $(X_LDFLAGS) $(X11LIBS) $(OBJS) \ X graphics/i_x11.o -o xheretic X X-fastx11:depx11f $(OBJS) graphics/i_x11_fast.o $(MUSSERV) $(SNDSERV) X- $(CC) $(CFLAGS) $(X_LDFLAGS) $(X11LIBS) $(OBJS) \ X+fastx11:depx11f $(OBJS) graphics/i_x11_fast.o X+ $(CC) $(CFLAGS) $(X_LDFLAGS) $(GLLIBS) $(X11LIBS) $(OBJS) \ X graphics/i_x11_fast.o -o xaheretic X X X glheretic:depx11ogl $(OBJS) $(GLOBJS) graphics/i_x11_ogl.o \ X- $(MUSSERV) $(SNDSERV) sgi-libtess X+ sgi-libtess X ifeq ($(WANT_OGL_FULLSCREEN),yes) X $(CC) $(CFLAGS) $(X_LDFLAGS) $(X11LIBS) $(GLLIBS) \ X $(OBJS) $(GLOBJS) /usr/X11R6/lib/libXxf86vm.a \ X@@ -205,15 +205,15 @@ X endif X X X-ggi: depggi $(OBJS) graphics/i_ggi.o $(MUSSERV) $(SNDSERV) X+ggi: depggi $(OBJS) graphics/i_ggi.o X $(CC) $(CFLAGS) $(GGILIBS) $(OBJS) \ X graphics/i_ggi.o -o ggiheretic X X-vga: depvga $(OBJS) graphics/i_vga.o $(MUSSERV) $(SNDSERV) X+vga: depvga $(OBJS) graphics/i_vga.o X $(CC) $(CFLAGS) $(VGALIBS) $(OBJS) \ X graphics/i_vga.o -o vgaheretic X X-sdl: depsdl $(OBJS) graphics/i_sdl.o $(MUSSERV) $(SNDSERV) X+sdl: depsdl $(OBJS) graphics/i_sdl.o X $(CC) $(CFLAGS) $(X_LDFLAGS) $(SDLLIBS) $(OBJS) \ X graphics/i_sdl.o -o sdlheretic X END-of-heretic/patches/patch-aa echo x - heretic/patches/patch-ab sed 's/^X//' >heretic/patches/patch-ab << 'END-of-heretic/patches/patch-ab' X--- doomtype.h Fri Jan 7 15:42:41 2000 X+++ doomtype.h.new Sun Feb 13 03:51:40 2000 X@@ -36,7 +36,7 @@ X X /* Predefined with some OS. */ X #ifdef HAVE_VALUES_H X-#include X+#include X #ifndef MININT X #define MININT ((-(MAXINT)) - 1) X #endif END-of-heretic/patches/patch-ab echo x - heretic/patches/patch-ac sed 's/^X//' >heretic/patches/patch-ac << 'END-of-heretic/patches/patch-ac' X--- w_wad.c Sat Oct 23 05:02:21 1999 X+++ w_wad.c.new Sun Feb 13 03:52:25 2000 X@@ -15,7 +15,6 @@ X #include X #include X #include X-#include X #include X #include X #include X@@ -26,8 +25,6 @@ X X #define O_BINARY 0 X #endif /* UNIX */ X- X-#include X X #ifdef __GLIBC__ X #include END-of-heretic/patches/patch-ac echo x - heretic/patches/patch-ad sed 's/^X//' >heretic/patches/patch-ad << 'END-of-heretic/patches/patch-ad' X--- opengl/sgi-si/libtess/memalloc.h Wed Jan 26 05:30:44 2000 X+++ opengl/sgi-si/libtess/memalloc.h.new Sun Feb 13 03:54:46 2000 X@@ -42,7 +42,7 @@ X #ifndef __memalloc_simple_h_ X #define __memalloc_simple_h_ X X-#include X+#include X X #define memRealloc realloc X #define memFree free END-of-heretic/patches/patch-ad echo x - heretic/patches/patch-ae sed 's/^X//' >heretic/patches/patch-ae << 'END-of-heretic/patches/patch-ae' X--- opengl/gl_struct.h Wed Jan 26 14:38:19 2000 X+++ opengl/gl_struct.h.new Sun Feb 13 03:54:46 2000 X@@ -2,7 +2,7 @@ X #define __GL_STRUCT_H__ X X #include X-#include X+#include X #include X #include X #include END-of-heretic/patches/patch-ae echo x - heretic/patches/patch-af sed 's/^X//' >heretic/patches/patch-af << 'END-of-heretic/patches/patch-af' X--- sndserv/soundsrv.c Mon Mar 22 20:06:59 1999 X+++ sndserv/soundsrv.c.new Sun Feb 13 03:54:46 2000 X@@ -43,7 +43,7 @@ X #include X #include X #include X-#include X+#include X #include X #include X END-of-heretic/patches/patch-af echo x - heretic/patches/patch-ag sed 's/^X//' >heretic/patches/patch-ag << 'END-of-heretic/patches/patch-ag' X--- sndserv/wadread.c Thu Nov 25 05:24:49 1999 X+++ sndserv/wadread.c.new Sun Feb 13 03:54:46 2000 X@@ -39,7 +39,7 @@ X */ X X X-#include X+#include X #include X #include X #include END-of-heretic/patches/patch-ag echo x - heretic/patches/patch-ah sed 's/^X//' >heretic/patches/patch-ah << 'END-of-heretic/patches/patch-ah' X--- opengl/gl_fonts.c Sun Jan 30 05:58:21 2000 X+++ opengl/gl_fonts.c.new Sun Feb 13 03:54:46 2000 X@@ -1,5 +1,5 @@ X #include X-#include X+#include X #include X #include X END-of-heretic/patches/patch-ah echo x - heretic/patches/patch-ai sed 's/^X//' >heretic/patches/patch-ai << 'END-of-heretic/patches/patch-ai' X--- i_ipx.c Sat Oct 23 05:02:21 1999 X+++ i_ipx.c.new Sun Feb 13 03:59:27 2000 X@@ -20,7 +20,7 @@ X #include X #else X #define MYSOCKLEN_T int X-#include X+#include X #endif /* __GLIBC__ */ X X #define IPXSETUP_COMPAT /* be compatible with ipxsetup.exe */ END-of-heretic/patches/patch-ai echo x - heretic/Makefile sed 's/^X//' >heretic/Makefile << 'END-of-heretic/Makefile' X# New ports collection makefile for: glheretic X# Version required: 1.0 X# Date created: 04 Feb 2000 X# Whom: Will Andrews X# X# $FreeBSD$ X# X XDISTNAME= glheretic-1.0 XPKGNAME= heretic-1.0 XCATEGORIES= games XMASTER_SITES= http://www.raven-games.com/linuxheretic/heretic/src/ \ X http://www.raven-games.com/linuxheretic/wad/ X.if !defined(NO_WAD) XDISTFILES+= heretic_share.wad.gz XEXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} X.endif X XMAINTAINER= andrews@technologist.com X XFETCH_BEFORE_ARGS+= -b XUSE_X_PREFIX= yes XUSE_GMAKE= yes XALL_TARGET= fastx11 XMAKE_ENV= WANT_OGL="no" WANT_OGL_FULLSCREEN="no" WANT_NICE_OGL="no" XBINARY= xaheretic X.if !defined(NO_WAD) XPLIST= ${PKGDIR}/PLIST.nowad X.endif X Xdo-install: X @${MKDIR} ${PREFIX}/share/heretic X @${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${PREFIX}/bin/heretic X.if !defined(NO_WAD) X @${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/heretic_share.wad.gz \ X > ${PREFIX}/share/heretic/heretic_share.wad X.endif X X.include END-of-heretic/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message