Wed Feb 15 03:26:36 2023 UTC ()
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.
(charlotte)
diff -r0 -r1.1 pkgsrc/games/ironwail/DESCR
diff -r0 -r1.1 pkgsrc/games/ironwail/MESSAGE
diff -r0 -r1.1 pkgsrc/games/ironwail/Makefile
diff -r0 -r1.1 pkgsrc/games/ironwail/PLIST
diff -r0 -r1.1 pkgsrc/games/ironwail/distinfo
diff -r0 -r1.1 pkgsrc/games/ironwail/files/ironwail.template
diff -r0 -r1.1 pkgsrc/games/ironwail/patches/patch-Quake_Makefile
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.
===========================================================================
$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
===========================================================================
# $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
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"
@comment $NetBSD: PLIST,v 1.1 2023/02/15 03:26:35 charlotte Exp $
bin/ironwail
libexec/ironwail
share/ironwail/ironwail.pak
$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
#!/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
$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)