pkgsrc-WIP-changes archive

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

Import wipeout-rewrite as wip/wipeout-rewrite



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <charlotte%NetBSD.org@localhost>
Pushed By:	cfkoch
Date:		Sat Aug 12 23:01:02 2023 -0700
Changeset:	9f199526fed75c8f431c953611a110b2e550e08c

Modified Files:
	Makefile
Added Files:
	wipeout-rewrite/DESCR
	wipeout-rewrite/Makefile
	wipeout-rewrite/PLIST
	wipeout-rewrite/distinfo
	wipeout-rewrite/files/wipegame.template

Log Message:
Import wipeout-rewrite as wip/wipeout-rewrite

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

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

diffstat:
 Makefile                                |  1 +
 wipeout-rewrite/DESCR                   |  1 +
 wipeout-rewrite/Makefile                | 39 +++++++++++++++++++++++++++++++++
 wipeout-rewrite/PLIST                   |  3 +++
 wipeout-rewrite/distinfo                |  5 +++++
 wipeout-rewrite/files/wipegame.template |  5 +++++
 6 files changed, 54 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index df22c380d7..69c87235d9 100644
--- a/Makefile
+++ b/Makefile
@@ -5776,6 +5776,7 @@ SUBDIR+=	wine64-dev
 SUBDIR+=	wings
 SUBDIR+=	winwrangler
 SUBDIR+=	wip-tools
+SUBDIR+=	wipeout-rewrite
 SUBDIR+=	wireguard-go
 SUBDIR+=	wireless-tools
 SUBDIR+=	wireshark2
diff --git a/wipeout-rewrite/DESCR b/wipeout-rewrite/DESCR
new file mode 100644
index 0000000000..2a7eb8e617
--- /dev/null
+++ b/wipeout-rewrite/DESCR
@@ -0,0 +1 @@
+This is a re-implementation of the 1995 PSX game WipEout.
diff --git a/wipeout-rewrite/Makefile b/wipeout-rewrite/Makefile
new file mode 100644
index 0000000000..c790e35988
--- /dev/null
+++ b/wipeout-rewrite/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD$
+
+DISTNAME=	wipeout-rewrite-20230811
+CATEGORIES=	games
+MASTER_SITES=	${MASTER_SITE_GITHUB:=phoboslab/}
+GITHUB_TAG=	f0fdfa2aabe07cd0e760c8aa1d9b1c5562b64670
+
+MAINTAINER=	charlotte%NetBSD.org@localhost
+HOMEPAGE=	https://phoboslab.org/wipegame/
+COMMENT=	Reimplementation of the 1995 PSX game
+
+# XXX From the README re: the license: "There is none" (uh-huh, okay) BUT
+# ALSO "you may NOT use this source code in a commercial release." And it's
+# all despite the fact this is mostly original code... the upstream author
+# is most likely confused about how copyright works.
+LICENSE=	XXX
+
+NO_CONFIGURE=	yes
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	gmake
+
+MAKE_FLAGS+=	C_FLAGS="${CFLAGS} -DRENDERER_GL"
+MAKE_FLAGS+=	L_FLAGS="${LDFLAGS} -lGLEW -lGL -lSDL2"
+MAKE_FLAGS+=	UNAME_S=Linux
+BUILD_TARGET=	sdl
+
+INSTALLATION_DIRS+=	bin libexec
+
+pre-build:
+	${SED} -e 's,@@PREFIX@@,${PREFIX},g' \
+		${FILESDIR}/wipegame.template > ${WRKDIR}/wipegame
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKDIR}/wipegame ${DESTDIR}${PREFIX}/bin/wipegame
+	${INSTALL_PROGRAM} ${WRKSRC}/wipegame ${DESTDIR}${PREFIX}/libexec/wipegame
+
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/wipeout-rewrite/PLIST b/wipeout-rewrite/PLIST
new file mode 100644
index 0000000000..58a51450f5
--- /dev/null
+++ b/wipeout-rewrite/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/wipegame
+libexec/wipegame
diff --git a/wipeout-rewrite/distinfo b/wipeout-rewrite/distinfo
new file mode 100644
index 0000000000..00765aeaaf
--- /dev/null
+++ b/wipeout-rewrite/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (wipeout-rewrite-20230811-f0fdfa2aabe07cd0e760c8aa1d9b1c5562b64670.tar.gz) = d579c4fb23b9a7789dd91d3fc614b8c3a7a16239776a5fbd74f017dae3cf1404
+SHA512 (wipeout-rewrite-20230811-f0fdfa2aabe07cd0e760c8aa1d9b1c5562b64670.tar.gz) = a1d696ade62520456b5e1406bdbd095c9e99c329a1b0b0b93a678a10ff8b9c0ec17471ab1b5df404e8ce5294fcdbf948b3224c6cdba1ba92dab70753ca77b438
+Size (wipeout-rewrite-20230811-f0fdfa2aabe07cd0e760c8aa1d9b1c5562b64670.tar.gz) = 262552 bytes
diff --git a/wipeout-rewrite/files/wipegame.template b/wipeout-rewrite/files/wipegame.template
new file mode 100644
index 0000000000..e4a6b0cf7d
--- /dev/null
+++ b/wipeout-rewrite/files/wipegame.template
@@ -0,0 +1,5 @@
+#!/bin/sh
+# $NetBSD$
+# Launcher script for wipegame.
+set -e
+cd @@PREFIX@@/share/wipeout-rewrite && @@PREFIX@@/libexec/wipegame


Home | Main Index | Thread Index | Old Index