pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/ironwail



Module Name:    pkgsrc
Committed By:   charlotte
Date:           Wed Feb 15 03:26:36 UTC 2023

Added Files:
        pkgsrc/games/ironwail: DESCR MESSAGE Makefile PLIST distinfo
        pkgsrc/games/ironwail/files: ironwail.template
        pkgsrc/games/ironwail/patches: patch-Quake_Makefile

Log Message:
games/ironwail: Import package

A fork of the popular GLQuake descendant QuakeSpasm with a focus on high
performance instead of maximum compatibility, with a few extra features
sprinkled on top.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/games/ironwail/DESCR \
    pkgsrc/games/ironwail/MESSAGE pkgsrc/games/ironwail/Makefile \
    pkgsrc/games/ironwail/PLIST pkgsrc/games/ironwail/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/ironwail/files/ironwail.template
cvs rdiff -u -r0 -r1.1 pkgsrc/games/ironwail/patches/patch-Quake_Makefile

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

Added files:

Index: pkgsrc/games/ironwail/DESCR
diff -u /dev/null pkgsrc/games/ironwail/DESCR:1.1
--- /dev/null   Wed Feb 15 03:26:36 2023
+++ pkgsrc/games/ironwail/DESCR Wed Feb 15 03:26:35 2023
@@ -0,0 +1,3 @@
+A fork of the popular GLQuake descendant QuakeSpasm with a focus on high
+performance instead of maximum compatibility, with a few extra features
+sprinkled on top.
Index: pkgsrc/games/ironwail/MESSAGE
diff -u /dev/null pkgsrc/games/ironwail/MESSAGE:1.1
--- /dev/null   Wed Feb 15 03:26:36 2023
+++ pkgsrc/games/ironwail/MESSAGE       Wed Feb 15 03:26:35 2023
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2023/02/15 03:26:35 charlotte Exp $
+
+This package provides only the game engine. In order to play the game,
+please obtain a copy of Quake, and install the data files to the following
+directory:
+
+       ${PREFIX}/share/ironwail
+
+===========================================================================
Index: pkgsrc/games/ironwail/Makefile
diff -u /dev/null pkgsrc/games/ironwail/Makefile:1.1
--- /dev/null   Wed Feb 15 03:26:36 2023
+++ pkgsrc/games/ironwail/Makefile      Wed Feb 15 03:26:35 2023
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2023/02/15 03:26:35 charlotte Exp $
+
+DISTNAME=      ironwail-0.6.0
+CATEGORIES=    games
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=andrei-drexler/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    charlotte%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/andre-drexler/ironwail
+COMMENT=       High performance QuakeSpasm fork
+LICENSE=       gnu-gpl-v2
+
+USE_LANGUAGES= c
+USE_TOOLS+=    gmake
+
+NO_CONFIGURE=  yes
+
+BUILD_DIRS=    Quake
+BUILD_TARGET=  release
+
+INSTALLATION_DIRS+=    bin
+
+post-extract:
+       ${SED} -e 's,@@PREFIX@@,${PREFIX},g' \
+               ${FILESDIR}/ironwail.template > ${WRKDIR}/ironwail
+
+post-install:
+       ${INSTALL_SCRIPT} ${WRKDIR}/ironwail ${DESTDIR}${PREFIX}/bin/ironwail
+
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/ironwail/PLIST
diff -u /dev/null pkgsrc/games/ironwail/PLIST:1.1
--- /dev/null   Wed Feb 15 03:26:36 2023
+++ pkgsrc/games/ironwail/PLIST Wed Feb 15 03:26:35 2023
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2023/02/15 03:26:35 charlotte Exp $
+bin/ironwail
+libexec/ironwail
+share/ironwail/ironwail.pak
Index: pkgsrc/games/ironwail/distinfo
diff -u /dev/null pkgsrc/games/ironwail/distinfo:1.1
--- /dev/null   Wed Feb 15 03:26:36 2023
+++ pkgsrc/games/ironwail/distinfo      Wed Feb 15 03:26:35 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/02/15 03:26:35 charlotte Exp $
+
+BLAKE2s (ironwail-0.6.0.tar.gz) = 4499d02b4ae3b94d05bef07d17028dba6a139f6d5833acfaeacb73d8ffe7c222
+SHA512 (ironwail-0.6.0.tar.gz) = 05d963496259d6acade8314962f6b141b5ccb9e784ca70ace6f8c57cf06f0ae7f57a6a42f57fe55d9e9be3796c669e40ab9917a9abcabaacff1fdf5ea70d2ad8
+Size (ironwail-0.6.0.tar.gz) = 5634065 bytes
+SHA1 (patch-Quake_Makefile) = 894947fba3fbc1f91dff381266f178accce08461

Index: pkgsrc/games/ironwail/files/ironwail.template
diff -u /dev/null pkgsrc/games/ironwail/files/ironwail.template:1.1
--- /dev/null   Wed Feb 15 03:26:36 2023
+++ pkgsrc/games/ironwail/files/ironwail.template       Wed Feb 15 03:26:35 2023
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# $NetBSD: ironwail.template,v 1.1 2023/02/15 03:26:35 charlotte Exp $
+# Launcher script for ironwail.
+#
+set -e
+cd @@PREFIX@@/share/ironwail && @@PREFIX@@/libexec/ironwail

Index: pkgsrc/games/ironwail/patches/patch-Quake_Makefile
diff -u /dev/null pkgsrc/games/ironwail/patches/patch-Quake_Makefile:1.1
--- /dev/null   Wed Feb 15 03:26:36 2023
+++ pkgsrc/games/ironwail/patches/patch-Quake_Makefile  Wed Feb 15 03:26:36 2023
@@ -0,0 +1,28 @@
+$NetBSD: patch-Quake_Makefile,v 1.1 2023/02/15 03:26:36 charlotte Exp $
+
+Fixup installation paths, and allow LDFLAGS to be set on command line.
+
+--- Quake/Makefile.orig        2022-05-12 13:24:15.000000000 -0700
++++ Quake/Makefile     2023-01-14 11:49:22.894772880 -0800
+@@ -50,7 +50,7 @@
+ PKG_CONFIG ?= pkg-config
+ 
+ CPUFLAGS=
+-LDFLAGS =
++LDFLAGS ?=
+ DFLAGS ?=
+ CFLAGS ?= -Wall -Wno-trigraphs
+ CFLAGS += $(CPUFLAGS)
+@@ -317,8 +317,10 @@
+       rm -f $(shell find . \( -name '*~' -o -name '#*#' -o -name '*.o' -o -name '*.d' -o -name '*.res' -o -name $(DEFAULT_TARGET) \) -print)
+ 
+ install:      ironwail
+-      cp ironwail /usr/local/games/quake
+-      cp ironwail.pak /usr/local/games/quake
++      install -d $(DESTDIR)$(PREFIX)/libexec
++      install -m0755 ironwail $(DESTDIR)$(PREFIX)/libexec
++      install -d $(DESTDIR)$(PREFIX)/share/ironwail
++      install -m0644 ironwail.pak $(DESTDIR)$(PREFIX)/share/ironwail
+ 
+ #---------------------------------------------------------------
+ # include dependencies (if not running 'clean' target)



Home | Main Index | Thread Index | Old Index