Date: Sat, 11 Jan 2020 15:55:35 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522693 - in head/games: . vvvvvv vvvvvv/files Message-ID: <202001111555.00BFtZhp035301@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: manu Date: Sat Jan 11 15:55:35 2020 New Revision: 522693 URL: https://svnweb.freebsd.org/changeset/ports/522693 Log: games/vvvvvv: New port VVVVVV is a 2D platformer inspired by the Commodore C64 era. Added: head/games/vvvvvv/ head/games/vvvvvv/Makefile (contents, props changed) head/games/vvvvvv/distinfo (contents, props changed) head/games/vvvvvv/files/ head/games/vvvvvv/files/patch-src_FileSystemUtils.cpp (contents, props changed) head/games/vvvvvv/pkg-descr (contents, props changed) head/games/vvvvvv/pkg-message (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Sat Jan 11 15:40:49 2020 (r522692) +++ head/games/Makefile Sat Jan 11 15:55:35 2020 (r522693) @@ -990,6 +990,7 @@ SUBDIR += volleyball SUBDIR += vor SUBDIR += vultures-eye + SUBDIR += vvvvvv SUBDIR += wanderer SUBDIR += wargus SUBDIR += warmux Added: head/games/vvvvvv/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/vvvvvv/Makefile Sat Jan 11 15:55:35 2020 (r522693) @@ -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> Added: head/games/vvvvvv/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/vvvvvv/distinfo Sat Jan 11 15:55:35 2020 (r522693) @@ -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 Added: head/games/vvvvvv/files/patch-src_FileSystemUtils.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/vvvvvv/files/patch-src_FileSystemUtils.cpp Sat Jan 11 15:55:35 2020 (r522693) @@ -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 Added: head/games/vvvvvv/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/vvvvvv/pkg-descr Sat Jan 11 15:55:35 2020 (r522693) @@ -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 Added: head/games/vvvvvv/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/vvvvvv/pkg-message Sat Jan 11 15:55:35 2020 (r522693) @@ -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 +} +]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001111555.00BFtZhp035301>