From owner-svn-ports-head@freebsd.org Mon Nov 14 15:13:32 2016 Return-Path: Delivered-To: svn-ports-head@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 B74A9C41470; Mon, 14 Nov 2016 15:13:32 +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 mx1.freebsd.org (Postfix) with ESMTPS id 917C97E0; Mon, 14 Nov 2016 15:13:32 +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 uAEFDVDL038212; Mon, 14 Nov 2016 15:13:31 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAEFDVv8038205; Mon, 14 Nov 2016 15:13:31 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201611141513.uAEFDVv8038205@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 14 Nov 2016 15:13:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426113 - in head/games/xmoto: . files X-SVN-Group: ports-head 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.23 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: Mon, 14 Nov 2016 15:13:32 -0000 Author: amdmi3 Date: Mon Nov 14 15:13:30 2016 New Revision: 426113 URL: https://svnweb.freebsd.org/changeset/ports/426113 Log: - Pet portlint - Switch to USES=localbase - Switch to options helpers - Regenerate patches Modified: head/games/xmoto/Makefile head/games/xmoto/files/patch-src-GameInit.cpp head/games/xmoto/files/patch-src-VTexture.h head/games/xmoto/files/patch-src-WWW.cpp head/games/xmoto/files/patch-src-drawlib-DrawLibOpenGL.cpp head/games/xmoto/files/patch-src-helpers-System.cpp head/games/xmoto/files/patch-src-include-xm__hashmap.h Modified: head/games/xmoto/Makefile ============================================================================== --- head/games/xmoto/Makefile Mon Nov 14 15:11:24 2016 (r426112) +++ head/games/xmoto/Makefile Mon Nov 14 15:13:30 2016 (r426113) @@ -12,29 +12,36 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Challenging 2D motocross platform game +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libpng.so:graphics/png \ libcurl.so:ftp/curl \ libxdg-basedir.so:x11/libxdg-basedir BUILD_DEPENDS= ${LOCALBASE}/lib/libode.a:devel/ode -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - GNU_CONFIGURE= yes -USES= compiler:features dos2unix gmake jpeg lua:51 sqlite +USES= compiler:features dos2unix gmake jpeg localbase lua:51 sqlite USE_GNOME= libxml2 USE_SDL= sdl mixer ttf net USE_GL= gl glu DOS2UNIX_GLOB= *.cpp *.h -CPPFLAGS+= -I${LOCALBASE}/include -I${LUA_INCDIR} -LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR} +CPPFLAGS+= -isystem${LUA_INCDIR} +LDFLAGS+= -L${LUA_LIBDIR} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= README ChangeLog PORTDATA= * +DESKTOP_ENTRIES="XMoto" \ + "Motorcross game" \ + "${DATADIR}/xmoto_icone_x.ico" \ + "xmoto" \ + "Game;SportsGame;ArcadeGame;" \ + false + OPTIONS_DEFINE= ASIAN_TTF DOCS NLS OPTIONS_SUB= yes @@ -47,13 +54,6 @@ ASIAN_TTF_CONFIGURE_OFF=--without-asian- NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls -DESKTOP_ENTRIES="XMoto" \ - "Motorcross game" \ - "${DATADIR}/xmoto_icone_x.ico" \ - "xmoto" \ - "Game;SportsGame;ArcadeGame;" \ - false - .include .if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 @@ -66,8 +66,8 @@ post-extract: post-patch: @${REINPLACE_CMD} -e "s/lua5.1/lua-${LUA_VER}/g" ${WRKSRC}/configure -post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor Modified: head/games/xmoto/files/patch-src-GameInit.cpp ============================================================================== --- head/games/xmoto/files/patch-src-GameInit.cpp Mon Nov 14 15:11:24 2016 (r426112) +++ head/games/xmoto/files/patch-src-GameInit.cpp Mon Nov 14 15:13:30 2016 (r426113) @@ -1,5 +1,5 @@ ---- src/GameInit.cpp.orig 2015-01-10 18:22:36.000000000 +0100 -+++ src/GameInit.cpp 2015-01-10 18:27:28.000000000 +0100 +--- src/GameInit.cpp.orig 2011-10-11 20:18:35 UTC ++++ src/GameInit.cpp @@ -248,7 +248,7 @@ void GameApp::run_load(int nNumArgs, cha Logger::setActiv(XMSession::instance()->noLog() == false); /* apply log activ mode */ Modified: head/games/xmoto/files/patch-src-VTexture.h ============================================================================== --- head/games/xmoto/files/patch-src-VTexture.h Mon Nov 14 15:11:24 2016 (r426112) +++ head/games/xmoto/files/patch-src-VTexture.h Mon Nov 14 15:13:30 2016 (r426113) @@ -1,6 +1,6 @@ ---- src/VTexture.h.orig 2011-10-12 00:18:35.000000000 +0400 -+++ src/VTexture.h 2014-11-24 22:08:42.749026473 +0300 -@@ -135,7 +135,7 @@ +--- src/VTexture.h.orig 2011-10-11 20:18:35 UTC ++++ src/VTexture.h +@@ -135,7 +135,7 @@ private: void cleanUnregistredTextures(); Modified: head/games/xmoto/files/patch-src-WWW.cpp ============================================================================== --- head/games/xmoto/files/patch-src-WWW.cpp Mon Nov 14 15:11:24 2016 (r426112) +++ head/games/xmoto/files/patch-src-WWW.cpp Mon Nov 14 15:13:30 2016 (r426113) @@ -1,5 +1,5 @@ ---- src/WWW.cpp.orig 2015-01-10 18:11:22.000000000 +0100 -+++ src/WWW.cpp 2015-01-10 18:21:32.000000000 +0100 +--- src/WWW.cpp.orig 2011-10-11 20:18:35 UTC ++++ src/WWW.cpp @@ -206,7 +206,7 @@ void FSWeb::downloadFile(const std::stri std::string v_www_agent = WWW_AGENT; Modified: head/games/xmoto/files/patch-src-drawlib-DrawLibOpenGL.cpp ============================================================================== --- head/games/xmoto/files/patch-src-drawlib-DrawLibOpenGL.cpp Mon Nov 14 15:11:24 2016 (r426112) +++ head/games/xmoto/files/patch-src-drawlib-DrawLibOpenGL.cpp Mon Nov 14 15:13:30 2016 (r426113) @@ -1,6 +1,6 @@ ---- src/drawlib/DrawLibOpenGL.cpp.orig 2011-10-12 00:18:26.000000000 +0400 -+++ src/drawlib/DrawLibOpenGL.cpp 2014-11-24 22:08:12.925973647 +0300 -@@ -80,7 +80,7 @@ +--- src/drawlib/DrawLibOpenGL.cpp.orig 2011-10-11 20:18:26 UTC ++++ src/drawlib/DrawLibOpenGL.cpp +@@ -80,7 +80,7 @@ public: /* a glyph from other glyphs */ /*kejo:why not just grrr create a copy contructor*/ GLFontGlyph(const std::string& i_value, @@ -9,7 +9,7 @@ virtual ~GLFontGlyph(); std::string Value() const; -@@ -132,11 +132,11 @@ +@@ -132,11 +132,11 @@ public: private: std::vector m_glyphsKeys; std::vector m_glyphsValues; @@ -23,7 +23,7 @@ unsigned int getLonguestLineSize(const std::string& i_value, unsigned int i_start = 0, unsigned int i_nbLinesToRead = -1); }; -@@ -825,7 +825,7 @@ +@@ -825,7 +825,7 @@ GLFontGlyph::GLFontGlyph(const std::stri } GLFontGlyph::GLFontGlyph(const std::string& i_value, Modified: head/games/xmoto/files/patch-src-helpers-System.cpp ============================================================================== --- head/games/xmoto/files/patch-src-helpers-System.cpp Mon Nov 14 15:11:24 2016 (r426112) +++ head/games/xmoto/files/patch-src-helpers-System.cpp Mon Nov 14 15:13:30 2016 (r426113) @@ -1,8 +1,8 @@ ---- src/helpers/System.cpp.orig 2011-10-12 00:18:14.000000000 +0400 -+++ src/helpers/System.cpp 2013-09-13 22:36:38.029229232 +0400 -@@ -25,6 +25,8 @@ - #include "VExcept.h" - #include +--- src/helpers/System.cpp.orig 2014-03-29 06:14:14 UTC ++++ src/helpers/System.cpp +@@ -31,6 +31,8 @@ Foundation, Inc., 59 Temple Place, Suite + #include + #endif +#include // for getpid() + Modified: head/games/xmoto/files/patch-src-include-xm__hashmap.h ============================================================================== --- head/games/xmoto/files/patch-src-include-xm__hashmap.h Mon Nov 14 15:11:24 2016 (r426112) +++ head/games/xmoto/files/patch-src-include-xm__hashmap.h Mon Nov 14 15:13:30 2016 (r426113) @@ -1,5 +1,5 @@ ---- src/include/xm_hashmap.h.orig 2015-01-12 23:04:54.000000000 +0100 -+++ src/include/xm_hashmap.h 2015-01-12 23:07:53.000000000 +0100 +--- src/include/xm_hashmap.h.orig 2011-10-11 20:18:17 UTC ++++ src/include/xm_hashmap.h @@ -13,13 +13,18 @@ #include namespace HashNamespace=std;