pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/woof



Module Name:    pkgsrc
Committed By:   micha
Date:           Mon May 11 10:46:12 UTC 2020

Added Files:
        pkgsrc/games/woof: DESCR Makefile PLIST distinfo
        pkgsrc/games/woof/files: INSTALL.pkgsrc
        pkgsrc/games/woof/patches: patch-Source_d__iwad.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/games/woof/DESCR pkgsrc/games/woof/Makefile \
    pkgsrc/games/woof/PLIST pkgsrc/games/woof/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/woof/files/INSTALL.pkgsrc
cvs rdiff -u -r0 -r1.1 pkgsrc/games/woof/patches/patch-Source_d__iwad.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/games/woof/DESCR
diff -u /dev/null pkgsrc/games/woof/DESCR:1.1
--- /dev/null   Mon May 11 10:46:12 2020
+++ pkgsrc/games/woof/DESCR     Mon May 11 10:46:12 2020
@@ -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.
Index: pkgsrc/games/woof/Makefile
diff -u /dev/null pkgsrc/games/woof/Makefile:1.1
--- /dev/null   Mon May 11 10:46:12 2020
+++ pkgsrc/games/woof/Makefile  Mon May 11 10:46:12 2020
@@ -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"
Index: pkgsrc/games/woof/PLIST
diff -u /dev/null pkgsrc/games/woof/PLIST:1.1
--- /dev/null   Mon May 11 10:46:12 2020
+++ pkgsrc/games/woof/PLIST     Mon May 11 10:46:12 2020
@@ -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
Index: pkgsrc/games/woof/distinfo
diff -u /dev/null pkgsrc/games/woof/distinfo:1.1
--- /dev/null   Mon May 11 10:46:12 2020
+++ pkgsrc/games/woof/distinfo  Mon May 11 10:46:12 2020
@@ -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

Index: pkgsrc/games/woof/files/INSTALL.pkgsrc
diff -u /dev/null pkgsrc/games/woof/files/INSTALL.pkgsrc:1.1
--- /dev/null   Mon May 11 10:46:12 2020
+++ pkgsrc/games/woof/files/INSTALL.pkgsrc      Mon May 11 10:46:12 2020
@@ -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).

Index: pkgsrc/games/woof/patches/patch-Source_d__iwad.c
diff -u /dev/null pkgsrc/games/woof/patches/patch-Source_d__iwad.c:1.1
--- /dev/null   Mon May 11 10:46:12 2020
+++ pkgsrc/games/woof/patches/patch-Source_d__iwad.c    Mon May 11 10:46:12 2020
@@ -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