pkgsrc-Changes archive

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

CVS commit: pkgsrc/games



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Sep  4 10:36:29 UTC 2021

Modified Files:
        pkgsrc/games: Makefile
Added Files:
        pkgsrc/games/ecwolf: DESCR MESSAGE Makefile PLIST distinfo
        pkgsrc/games/ecwolf/files: ecwolf.desktop ecwolf.sh.in
        pkgsrc/games/ecwolf/patches: patch-docs_ecwolf.6
            patch-src_wl__iwad__picker.cpp

Log Message:
add games/ecwolf

ECWolf is an advanced source port of the Wolfenstein 3D engine based upon
Wolf4SDL with some back ports from ZDoom. It provides substantially boosted
capabilities for creating mods without requiring source code edits using
scripting and other tools familiar to users of ZDoom.

For players it offers modern features such as support for modern control
schemes and wide screen. Being based on the Wolfenstein 3D engine and using an
enhanced version of the original software renderer, it provides a relatively
accurate play experience to vanilla while modernizing.

Currently supported games are Wolfenstein 3D, Spear of Destiny, and Super 3-D
Noah's Ark.

The original game data files are required for operation. These are files with
the extensions *.n3d, *.sod, *.sd2, *.sd3, *.wl1, or *.wl6.


To generate a diff of this commit:
cvs rdiff -u -r1.505 -r1.506 pkgsrc/games/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/games/ecwolf/DESCR pkgsrc/games/ecwolf/MESSAGE \
    pkgsrc/games/ecwolf/Makefile pkgsrc/games/ecwolf/PLIST \
    pkgsrc/games/ecwolf/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/ecwolf/files/ecwolf.desktop \
    pkgsrc/games/ecwolf/files/ecwolf.sh.in
cvs rdiff -u -r0 -r1.1 pkgsrc/games/ecwolf/patches/patch-docs_ecwolf.6 \
    pkgsrc/games/ecwolf/patches/patch-src_wl__iwad__picker.cpp

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

Modified files:

Index: pkgsrc/games/Makefile
diff -u pkgsrc/games/Makefile:1.505 pkgsrc/games/Makefile:1.506
--- pkgsrc/games/Makefile:1.505 Tue May  4 08:21:11 2021
+++ pkgsrc/games/Makefile       Sat Sep  4 10:36:29 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.505 2021/05/04 08:21:11 fcambus Exp $
+# $NetBSD: Makefile,v 1.506 2021/09/04 10:36:29 nia Exp $
 #
 
 COMMENT=       Games
@@ -107,6 +107,7 @@ SUBDIR+=    dunelegacy
 SUBDIR+=       dungeon
 SUBDIR+=       easyrpg-player
 SUBDIR+=       eboard
+SUBDIR+=       ecwolf
 SUBDIR+=       einstein-puzzle
 SUBDIR+=       endless-sky
 SUBDIR+=       enigma

Added files:

