mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
games/vvvvvv: New port
VVVVVV is a 2D platformer inspired by the Commodore C64 era.
This commit is contained in:
parent
4fbbc5f31e
commit
666cecefaf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=522693
@ -990,6 +990,7 @@
|
||||
SUBDIR += volleyball
|
||||
SUBDIR += vor
|
||||
SUBDIR += vultures-eye
|
||||
SUBDIR += vvvvvv
|
||||
SUBDIR += wanderer
|
||||
SUBDIR += wargus
|
||||
SUBDIR += warmux
|
||||
|
32
games/vvvvvv/Makefile
Normal file
32
games/vvvvvv/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# Created by: Emmanuel Vadot <manu@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= VVVVVV
|
||||
PORTVERSION= v2.2
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= manu@FreeBSD.org
|
||||
COMMENT= 2D Platformer game
|
||||
|
||||
LICENSE= UNKNOWN
|
||||
LICENSE_NAME= unknown
|
||||
LICENSE_FILE= ${WRKSRC}/../LICENSE.md
|
||||
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
|
||||
|
||||
USES= sdl cmake
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= TerryCavanagh
|
||||
GH_PROJECT= ${PORTNAME}
|
||||
GH_TAGNAME= cb3640e5
|
||||
|
||||
WRKSRC_SUBDIR= desktop_version
|
||||
|
||||
USE_SDL= sdl2 mixer2
|
||||
|
||||
PLIST_FILES= bin/vvvvvv
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKDIR}/.build/vvvvvv.x86_64 ${STAGEDIR}${PREFIX}/bin/vvvvvv
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vvvvvv
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/vvvvvv/distinfo
Normal file
3
games/vvvvvv/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1578694479
|
||||
SHA256 (TerryCavanagh-VVVVVV-v2.2-cb3640e5_GH0.tar.gz) = d936ad517ef9b8236148cd8161201d23f55b98dc6a03f3b2763612abb11a1615
|
||||
SIZE (TerryCavanagh-VVVVVV-v2.2-cb3640e5_GH0.tar.gz) = 827825
|
15
games/vvvvvv/files/patch-src_FileSystemUtils.cpp
Normal file
15
games/vvvvvv/files/patch-src_FileSystemUtils.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
--- src/FileSystemUtils.cpp.orig 2020-01-10 22:11:00 UTC
|
||||
+++ src/FileSystemUtils.cpp
|
||||
@@ -73,6 +73,12 @@ int FILESYSTEM_init(char *argvZero)
|
||||
#ifdef _WIN32
|
||||
strcpy(output, PHYSFS_getBaseDir());
|
||||
strcat(output, "data.zip");
|
||||
+#elif defined(__FreeBSD__)
|
||||
+ PLATFORM_getOSDirectory(output);
|
||||
+ if (strlcat(output, "data.zip", sizeof(output)) >= sizeof(output)) {
|
||||
+ puts("Cannot find location for data.zip\n");
|
||||
+ return 0;
|
||||
+ }
|
||||
#else
|
||||
strcpy(output, "data.zip");
|
||||
#endif
|
5
games/vvvvvv/pkg-descr
Normal file
5
games/vvvvvv/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
VVVVVV is a 2D platform game.
|
||||
Unlike other platform game you cannot jump but only invert the gravity.
|
||||
Graphism and music are heavily inspired by the Commodore C64 era.
|
||||
|
||||
WWW: https://github.com/TerryCavanagh/VVVVVV
|
9
games/vvvvvv/pkg-message
Normal file
9
games/vvvvvv/pkg-message
Normal file
@ -0,0 +1,9 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
VVVVVV requires the data files from an official copy.
|
||||
|
||||
Take the data.zip file and put it in ~/.local/share/VVVVVV
|
||||
EOM
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user