From owner-svn-ports-head@freebsd.org Tue Dec 5 18:13:47 2017 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 807B4E73159; Tue, 5 Dec 2017 18:13:47 +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 5AA756650D; Tue, 5 Dec 2017 18:13:47 +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 vB5IDk0D035823; Tue, 5 Dec 2017 18:13:46 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB5IDkkk035819; Tue, 5 Dec 2017 18:13:46 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201712051813.vB5IDkkk035819@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 5 Dec 2017 18:13:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455597 - in head/games/maxr: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/games/maxr: . files X-SVN-Commit-Revision: 455597 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.25 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: Tue, 05 Dec 2017 18:13:47 -0000 Author: amdmi3 Date: Tue Dec 5 18:13:46 2017 New Revision: 455597 URL: https://svnweb.freebsd.org/changeset/ports/455597 Log: - Update to 0.2.9 Added: head/games/maxr/files/ head/games/maxr/files/patch-src_config_selectplatformconfig.h (contents, props changed) Modified: head/games/maxr/Makefile head/games/maxr/distinfo Modified: head/games/maxr/Makefile ============================================================================== --- head/games/maxr/Makefile Tue Dec 5 18:07:27 2017 (r455596) +++ head/games/maxr/Makefile Tue Dec 5 18:13:46 2017 (r455597) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= maxr -PORTVERSION= 0.2.8 -PORTREVISION= 4 +PORTVERSION= 0.2.9 CATEGORIES= games MASTER_SITES= http://www.maxr.org/downloads/ \ http://mirror.amdmi3.ru/distfiles/ @@ -12,18 +11,14 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Mechanized Assault and Exploration Reloaded LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE_FILE= ${WRKSRC}/data/COPYING -USES= localbase -GNU_CONFIGURE= yes -USE_SDL= sdl mixer net +USES= cmake compiler:c++11-lib dos2unix +DOS2UNIX_FILES= src/config/selectplatformconfig.h +USE_SDL= sdl2 mixer2 net2 PLIST_FILES= bin/${PORTNAME} PORTDATA= * -PLIST_DIRS= %%DATADIR%%/voices \ - %%DATADIR%%/vehicles/sub/sub \ - %%DATADIR%%/save \ - %%DATADIR%%/mve DESKTOP_ENTRIES="M.A.X.R." \ "" \ @@ -32,10 +27,10 @@ DESKTOP_ENTRIES="M.A.X.R." \ "Game;StrategyGame;" \ false -post-patch: - @${REINPLACE_CMD} -e '/^LIBS=/ s|-lSDL_|`${SDL_CONFIG} --libs` &|' \ - -e '/^LIBS=/ s|-lSDL |`${SDL_CONFIG} --libs` |' \ - ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|cp -a|cp -RpP|' ${WRKSRC}/Makefile.in +.include -.include +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 +BROKEN= does not build on 10.x +.endif + +.include Modified: head/games/maxr/distinfo ============================================================================== --- head/games/maxr/distinfo Tue Dec 5 18:07:27 2017 (r455596) +++ head/games/maxr/distinfo Tue Dec 5 18:13:46 2017 (r455597) @@ -1,2 +1,3 @@ -SHA256 (maxr-0.2.8.tar.gz) = d083fdc73d7ca12fa7bd21cee0ecada3612be62f4fed5c87f73e5cb654867e98 -SIZE (maxr-0.2.8.tar.gz) = 14738324 +TIMESTAMP = 1467908301 +SHA256 (maxr-0.2.9.tar.gz) = 5f0afebcef5ca6449de175e5abf0e3772c4f238a0103361a50efb6349b2185ff +SIZE (maxr-0.2.9.tar.gz) = 14847180 Added: head/games/maxr/files/patch-src_config_selectplatformconfig.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/maxr/files/patch-src_config_selectplatformconfig.h Tue Dec 5 18:13:46 2017 (r455597) @@ -0,0 +1,11 @@ +--- src/config/selectplatformconfig.h.orig 2016-06-03 22:11:14 UTC ++++ src/config/selectplatformconfig.h +@@ -19,7 +19,7 @@ + + #ifndef MAXR_PLATFORM_CONFIG + +-#if (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) && !defined(_CRAYC) ++#if (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__) || defined(__FreeBSD__)) && !defined(_CRAYC) + # define MAXR_PLATFORM_CONFIG "config/platform/linux.h" + #elif defined(__CYGWIN__) + # define MAXR_PLATFORM_CONFIG "config/platform/cygwin.h"