pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
raze: import raze-1.5.0 as wip/raze
Module Name: pkgsrc-wip
Committed By: Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By: yhardy
Date: Thu Sep 8 23:06:16 2022 +0200
Changeset: c29ea4a75dd4c948091152b758b7241d553f57a4
Modified Files:
Makefile
Added Files:
raze/DESCR
raze/LICENSE
raze/Makefile
raze/PLIST
raze/distinfo
raze/patches/patch-source_core_gameconfigfile.cpp
Log Message:
raze: import raze-1.5.0 as wip/raze
Raze is a fork of Build engine games backed by GZDoom tech and
combines Duke Nukem 3D, Blood, Redneck Rampage, Shadow Warrior and
Exhumed/Powerslave in a single package.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c29ea4a75dd4c948091152b758b7241d553f57a4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
raze/DESCR | 3 +
raze/LICENSE | 71 +++++++++++++++++++++++
raze/Makefile | 31 ++++++++++
raze/PLIST | 6 ++
raze/distinfo | 6 ++
raze/patches/patch-source_core_gameconfigfile.cpp | 14 +++++
7 files changed, 132 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index fb0702cffc..488881a2a9 100644
--- a/Makefile
+++ b/Makefile
@@ -5026,6 +5026,7 @@ SUBDIR+= rawdog
SUBDIR+= rawgl
SUBDIR+= rawgl-git
SUBDIR+= raylib
+SUBDIR+= raze
SUBDIR+= rc.d.Interix
SUBDIR+= rdsn-git
SUBDIR+= rdup
diff --git a/raze/DESCR b/raze/DESCR
new file mode 100644
index 0000000000..c8f7d218de
--- /dev/null
+++ b/raze/DESCR
@@ -0,0 +1,3 @@
+Raze is a fork of Build engine games backed by GZDoom tech and
+combines Duke Nukem 3D, Blood, Redneck Rampage, Shadow Warrior and
+Exhumed/Powerslave in a single package.
diff --git a/raze/LICENSE b/raze/LICENSE
new file mode 100644
index 0000000000..2751ea1068
--- /dev/null
+++ b/raze/LICENSE
@@ -0,0 +1,71 @@
+BUILD SOURCE CODE LICENSE TERMS: 06/20/2000
+
+[1] I give you permission to make modifications to my Build source and
+ distribute it, BUT:
+
+[2] Any derivative works based on my Build source may be distributed ONLY
+ through the INTERNET.
+
+[3] Distribution of any derivative works MUST be done completely FREE of
+ charge - no commercial exploitation whatsoever.
+
+[4] Anything you distribute which uses a part of my Build Engine source
+ code MUST include:
+
+ [A] The following message somewhere in the archive:
+
+ // "Build Engine & Tools" Copyright (c) 1993-1997 Ken Silverman
+ // Ken Silverman's official web site: "http://www.advsys.net/ken"
+ // See the included license file "BUILDLIC.TXT" for license info.
+
+ [B] This text file "BUILDLIC.TXT" along with it.
+
+ [C] Any source files that you modify must include this message as well:
+
+ // This file has been modified from Ken Silverman's original release
+
+[5] The use of the Build Engine for commercial purposes will require an
+ appropriate license arrangement with me. Contact information is
+ on my web site.
+
+[6] I take no responsibility for damage to your system.
+
+[7] Technical support: Before contacting me with questions, please read
+ and do ALL of the following!
+
+ [A] Look through ALL of my text files. There are 7 of them (including this
+ one). I like to think that I wrote them for a reason. You will find
+ many of your answers in the history section of BUILD.TXT and
+ BUILD2.TXT (they're located inside SRC.ZIP).
+
+ [B] If that doesn't satisfy you, then try going to:
+
+ "http://www.advsys.net/ken/buildsrc"
+
+ where I will maintain a Build Source Code FAQ (or perhaps I might
+ just provide a link to a good FAQ).
+
+ [C] I am willing to respond to questions, but ONLY if they come at a rate
+ that I can handle.
+
+ PLEASE TRY TO AVOID ASKING DUPLICATE QUESTIONS!
+
+ As my line of defense, I will post my current policy about
+ answering Build source questions (right below the E-mail address
+ on my web site.) You can check there to see if I'm getting
+ overloaded with questions or not.
+
+ If I'm too busy, it might say something like this:
+
+ I'm too busy to answer Build source questions right now.
+ Sorry, but don't expect a reply from me any time soon.
+
+ If I'm open for Build source questions, please state your question
+ clearly and don't include any unsolicited attachments unless
+ they're really small (like less than 50k). Assume that I have
+ a 28.8k modem. Also, don't leave out important details just
+ to make your question appear shorter - making me guess what
+ you're asking doesn't save me time!
+
+----------------------------------------------------------------------------
+-Ken S. (official web site: http://www.advsys.net/ken)
diff --git a/raze/Makefile b/raze/Makefile
new file mode 100644
index 0000000000..77e5ae1b0c
--- /dev/null
+++ b/raze/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD$
+
+DISTNAME= 1.5.0
+PKGNAME= raze-${DISTNAME}
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ZDoom/}
+GITHUB_PROJECT= Raze
+GITHUB_TAG= 1.5.0
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://raze.zdoom.org/
+COMMENT= Fork of the Build engine backed by GZDoom tech
+#LICENSE= build AND gnu-gpl-v2
+
+WRKSRC= ${WRKDIR}/Raze-1.5.0
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+CXXFLAGS+= -D PKGSRC_RAZE_PATH='"${PREFIX}/share/games/raze"'
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../audio/fluidsynth/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/libexecinfo/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../multimedia/libvpx/buildlink3.mk"
+# .include "../../parallel/openmp/buildlink3.mk"
+.include "../../wip/ZMusic/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/raze/PLIST b/raze/PLIST
new file mode 100644
index 0000000000..40a56be982
--- /dev/null
+++ b/raze/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+bin/raze
+include/discord_register.h
+include/discord_rpc.h
+lib/libdiscord-rpc.a
+share/games/raze/raze.pk3
diff --git a/raze/distinfo b/raze/distinfo
new file mode 100644
index 0000000000..e65511731f
--- /dev/null
+++ b/raze/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (Raze/1.5.0.tar.gz) = 4fb17a904893cb5a0e68614d6024f13f3a40f837943741b2ea22dece272b4dfc
+SHA512 (Raze/1.5.0.tar.gz) = 6686e0d0a8e73b676eaa3df45d8be6c0100e7732b916d572caeff5b1a3b6caef1a4e733ea98ce63cc23f3fca079e94eab8a08f563eb1f48c2ec3615bfbdc5719
+Size (Raze/1.5.0.tar.gz) = 15553911 bytes
+SHA1 (patch-source_core_gameconfigfile.cpp) = d147437dd1729dccb1a92a5d446bb08784352778
diff --git a/raze/patches/patch-source_core_gameconfigfile.cpp b/raze/patches/patch-source_core_gameconfigfile.cpp
new file mode 100644
index 0000000000..c92c95e89e
--- /dev/null
+++ b/raze/patches/patch-source_core_gameconfigfile.cpp
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Add the pkgsrc search path for game files.
+
+--- source/core/gameconfigfile.cpp.orig 2022-07-20 13:37:09.000000000 +0000
++++ source/core/gameconfigfile.cpp
+@@ -142,6 +142,7 @@ FGameConfigFile::FGameConfigFile ()
+ SetValueForKey ("Path", "/usr/share/games/nblood", true);
+ SetValueForKey ("Path", "/usr/local/share/games/nblood", true);
+ #endif
++ SetValueForKey ("Path", PKGSRC_RAZE_PATH, true);
+ }
+
+ // Set default search paths if none present
Home |
Main Index |
Thread Index |
Old Index