aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/Makefile1
-rw-r--r--games/deng/Makefile69
-rw-r--r--games/deng/distinfo2
-rw-r--r--games/deng/files/patch-Src_dsSDLMixer_driver__sdlmixer.c11
-rw-r--r--games/deng/pkg-descr23
-rw-r--r--games/deng/pkg-message10
-rw-r--r--games/deng/pkg-plist133
7 files changed, 249 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index cf4b8eb5450e..687ca7aca076 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -94,6 +94,7 @@
SUBDIR += d2x
SUBDIR += deal
SUBDIR += defendguin
+ SUBDIR += deng
SUBDIR += digger-vgl
SUBDIR += dmjava
SUBDIR += dodgindiamond2
diff --git a/games/deng/Makefile b/games/deng/Makefile
new file mode 100644
index 000000000000..9770d14850e4
--- /dev/null
+++ b/games/deng/Makefile
@@ -0,0 +1,69 @@
+# New ports collection makefile for: deng
+# Date created: 25 Aug 2004
+# Whom: Igor Pokrovsky <ip@doom.homeunix.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= deng
+PORTVERSION= 1.8.1.r4
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-1.8.1-rc4
+
+MAINTAINER= ip@doom.homeunix.org
+COMMENT= An enhanced Doom, Heretic and Hexen source port
+
+USE_REINPLACE= yes
+REINPLACE_ARGS= -i ""
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CFLAGS="${CFLAGS} `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include -I${X11BASE}/include" \
+ CPPFLAGS="`${SDL_CONFIG} --cflags` -I${LOCALBASE}/include -I${X11BASE}/include"
+USE_SDL= sdl mixer net
+USE_GL= yes
+INSTALLS_SHLIB= yes
+
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libopenal.so.0)
+WITH_OPENAL= yes
+BUILD_DEPENDS= ${LOCALBASE}/lib/libopenal.so.0:${PORTSDIR}/audio/openal
+RUN_DEPENDS= ${LOCALBASE}/lib/libopenal.so.0:${PORTSDIR}/audio/openal
+.endif
+
+.if !defined(WITH_OPENAL)
+PLIST_SUB= WITH_OPENAL="@comment "
+.else
+PLIST_SUB= WITH_OPENAL=""
+.endif
+
+.ifndef (WITH_OPENAL)
+pre-everything::
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} "Optionally define WITH_OPENAL=yes to build OpenAL sound plugin"
+ @${ECHO_CMD} ""
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -E -e 's/-Wunused-.+ / /g; \
+ s/SDL(\\|\/)//g' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name '*.[ch]' | \
+ ${XARGS} ${REINPLACE_CMD} -E -e 's/SDL(\\|\/)//g'
+
+post-install:
+.ifndef (NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Doc/*.txt ${DOCSDIR}
+.for i in jDoom jHeretic jHexen
+ @${MKDIR} ${DOCSDIR}/${i}
+ ${INSTALL_DATA} ${WRKSRC}/Doc/${i}/*.txt ${DOCSDIR}/${i}
+.endfor
+.endif
+ @(${SED} -e 's|%%PREFIX%%|${PREFIX}|; s|%%DOCSDIR%%|${DOCSDIR}|' \
+ <pkg-message >${PKGMESSAGE} && ${CAT} ${PKGMESSAGE})
+
+.include <bsd.port.post.mk>
diff --git a/games/deng/distinfo b/games/deng/distinfo
new file mode 100644
index 000000000000..bf9a56b40d66
--- /dev/null
+++ b/games/deng/distinfo
@@ -0,0 +1,2 @@
+MD5 (deng-1.8.1-rc4.tar.gz) = df950df5fec190daf1be149ab6e4c3bc
+SIZE (deng-1.8.1-rc4.tar.gz) = 3137059
diff --git a/games/deng/files/patch-Src_dsSDLMixer_driver__sdlmixer.c b/games/deng/files/patch-Src_dsSDLMixer_driver__sdlmixer.c
new file mode 100644
index 000000000000..553da3210f11
--- /dev/null
+++ b/games/deng/files/patch-Src_dsSDLMixer_driver__sdlmixer.c
@@ -0,0 +1,11 @@
+--- Src/dsSDLMixer/driver_sdlmixer.c.orig Thu Aug 26 19:07:44 2004
++++ Src/dsSDLMixer/driver_sdlmixer.c Thu Aug 26 19:11:15 2004
+@@ -117,7 +117,7 @@
+ return false;
+ }
+
+- if(Mix_OpenAudio(MIX_DEFAULT_FREQUENCY, MIX_DEFAULT_FORMAT, 2, 1024))
++ if(Mix_OpenAudio(MIX_DEFAULT_FREQUENCY, MIX_DEFAULT_FORMAT, 2, 4096))
+ {
+ Error();
+ return false;
diff --git a/games/deng/pkg-descr b/games/deng/pkg-descr
new file mode 100644
index 000000000000..88af73b7004f
--- /dev/null
+++ b/games/deng/pkg-descr
@@ -0,0 +1,23 @@
+The Doomsday Engine is an enhanced Doom source port for the Windows and
+UNIX platforms. It is based on the source code of id Software's Doom
+and Raven Software's Heretic and Hexen.
+Some of supported features are:
+* Dynamic lights
+* Lens flares
+* High-resolution textures (PNG, TGA, PCX)
+* Particle effects
+* Detail textures
+* 3D models (uses Quake II's MD2 format)
+* Simple environmental mapping for 3D models (shiny effects)
+* MD2 skymodels and skyboxes
+* Actor (monster) movement smoothing
+* Simulated radiosity shadowing system for the environment
+* Simple shadows for objects
+* Fog
+* Glowing surfaces
+* Smart texture filtering using a modified hq2x algorith
+
+WWW: http://deng.sourceforge.net/
+
+- Igor Pokrovsky
+ip@doom.homeunix.org
diff --git a/games/deng/pkg-message b/games/deng/pkg-message
new file mode 100644
index 000000000000..6b571b21be99
--- /dev/null
+++ b/games/deng/pkg-message
@@ -0,0 +1,10 @@
+******************************************************************************
+Now you can start playing Doomsday!
+All three games Doom, Heretic and Hexen could be launched with one executable.
+A quick start command could be:
+ %%PREFIX%%/bin/doomsday -g ${game} -f ${path_to_game_wad}
+where
+ game - could be jdoom, jheretic or jhexen;
+ path_to_game_wad - path to game main wad file.
+Check documentation in %%DOCSDIR%% for other options.
+******************************************************************************
diff --git a/games/deng/pkg-plist b/games/deng/pkg-plist
new file mode 100644
index 000000000000..6fa206bce103
--- /dev/null
+++ b/games/deng/pkg-plist
@@ -0,0 +1,133 @@
+bin/doomsday
+lib/libdpdehread.a
+lib/libdpdehread.la
+lib/libdpdehread.so
+lib/libdpdehread.so.0
+lib/libdpmapload.a
+lib/libdpmapload.la
+lib/libdpmapload.so
+lib/libdpmapload.so.0
+lib/libdropengl.a
+lib/libdropengl.la
+lib/libdropengl.so
+lib/libdropengl.so.0
+%%WITH_OPENAL%%lib/libdsopenal.a
+%%WITH_OPENAL%%lib/libdsopenal.la
+%%WITH_OPENAL%%lib/libdsopenal.so
+%%WITH_OPENAL%%lib/libdsopenal.so.0
+lib/libdssdlmixer.a
+lib/libdssdlmixer.la
+lib/libdssdlmixer.so
+lib/libdssdlmixer.so.0
+lib/libjdoom.a
+lib/libjdoom.la
+lib/libjdoom.so
+lib/libjdoom.so.0
+lib/libjheretic.a
+lib/libjheretic.la
+lib/libjheretic.so
+lib/libjheretic.so.0
+lib/libjhexen.a
+lib/libjhexen.la
+lib/libjhexen.so
+lib/libjhexen.so.0
+%%DATADIR%%/Data/Doomsday.wad
+%%DATADIR%%/Data/Fonts/Fixed.dfn
+%%DATADIR%%/Data/Fonts/Fixed12.dfn
+%%DATADIR%%/Data/Fonts/Large.dfn
+%%DATADIR%%/Data/Fonts/Small10.dfn
+%%DATADIR%%/Data/Fonts/Small7.dfn
+%%DATADIR%%/Data/Fonts/Small8.dfn
+%%DATADIR%%/Data/Fonts/System.dfn
+%%DATADIR%%/Data/Fonts/System12.dfn
+%%DATADIR%%/Data/Graphics/Background.pcx
+%%DATADIR%%/Data/Graphics/BoxCorner.png
+%%DATADIR%%/Data/Graphics/BoxFill.png
+%%DATADIR%%/Data/Graphics/BoxShade.png
+%%DATADIR%%/Data/Graphics/Hint.png
+%%DATADIR%%/Data/Graphics/Logo.png
+%%DATADIR%%/Data/Graphics/Mouse.png
+%%DATADIR%%/Data/Graphics/RadioCC.pcx
+%%DATADIR%%/Data/Graphics/RadioCO.pcx
+%%DATADIR%%/Data/Graphics/WallGlow.pcx
+%%DATADIR%%/Data/KeyMaps/de.dkm
+%%DATADIR%%/Data/KeyMaps/default.dkm
+%%DATADIR%%/Data/KeyMaps/fi.dkm
+%%DATADIR%%/Data/cphelp.txt
+%%DATADIR%%/Data/jDoom/jDoom.wad
+%%DATADIR%%/Data/jHeretic/jHeretic.wad
+%%DATADIR%%/Data/jHexen/jHexen.wad
+%%DATADIR%%/Defs/Doomsday.ded
+%%DATADIR%%/Defs/Flags.ded
+%%DATADIR%%/Defs/XG.ded
+%%DATADIR%%/Defs/jDoom/Anim.ded
+%%DATADIR%%/Defs/jDoom/Audio.ded
+%%DATADIR%%/Defs/jDoom/Details.ded
+%%DATADIR%%/Defs/jDoom/Doom1Lights.ded
+%%DATADIR%%/Defs/jDoom/Doom2Lights.ded
+%%DATADIR%%/Defs/jDoom/Finales.ded
+%%DATADIR%%/Defs/jDoom/Lights.ded
+%%DATADIR%%/Defs/jDoom/Maps.ded
+%%DATADIR%%/Defs/jDoom/Objects.ded
+%%DATADIR%%/Defs/jDoom/Particles.ded
+%%DATADIR%%/Defs/jDoom/PlutFinales.ded
+%%DATADIR%%/Defs/jDoom/Special.ded
+%%DATADIR%%/Defs/jDoom/Sprites.ded
+%%DATADIR%%/Defs/jDoom/TNTFinales.ded
+%%DATADIR%%/Defs/jDoom/Text.ded
+%%DATADIR%%/Defs/jDoom/Values.ded
+%%DATADIR%%/Defs/jDoom/jDoom.ded
+%%DATADIR%%/Defs/jHeretic/Anim.ded
+%%DATADIR%%/Defs/jHeretic/Audio.ded
+%%DATADIR%%/Defs/jHeretic/Finales.ded
+%%DATADIR%%/Defs/jHeretic/Lights.ded
+%%DATADIR%%/Defs/jHeretic/Maps.ded
+%%DATADIR%%/Defs/jHeretic/Objects.ded
+%%DATADIR%%/Defs/jHeretic/Special.ded
+%%DATADIR%%/Defs/jHeretic/Sprites.ded
+%%DATADIR%%/Defs/jHeretic/Text.ded
+%%DATADIR%%/Defs/jHeretic/jHeretic.ded
+%%DATADIR%%/Defs/jHexen/Anim.ded
+%%DATADIR%%/Defs/jHexen/Audio.ded
+%%DATADIR%%/Defs/jHexen/Finales.ded
+%%DATADIR%%/Defs/jHexen/Lights.ded
+%%DATADIR%%/Defs/jHexen/Maps.ded
+%%DATADIR%%/Defs/jHexen/Objects.ded
+%%DATADIR%%/Defs/jHexen/Special.ded
+%%DATADIR%%/Defs/jHexen/Sprites.ded
+%%DATADIR%%/Defs/jHexen/Text.ded
+%%DATADIR%%/Defs/jHexen/jHexen.ded
+%%DATADIR%%/Runtime/jDoom/Startup.cfg
+%%DATADIR%%/Runtime/jHeretic/Startup.cfg
+%%DATADIR%%/Runtime/jHexen/Startup.cfg
+%%PORTDOCS%%%%DOCSDIR%%/CVars.txt
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.txt
+%%PORTDOCS%%%%DOCSDIR%%/DEDDoc.txt
+%%PORTDOCS%%%%DOCSDIR%%/Network.txt
+%%PORTDOCS%%%%DOCSDIR%%/Ravenlic.txt
+%%PORTDOCS%%%%DOCSDIR%%/SrcNotes.txt
+%%PORTDOCS%%%%DOCSDIR%%/TexC.txt
+%%PORTDOCS%%%%DOCSDIR%%/jDoom/DoomLic.txt
+%%PORTDOCS%%%%DOCSDIR%%/jDoom/JDoom.txt
+%%PORTDOCS%%%%DOCSDIR%%/jHeretic/JHeretic.txt
+%%PORTDOCS%%%%DOCSDIR%%/jHexen/JHexen.txt
+@dirrm %%DATADIR%%/Runtime/jHexen
+@dirrm %%DATADIR%%/Runtime/jHeretic
+@dirrm %%DATADIR%%/Runtime/jDoom
+@dirrm %%DATADIR%%/Runtime
+@dirrm %%DATADIR%%/Defs/jHexen
+@dirrm %%DATADIR%%/Defs/jHeretic
+@dirrm %%DATADIR%%/Defs/jDoom
+@dirrm %%DATADIR%%/Defs
+@dirrm %%DATADIR%%/Data/jHexen
+@dirrm %%DATADIR%%/Data/jHeretic
+@dirrm %%DATADIR%%/Data/jDoom
+@dirrm %%DATADIR%%/Data/KeyMaps
+@dirrm %%DATADIR%%/Data/Graphics
+@dirrm %%DATADIR%%/Data/Fonts
+@dirrm %%DATADIR%%/Data
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/jDoom
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/jHeretic
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/jHexen
+%%PORTDOCS%%@dirrm %%DOCSDIR%%