pkgsrc-WIP-changes archive

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

Import ironwail 0.6.0 as wip/ironwail



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <charlotte%NetBSD.org@localhost>
Pushed By:	cfkoch
Date:		Sat Jan 14 11:41:45 2023 -0800
Changeset:	f3009149694f814f824c894271fab5f12bde4958

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

Log Message:
Import ironwail 0.6.0 as wip/ironwail

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f3009149694f814f824c894271fab5f12bde4958

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

diffstat:
 Makefile                              |  1 +
 ironwail/DESCR                        |  3 +++
 ironwail/Makefile                     | 33 +++++++++++++++++++++++++++++++++
 ironwail/PLIST                        |  4 ++++
 ironwail/distinfo                     |  7 +++++++
 ironwail/files/ironwail.template      |  7 +++++++
 ironwail/patches/patch-Quake_Makefile | 28 ++++++++++++++++++++++++++++
 7 files changed, 83 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 2280424175..22f8d3030c 100644
--- a/Makefile
+++ b/Makefile
@@ -1839,6 +1839,7 @@ SUBDIR+=	iptables
 SUBDIR+=	iptstate
 SUBDIR+=	ircII-current
 SUBDIR+=	ironpython
+SUBDIR+=	ironwail
 SUBDIR+=	irrxml
 SUBDIR+=	irssi-otr
 SUBDIR+=	ised
diff --git a/ironwail/DESCR b/ironwail/DESCR
new file mode 100644
index 0000000000..7857fab929
--- /dev/null
+++ b/ironwail/DESCR
@@ -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.
diff --git a/ironwail/Makefile b/ironwail/Makefile
new file mode 100644
index 0000000000..a595b86595
--- /dev/null
+++ b/ironwail/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD$
+
+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"
diff --git a/ironwail/PLIST b/ironwail/PLIST
new file mode 100644
index 0000000000..b2da24f4e0
--- /dev/null
+++ b/ironwail/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/ironwail
+libexec/ironwail
+share/ironwail/ironwail.pak
diff --git a/ironwail/distinfo b/ironwail/distinfo
new file mode 100644
index 0000000000..087f7cb890
--- /dev/null
+++ b/ironwail/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (ironwail-0.6.0.tar.gz) = bcb79203aa05c652d75dd0025ef4e793983a79a4
+RMD160 (ironwail-0.6.0.tar.gz) = 09cffa04537db48ca66b76172a4a68f2fe9920fa
+SHA512 (ironwail-0.6.0.tar.gz) = 05d963496259d6acade8314962f6b141b5ccb9e784ca70ace6f8c57cf06f0ae7f57a6a42f57fe55d9e9be3796c669e40ab9917a9abcabaacff1fdf5ea70d2ad8
+Size (ironwail-0.6.0.tar.gz) = 5634065 bytes
+SHA1 (patch-Quake_Makefile) = 894947fba3fbc1f91dff381266f178accce08461
diff --git a/ironwail/files/ironwail.template b/ironwail/files/ironwail.template
new file mode 100644
index 0000000000..17be4c3cf8
--- /dev/null
+++ b/ironwail/files/ironwail.template
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# $NetBSD$
+# Launcher script for ironwail.
+#
+set -e
+cd @@PREFIX@@/share/ironwail && @@PREFIX@@/libexec/ironwail
diff --git a/ironwail/patches/patch-Quake_Makefile b/ironwail/patches/patch-Quake_Makefile
new file mode 100644
index 0000000000..aad608478d
--- /dev/null
+++ b/ironwail/patches/patch-Quake_Makefile
@@ -0,0 +1,28 @@
+$NetBSD$
+
+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