Index: pkgsrc/games/ecwolf/DESCR
diff -u /dev/null pkgsrc/games/ecwolf/DESCR:1.1
--- /dev/null   Sat Sep  4 10:36:29 2021
+++ pkgsrc/games/ecwolf/DESCR   Sat Sep  4 10:36:29 2021
@@ -0,0 +1,15 @@
+ECWolf is an advanced source port of the Wolfenstein 3D engine based upon
+Wolf4SDL with some back ports from ZDoom. It provides substantially boosted
+capabilities for creating mods without requiring source code edits using
+scripting and other tools familiar to users of ZDoom.
+
+For players it offers modern features such as support for modern control
+schemes and wide screen. Being based on the Wolfenstein 3D engine and using an
+enhanced version of the original software renderer, it provides a relatively
+accurate play experience to vanilla while modernizing.
+
+Currently supported games are Wolfenstein 3D, Spear of Destiny, and Super 3-D
+Noah's Ark.
+
+The original game data files are required for operation. These are files with
+the extensions *.n3d, *.sod, *.sd2, *.sd3, *.wl1, or *.wl6.
Index: pkgsrc/games/ecwolf/MESSAGE
diff -u /dev/null pkgsrc/games/ecwolf/MESSAGE:1.1
--- /dev/null   Sat Sep  4 10:36:29 2021
+++ pkgsrc/games/ecwolf/MESSAGE Sat Sep  4 10:36:29 2021
@@ -0,0 +1,8 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2021/09/04 10:36:29 nia Exp $
+
+The original game data files are required for operation. These are files
+with the extensions *.n3d, *.sod, *.sd2, *.sd3, *.wl1, or *.wl6. They
+should be placed either in ~/.config/ecwolf or ${PREFIX}/share/ecwolf.
+
+===========================================================================
Index: pkgsrc/games/ecwolf/Makefile
diff -u /dev/null pkgsrc/games/ecwolf/Makefile:1.1
--- /dev/null   Sat Sep  4 10:36:29 2021
+++ pkgsrc/games/ecwolf/Makefile        Sat Sep  4 10:36:29 2021
@@ -0,0 +1,72 @@
+# $NetBSD: Makefile,v 1.1 2021/09/04 10:36:29 nia Exp $
+
+DISTNAME=      1.3.3
+PKGNAME=       ecwolf-${DISTNAME}
+CATEGORIES=    games
+MASTER_SITES=  https://bitbucket.org/ecwolf/ecwolf/get/
+DIST_SUBDIR=   ecwolf
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://bitbucket.org/ecwolf/ecwolf
+COMMENT=       Advanced port of Wolfenstein 3D
+LICENSE=       gnu-gpl-v2
+
+WRKSRC=                ${WRKDIR}/ecwolf-ecwolf-d715e0a2f8d4
+
+USE_CMAKE=     yes
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= c c++
+
+# malloc_usable_size()...
+LDFLAGS.NetBSD+=       -ljemalloc
+
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths+=    docs/ecwolf.6
+SUBST_FILES.paths+=    src/wl_iwad.cpp
+SUBST_SED.paths=       -e 's,/usr/local/share/games/wolf3d,${PREFIX}/share/ecwolf,g'
+SUBST_VARS.paths=      PREFIX
+
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man6
+INSTALLATION_DIRS+=    libexec
+INSTALLATION_DIRS+=    share/ecwolf
+
+INSTALLATION_DIRS+=    share/applications
+INSTALLATION_DIRS+=    share/icons/hicolor/96x96/apps
+INSTALLATION_DIRS+=    share/icons/hicolor/72x72/apps
+INSTALLATION_DIRS+=    share/icons/hicolor/48x48/apps
+INSTALLATION_DIRS+=    share/icons/hicolor/36x36/apps
+
+pre-configure:
+       ${SED} -e 's,@PREFIX@,${PREFIX},g' < ${FILESDIR}/ecwolf.sh.in > \
+           ${WRKSRC}/ecwolf.sh
+
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/bin/ecwolf \
+               ${DESTDIR}${PREFIX}/libexec/ecwolf
+       ${INSTALL_SCRIPT} ${WRKSRC}/ecwolf.sh \
+               ${DESTDIR}${PREFIX}/bin/ecwolf
+       ${INSTALL_DATA} ${WRKSRC}/ecwolf.pk3 \
+               ${DESTDIR}${PREFIX}/share/ecwolf/ecwolf.pk3
+       ${INSTALL_MAN} ${WRKSRC}/docs/ecwolf.6 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/ecwolf.6
+       ${INSTALL_DATA} ${FILESDIR}/ecwolf.desktop \
+               ${DESTDIR}${PREFIX}/share/applications/ecwolf.desktop
+       ${INSTALL_DATA} ${WRKSRC}/android-libs/launcher/res/drawable-ldpi/ic_launcher.png \
+               ${DESTDIR}${PREFIX}/share/icons/hicolor/36x36/apps/ecwolf.png
+       ${INSTALL_DATA} ${WRKSRC}/android-libs/launcher/res/drawable-mdpi/ic_launcher.png \
+               ${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps/ecwolf.png
+       ${INSTALL_DATA} ${WRKSRC}/android-libs/launcher/res/drawable-hdpi/ic_launcher.png \
+               ${DESTDIR}${PREFIX}/share/icons/hicolor/72x72/apps/ecwolf.png
+       ${INSTALL_DATA} ${WRKSRC}/android-libs/launcher/res/drawable-xhdpi/ic_launcher.png \
+               ${DESTDIR}${PREFIX}/share/icons/hicolor/96x96/apps/ecwolf.png
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/ecwolf/PLIST
diff -u /dev/null pkgsrc/games/ecwolf/PLIST:1.1
--- /dev/null   Sat Sep  4 10:36:29 2021
+++ pkgsrc/games/ecwolf/PLIST   Sat Sep  4 10:36:29 2021
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2021/09/04 10:36:29 nia Exp $
+bin/ecwolf
+libexec/ecwolf
+man/man6/ecwolf.6
+share/applications/ecwolf.desktop
+share/ecwolf/ecwolf.pk3
+share/icons/hicolor/36x36/apps/ecwolf.png
+share/icons/hicolor/48x48/apps/ecwolf.png
+share/icons/hicolor/72x72/apps/ecwolf.png
+share/icons/hicolor/96x96/apps/ecwolf.png
Index: pkgsrc/games/ecwolf/distinfo
diff -u /dev/null pkgsrc/games/ecwolf/distinfo:1.1
--- /dev/null   Sat Sep  4 10:36:29 2021
+++ pkgsrc/games/ecwolf/distinfo        Sat Sep  4 10:36:29 2021
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2021/09/04 10:36:29 nia Exp $
+
+SHA1 (ecwolf/1.3.3.tar.gz) = 8b56638a7d5a7a0803a4cd5923bc62586598d8cd
+RMD160 (ecwolf/1.3.3.tar.gz) = 6bad3c6359ca7f6b694e0b6b2f6d567bb58225a5
+SHA512 (ecwolf/1.3.3.tar.gz) = bbce936a9ea556ba12a649c4394002d660a1e328861646d558ff7fc088e6ab6f0fab789955321ea0c1122df4043bd16b84bb7a7507e5ccab91cf128778c7608a
+Size (ecwolf/1.3.3.tar.gz) = 9618283 bytes
+SHA1 (patch-docs_ecwolf.6) = 981208f925e285f3e21fdbefd2c5c0e42251069b
+SHA1 (patch-src_wl__iwad__picker.cpp) = 786978d4e5a23154713166af914a55c0b45f60d2

Index: pkgsrc/games/ecwolf/files/ecwolf.desktop
diff -u /dev/null pkgsrc/games/ecwolf/files/ecwolf.desktop:1.1
--- /dev/null   Sat Sep  4 10:36:29 2021
+++ pkgsrc/games/ecwolf/files/ecwolf.desktop    Sat Sep  4 10:36:29 2021
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=ECWolf
+Comment=Advanced Wolfenstein 3D source port
+Exec=ecwolf
+Icon=ecwolf
+Categories=Game
Index: pkgsrc/games/ecwolf/files/ecwolf.sh.in
diff -u /dev/null pkgsrc/games/ecwolf/files/ecwolf.sh.in:1.1
--- /dev/null   Sat Sep  4 10:36:29 2021
+++ pkgsrc/games/ecwolf/files/ecwolf.sh.in      Sat Sep  4 10:36:29 2021
@@ -0,0 +1,2 @@
+#!/bin/sh
+cd "@PREFIX@/share/ecwolf" && exec "@PREFIX@/libexec/ecwolf" "$@"

Index: pkgsrc/games/ecwolf/patches/patch-docs_ecwolf.6
diff -u /dev/null pkgsrc/games/ecwolf/patches/patch-docs_ecwolf.6:1.1
--- /dev/null   Sat Sep  4 10:36:29 2021
+++ pkgsrc/games/ecwolf/patches/patch-docs_ecwolf.6     Sat Sep  4 10:36:29 2021
@@ -0,0 +1,44 @@
+$NetBSD: patch-docs_ecwolf.6,v 1.1 2021/09/04 10:36:29 nia Exp $
+
+Backport man page from git repository.
+
+--- docs/ecwolf.6.orig 2021-09-04 10:14:48.201844947 +0000
++++ docs/ecwolf.6
+@@ -0,0 +1,37 @@
++.TH ecwolf 6
++.SH NAME
++ecwolf - Advanced Wolfenstein 3D source port
++
++.SH SYNOPSIS
++.B ecwolf
++[\fIoptions\fR] [\fIfiles\fR ...]
++
++.SH DESCRIPTION
++.B ecwolf
++is an advanced source port of the Wolfenstein 3D engine based upon Wolf4SDL
++with some back ports from ZDoom. It provides substantially boosted capabilities
++for creating mods without requiring source code edits using scripting and other
++tools familiar to users of ZDoom.
++
++For players it offers modern features such as support for modern control
++schemes and wide screen. Being based on the Wolfenstein 3D engine and using an
++enhanced version of the original software renderer, it provides a relatively
++accurate play experience to vanilla while modernizing.
++
++Currently supported games are Wolfenstein 3D, Spear of Destiny, and Super 3-D
++Noah's Ark.
++
++.SH OPTIONS
++Use the --help option for a complete list of options.
++
++.SH FILES
++The original game data files are required for operation. These are files with
++the extensions *.n3d, *.sod, *.sd2, *.sd3, *.wl1, or *.wl6. They should be
++placed in
++.IR @PREFIX@/share/ecwolf .
++
++If you do not have these files they can be acquired at https://www.gog.com or
++through Steam.
++
++.SH BUGS
++The bug tracker is located at https://bitbucket.org/ecwolf/ecwolf/issues
Index: pkgsrc/games/ecwolf/patches/patch-src_wl__iwad__picker.cpp
diff -u /dev/null pkgsrc/games/ecwolf/patches/patch-src_wl__iwad__picker.cpp:1.1
--- /dev/null   Sat Sep  4 10:36:29 2021
+++ pkgsrc/games/ecwolf/patches/patch-src_wl__iwad__picker.cpp  Sat Sep  4 10:36:29 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_wl__iwad__picker.cpp,v 1.1 2021/09/04 10:36:29 nia Exp $
+
+Missing include for WIFEXITED.
+
+--- src/wl_iwad_picker.cpp.orig        2016-10-01 04:13:53.000000000 +0000
++++ src/wl_iwad_picker.cpp
+@@ -1,6 +1,7 @@
+ // From ZDoom!
+ 
+ #include <algorithm>
++#include <sys/wait.h>
+ 
+ #include "zdoomsupport.h"
+ 



Home | Main Index | Thread Index | Old Index