Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/woof games/woof: import woof-1.2.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/cb70045ec704
branches: trunk
changeset: 431281:cb70045ec704
user: micha <micha%pkgsrc.org@localhost>
date: Mon May 11 10:46:12 2020 +0000
description:
games/woof: import woof-1.2.1
Woof! is a continuation of Lee Killough's Doom source port MBF targeted
at modern systems.
MBF stands for "Marine's Best Friend" and is regarded by many as the
successor of the Boom source port by TeamTNT.
diffstat:
games/woof/DESCR | 5 +++
games/woof/Makefile | 48 +++++++++++++++++++++++++++++++
games/woof/PLIST | 38 ++++++++++++++++++++++++
games/woof/distinfo | 7 ++++
games/woof/files/INSTALL.pkgsrc | 6 +++
games/woof/patches/patch-Source_d__iwad.c | 16 ++++++++++
6 files changed, 120 insertions(+), 0 deletions(-)
diffs (144 lines):
diff -r c9743c3bae6c -r cb70045ec704 games/woof/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/woof/DESCR Mon May 11 10:46:12 2020 +0000
@@ -0,0 +1,5 @@
+Woof! is a continuation of Lee Killough's Doom source port MBF targeted
+at modern systems.
+
+MBF stands for "Marine's Best Friend" and is regarded by many as the
+successor of the Boom source port by TeamTNT.
diff -r c9743c3bae6c -r cb70045ec704 games/woof/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/woof/Makefile Mon May 11 10:46:12 2020 +0000
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1 2020/05/11 10:46:12 micha Exp $
+
+DISTNAME= woof_1.2.1
+PKGNAME= ${DISTNAME:S/_/-/}
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GITHUB:=fabiangreffrath/}
+GITHUB_TAG= ${DISTNAME}
+EXTRACT_USING= bsdtar
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/fabiangreffrath/woof/
+COMMENT= Continuation of Lee Killough's Doom source port MBF
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= c99
+USE_CMAKE= yes
+CMAKE_ARGS+= -G "Unix Makefiles" ..
+CONFIGURE_DIRS= build
+WRKSRC= ${WRKDIR}/woof-${DISTNAME}
+
+# DOOMWADDIR is intentionally shared with other Doom packages
+DOOMWADDIR= share/doom
+
+# Add DOOMWADDIR to search path
+SUBST_CLASSES+= waddir
+SUBST_STAGE.waddir= pre-configure
+SUBST_MESSAGE.waddir= Preparing d_iwad.c file ...
+SUBST_FILES.waddir= Source/d_iwad.c
+SUBST_SED.waddir= -e 's,PKGSRC_PREFIX,"${PREFIX}",'
+SUBST_SED.waddir+= -e 's,PKGSRC_DOOMWADDIR,"/${DOOMWADDIR}",'
+
+pre-configure:
+ cd ${WRKSRC}; mkdir build
+ ${CP} ${FILESDIR}/INSTALL.pkgsrc ${WRKDIR}
+
+post-install:
+ ${INSTALL_DATA} ${WRKDIR}/INSTALL.pkgsrc \
+ ${DESTDIR}${PREFIX}/share/doc/woof/INSTALL.pkgsrc
+
+.include "../../audio/SDL2_mixer/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../graphics/SDL2_image/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../net/SDL2_net/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r c9743c3bae6c -r cb70045ec704 games/woof/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/woof/PLIST Mon May 11 10:46:12 2020 +0000
@@ -0,0 +1,38 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/11 10:46:12 micha Exp $
+bin/woof
+share/applications/woof.desktop
+share/doc/woof/COPYING
+share/doc/woof/INSTALL.pkgsrc
+share/doc/woof/README.md
+share/doc/woof/boom.txt
+share/doc/woof/boomdeh.txt
+share/doc/woof/boomref.txt
+share/doc/woof/dckboom.txt
+share/doc/woof/examples/battle.wad
+share/doc/woof/examples/dogfly.deh
+share/doc/woof/examples/donut.txt
+share/doc/woof/examples/donut.wad
+share/doc/woof/examples/fireplas.deh
+share/doc/woof/examples/fly.deh
+share/doc/woof/examples/friend.deh
+share/doc/woof/examples/grenade.deh
+share/doc/woof/examples/hockey.wad
+share/doc/woof/examples/mbfedit.txt
+share/doc/woof/examples/mbfedit.wad
+share/doc/woof/examples/mine.deh
+share/doc/woof/examples/mushroom.deh
+share/doc/woof/examples/playbud.deh
+share/doc/woof/examples/possbud.deh
+share/doc/woof/examples/sky.wad
+share/doc/woof/examples/touchy.deh
+share/doc/woof/mbf-bugs.html
+share/doc/woof/mbf.txt
+share/doc/woof/mbfedit.txt
+share/doc/woof/mbffaq.txt
+share/doc/woof/options.txt
+share/doc/woof/winmbf02.txt
+share/doc/woof/winmbf02s.txt
+share/icons/hicolor/128x128/apps/woof.png
+share/woof/betagrph.wad
+share/woof/betalevl.wad
+share/woof/watermap.wad
diff -r c9743c3bae6c -r cb70045ec704 games/woof/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/woof/distinfo Mon May 11 10:46:12 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/05/11 10:46:12 micha Exp $
+
+SHA1 (woof_1.2.1.tar.gz) = 9eecbdfa5a5cdb9a01f3e54f57247ed9ac933668
+RMD160 (woof_1.2.1.tar.gz) = 7f9eb2a2747a2ef930543a07c2dadc9982a1b92b
+SHA512 (woof_1.2.1.tar.gz) = 9ac0e723290fd098ae8c120ab40f205ce7cde85ee56edc136460612b96ae20008770ba1e3b9a19d12365109d170cca52d19ed5348debd565557cca19948c03af
+Size (woof_1.2.1.tar.gz) = 1875956 bytes
+SHA1 (patch-Source_d__iwad.c) = fc897f508e31653495bfed26152a7e6d70021089
diff -r c9743c3bae6c -r cb70045ec704 games/woof/files/INSTALL.pkgsrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/woof/files/INSTALL.pkgsrc Mon May 11 10:46:12 2020 +0000
@@ -0,0 +1,6 @@
+The location of the woof WAD directory has been set to:
+
+ DOOMWADDIR
+
+This is the pkgsrc standard Doom WAD directory location (shared with other
+Doom packages).
diff -r c9743c3bae6c -r cb70045ec704 games/woof/patches/patch-Source_d__iwad.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/woof/patches/patch-Source_d__iwad.c Mon May 11 10:46:12 2020 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-Source_d__iwad.c,v 1.1 2020/05/11 10:46:12 micha Exp $
+
+Add pkgsrc ${PREFIX}/share/doom to WAD file search path.
+
+--- Source/d_iwad.c.orig 2020-04-14 06:39:44.000000000 +0000
++++ Source/d_iwad.c
+@@ -442,6 +442,9 @@ static void AddXdgDirs(void)
+ env = "/usr/local/share:/usr/share";
+ }
+
++ // Add pkgsrc location for WADs
++ AddIWADPath(PKGSRC_PREFIX, PKGSRC_DOOMWADDIR);
++
+ // The "standard" location for IWADs on Unix that is supported by most
+ // source ports is /usr/share/games/doom - we support this through the
+ // XDG_DATA_DIRS mechanism, through which it can be overridden.
Home |
Main Index |
Thread Index |
Old Index