From owner-svn-ports-head@freebsd.org Sun Oct 28 17:29:15 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C959810DADA4; Sun, 28 Oct 2018 17:29:15 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C6E38E457; Sun, 28 Oct 2018 17:29:15 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 47F9822644; Sun, 28 Oct 2018 17:29:15 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9SHTF3E085208; Sun, 28 Oct 2018 17:29:15 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9SHTEiA085204; Sun, 28 Oct 2018 17:29:14 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201810281729.w9SHTEiA085204@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 28 Oct 2018 17:29:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483319 - in head/games/meandmyshadow: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/games/meandmyshadow: . files X-SVN-Commit-Revision: 483319 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2018 17:29:16 -0000 Author: amdmi3 Date: Sun Oct 28 17:29:13 2018 New Revision: 483319 URL: https://svnweb.freebsd.org/changeset/ports/483319 Log: - Update to 0.5 Added: head/games/meandmyshadow/files/ head/games/meandmyshadow/files/patch-CMakeLists.txt (contents, props changed) head/games/meandmyshadow/files/patch-src_Functions.cpp (contents, props changed) Modified: head/games/meandmyshadow/Makefile head/games/meandmyshadow/distinfo head/games/meandmyshadow/pkg-descr Modified: head/games/meandmyshadow/Makefile ============================================================================== --- head/games/meandmyshadow/Makefile Sun Oct 28 16:50:32 2018 (r483318) +++ head/games/meandmyshadow/Makefile Sun Oct 28 17:29:13 2018 (r483319) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= meandmyshadow -PORTVERSION= 0.4.1 -PORTREVISION= 4 +PORTVERSION= 0.5 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src @@ -16,9 +15,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl -USES= cmake libarchive ssl -USE_SDL= sdl ttf image mixer image gfx -USE_GL= gl glu +USES= cmake dos2unix libarchive lua:53 +DOS2UNIX_FILES= CMakeLists.txt src/Functions.cpp +USE_SDL= sdl2 image2 ttf2 mixer2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} Modified: head/games/meandmyshadow/distinfo ============================================================================== --- head/games/meandmyshadow/distinfo Sun Oct 28 16:50:32 2018 (r483318) +++ head/games/meandmyshadow/distinfo Sun Oct 28 17:29:13 2018 (r483319) @@ -1,2 +1,3 @@ -SHA256 (meandmyshadow-0.4.1-src.tar.gz) = 25dd24f1f34e274a23b7b85116b6c3c2172af2069d0d028c0e00785c0e6b8572 -SIZE (meandmyshadow-0.4.1-src.tar.gz) = 17017718 +TIMESTAMP = 1539012144 +SHA256 (meandmyshadow-0.5-src.tar.gz) = 75d4914ae7275402bce3f544125271c262a15ae53e61292c9768bbb60772d8ac +SIZE (meandmyshadow-0.5-src.tar.gz) = 17526981 Added: head/games/meandmyshadow/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/meandmyshadow/files/patch-CMakeLists.txt Sun Oct 28 17:29:13 2018 (r483319) @@ -0,0 +1,29 @@ +--- CMakeLists.txt.orig 2018-10-07 15:06:26 UTC ++++ CMakeLists.txt +@@ -2,6 +2,13 @@ Project (meandmyshadow) + CMake_Minimum_Required (VERSION 3.1) + Set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") + ++#Path options ++Set (BINDIR "bin" CACHE STRING "Where to install binaries") ++Set (DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share" CACHE STRING "Sets the root of data directories to a non-default location") ++Set (ICONDIR "${DATAROOTDIR}/icons" CACHE STRING "Sets the icon directory for desktop entry to a non-default location.") ++Set (DESKTOPDIR "${DATAROOTDIR}/applications" CACHE STRING "Sets the desktop file directory for desktop entry to a non-default location.") ++ ++#Options + Option (DEBUG_MODE "Compile the game with debug mode enabled" OFF) + Option (DISABLED_DEBUG_STUFF "Enable this you'll see a lot of annoying script debug messages which will lag the game." OFF) + +@@ -164,12 +171,6 @@ Target_Link_Libraries ( + ${LUA_LIBRARIES} + ) + +-#Path options +-Set (BINDIR "bin" CACHE STRING "Where to install binaries") +-Set (DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share" CACHE STRING "Sets the root of data directories to a non-default location") +-Set (ICONDIR "${DATAROOTDIR}/icons" CACHE STRING "Sets the icon directory for desktop entry to a non-default location.") +-Set (DESKTOPDIR "${DATAROOTDIR}/applications" CACHE STRING "Sets the desktop file directory for desktop entry to a non-default location.") +- + #Install locations + Install (DIRECTORY ${PROJECT_SOURCE_DIR}/data DESTINATION ${DATAROOTDIR}/meandmyshadow/) + Install (FILES AUTHORS DESTINATION ${DATAROOTDIR}/meandmyshadow/) Added: head/games/meandmyshadow/files/patch-src_Functions.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/meandmyshadow/files/patch-src_Functions.cpp Sun Oct 28 17:29:13 2018 (r483319) @@ -0,0 +1,11 @@ +--- src/Functions.cpp.orig 2018-10-07 15:06:26 UTC ++++ src/Functions.cpp +@@ -416,7 +416,7 @@ void onVideoResize(ImageManager& imageMa + + ScreenData init(){ + //Initialze SDL. +- if(SDL_Init(SDL_INIT_EVERYTHING)==-1) { ++ if(SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO|SDL_INIT_JOYSTICK|SDL_INIT_TIMER)==-1) { + std::cerr << "FATAL ERROR: SDL_Init failed\nError: " << SDL_GetError() << std::endl; + return creationFailed(); + } Modified: head/games/meandmyshadow/pkg-descr ============================================================================== --- head/games/meandmyshadow/pkg-descr Sun Oct 28 16:50:32 2018 (r483318) +++ head/games/meandmyshadow/pkg-descr Sun Oct 28 17:29:13 2018 (r483319) @@ -2,4 +2,4 @@ Me and My Shadow is a puzzle/platform game written by The author has given us permission to gpl the game, and develop it further. It has an interesting concept and rather unique gameplay. -WWW: http://meandmyshadow.sourceforge.net/ +WWW: https://acmepjz.github.io/meandmyshadow/