From owner-svn-ports-all@freebsd.org Wed Nov 22 20:04:02 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D8ABDF4438; Wed, 22 Nov 2017 20:04:02 +0000 (UTC) (envelope-from yuri@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 mx1.freebsd.org (Postfix) with ESMTPS id 76C1F67995; Wed, 22 Nov 2017 20:04:02 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAMK41U5066113; Wed, 22 Nov 2017 20:04:01 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAMK41k7066106; Wed, 22 Nov 2017 20:04:01 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201711222004.vAMK41k7066106@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 22 Nov 2017 20:04:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454703 - in head/games: . openclaw openclaw/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/games: . openclaw openclaw/files X-SVN-Commit-Revision: 454703 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Nov 2017 20:04:02 -0000 Author: yuri Date: Wed Nov 22 20:04:01 2017 New Revision: 454703 URL: https://svnweb.freebsd.org/changeset/ports/454703 Log: New port: games/openclaw: Reimplementation of Captain Claw (1997) platformer PR: 223139 Submitted by: Greg V Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13164 Added: head/games/openclaw/ head/games/openclaw/Makefile (contents, props changed) head/games/openclaw/distinfo (contents, props changed) head/games/openclaw/files/ head/games/openclaw/files/pkg-message.in (contents, props changed) head/games/openclaw/pkg-descr (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Wed Nov 22 19:52:48 2017 (r454702) +++ head/games/Makefile Wed Nov 22 20:04:01 2017 (r454703) @@ -691,6 +691,7 @@ SUBDIR += openbor4432 SUBDIR += openbubbles SUBDIR += opencity + SUBDIR += openclaw SUBDIR += openclonk SUBDIR += opengfx SUBDIR += openglad Added: head/games/openclaw/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openclaw/Makefile Wed Nov 22 20:04:01 2017 (r454703) @@ -0,0 +1,73 @@ +# $FreeBSD$ + +PORTNAME= OpenClaw +DISTVERSION= 0.0-51 +DISTVERSIONSUFFIX= -gbac7730 +CATEGORIES= games + +MAINTAINER= greg@unrelenting.technology +COMMENT= Reimplementation of Captain Claw (1997) platformer + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +LIB_DEPENDS= libtinyxml.so:textproc/tinyxml + +USES= cmake:outsource compiler:c++11-lib pkgconfig localbase:ldflags +USE_GITHUB= yes +GH_ACCOUNT= pjasicek +USE_SDL= gfx2 image2 mixer2 ttf2 + +PLIST_FILES= bin/openclaw +PORTDATA= ASSETS.ZIP SAVES.XML clacon.ttf config.xml console02.tga +SUB_FILES= pkg-message + +OPTIONS_DEFINE= LAUNCHER +OPTIONS_DEFAULT= LAUNCHER + +LAUNCHER_DESC= Install launcher to manage game settings +LAUNCHER_USES= mono +LAUNCHER_BUILD_DEPENDS= convert:graphics/ImageMagick +LAUNCHER_PLIST_FILES= bin/ClawLauncher.exe bin/clawlauncher +LAUNCHER_DESKTOP_ENTRIES= \ + "${GH_PROJECT}" \ + "" \ + "${PORTNAME:tl}" \ + "clawlauncher" \ + "Game;ArcadeGame;" \ + "" + +post-patch: + @${REINPLACE_CMD} '/CMAKE_RUNTIME_OUTPUT_DIRECTORY/d; s| -O2 -g||' \ + ${WRKSRC}/CMakeLists.txt + @${REINPLACE_CMD} -e 's|/usr/share/openclaw|${DATADIR}|g' \ + ${WRKSRC}/Build_Release/clawlauncher \ + ${WRKSRC}/Build_Release/config_linux_release.xml + +pre-build: + @cd ${WRKSRC}/Build_Release && ${CP} config_linux_release.xml config.xml + +post-build-LAUNCHER-on: + @convert -verbose -set filename:size %wx%h \ + ${WRKSRC}/ClawLauncher/Resources/launcher_icon.ico \ + ${WRKDIR}/launcher_icon_%\[filename:size].png + +do-install: + ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME:tl} \ + ${STAGEDIR}${PREFIX}/bin + @cd ${WRKSRC}/Build_Release && ${COPYTREE_SHARE} \ + "${PORTDATA}" ${STAGEDIR}${DATADIR} + +do-install-LAUNCHER-on: + ${INSTALL_SCRIPT} ${WRKSRC}/Build_Release/ClawLauncher.exe \ + ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/Build_Release/clawlauncher \ + ${STAGEDIR}${PREFIX}/bin +.for size in 16x16 24x24 32x32 48x48 64x64 96x96 128x128 192x192 256x256 + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}/apps + ${INSTALL_DATA} ${WRKDIR}/launcher_icon_${size}.png \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}/apps/${PORTNAME:tl}.png + @${ECHO_CMD} share/icons/hicolor/${size}/apps/${PORTNAME:tl}.png >> ${TMPPLIST} +.endfor + +.include Added: head/games/openclaw/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openclaw/distinfo Wed Nov 22 20:04:01 2017 (r454703) @@ -0,0 +1,3 @@ +TIMESTAMP = 1511143151 +SHA256 (pjasicek-OpenClaw-0.0-51-gbac7730_GH0.tar.gz) = 61f5e4d440615a08369591562e2d9489235676bee4bd0182050768eb6ca48af2 +SIZE (pjasicek-OpenClaw-0.0-51-gbac7730_GH0.tar.gz) = 26516775 Added: head/games/openclaw/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openclaw/files/pkg-message.in Wed Nov 22 20:04:01 2017 (r454703) @@ -0,0 +1,6 @@ +============================================================================== +To complete the installation of this port you need to copy the file +"CLAW.REZ" from the original Captain Claw distribution to +%%DATADIR%%. +============================================================================== + Added: head/games/openclaw/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openclaw/pkg-descr Wed Nov 22 20:04:01 2017 (r454703) @@ -0,0 +1,4 @@ +A multiplatform C++ reimplementation of original Captain Claw (1997) platformer +game using SDL2 and Box2D. + +WWW: https://github.com/pjasicek/OpenClaw