From owner-svn-ports-head@FreeBSD.ORG Fri Aug 15 23:03:32 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C88853DD; Fri, 15 Aug 2014 23:03:32 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 B30DD28DE; Fri, 15 Aug 2014 23:03:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7FN3W2S056481; Fri, 15 Aug 2014 23:03:32 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7FN3VGv056473; Fri, 15 Aug 2014 23:03:31 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201408152303.s7FN3VGv056473@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Fri, 15 Aug 2014 23:03:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365063 - in head/games: . dunelegacy dunelegacy/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.18-1 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: Fri, 15 Aug 2014 23:03:32 -0000 Author: swills Date: Fri Aug 15 23:03:30 2014 New Revision: 365063 URL: http://svnweb.freebsd.org/changeset/ports/365063 QAT: https://qat.redports.org/buildarchive/r365063/ Log: gamess/dunelegacy: add port of Dune Legacy Dune Legacy is an effort by a handful of developers to revitalize the first-ever real-time strategy game. It tries to be as similar as possible to the original gameplay but to integrate user interface features most modern realtime-strategy games have like selecting multiple units WWW: http://dunelegacy.sourceforge.net/website/ Added: head/games/dunelegacy/ head/games/dunelegacy/Makefile (contents, props changed) head/games/dunelegacy/distinfo (contents, props changed) head/games/dunelegacy/files/ head/games/dunelegacy/files/extra-patch-include__misc__functional.h (contents, props changed) head/games/dunelegacy/files/extra-patch-include__misc__memory.h (contents, props changed) head/games/dunelegacy/files/patch-configure.ac (contents, props changed) head/games/dunelegacy/pkg-descr (contents, props changed) head/games/dunelegacy/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Fri Aug 15 22:28:22 2014 (r365062) +++ head/games/Makefile Fri Aug 15 23:03:30 2014 (r365063) @@ -215,6 +215,7 @@ SUBDIR += duckmaze SUBDIR += duel SUBDIR += duke3d-data + SUBDIR += dunelegacy SUBDIR += dungeon SUBDIR += dungeoncrawl SUBDIR += dustrac Added: head/games/dunelegacy/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dunelegacy/Makefile Fri Aug 15 23:03:30 2014 (r365063) @@ -0,0 +1,28 @@ +# Created by: Steve Wills +# $FreeBSD$ + +PORTNAME= dunelegacy +PORTVERSION= 0.96.3 +CATEGORIES= games +MASTER_SITES= SF +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= swills@FreeBSD.org +COMMENT= Open source clone of Dune II + +LICENSE= GPLv2 +LICENSE_FILES= COPYING + +USES= tar:bzip2 compiler:c++11-lib +USE_AUTOTOOLS= autoconf +USE_SDL= sdl mixer +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +MAKE_JOBS_UNSAFE= yes + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 +EXTRA_PATCHES= files/extra-patch-include__misc__functional.h files/extra-patch-include__misc__memory.h +.endif + +.include Added: head/games/dunelegacy/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dunelegacy/distinfo Fri Aug 15 23:03:30 2014 (r365063) @@ -0,0 +1,2 @@ +SHA256 (dunelegacy-0.96.3-src.tar.bz2) = 677159c174d9f9e8eb20e5e5cec997decf8e5a7091dc1583dc23fe340c5f6222 +SIZE (dunelegacy-0.96.3-src.tar.bz2) = 1652302 Added: head/games/dunelegacy/files/extra-patch-include__misc__functional.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dunelegacy/files/extra-patch-include__misc__functional.h Fri Aug 15 23:03:30 2014 (r365063) @@ -0,0 +1,21 @@ +--- ./include/misc/functional.h.orig 2011-01-07 18:30:22.000000000 +0000 ++++ ./include/misc/functional.h 2014-08-15 18:13:48.592575865 +0000 +@@ -1,14 +1,14 @@ + #ifndef FUNCTIONAL_INCLUDED + #define FUNCTIONAL_INCLUDED + +-#include ++#include + + namespace std { +- using std::tr1::bind; +- using std::tr1::function; ++ using std::bind; ++ using std::function; + + namespace placeholders { +- using namespace std::tr1::placeholders; ++ using namespace std::placeholders; + } + } + Added: head/games/dunelegacy/files/extra-patch-include__misc__memory.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dunelegacy/files/extra-patch-include__misc__memory.h Fri Aug 15 23:03:30 2014 (r365063) @@ -0,0 +1,18 @@ +--- ./include/misc/memory.h.orig 2011-07-15 23:19:01.000000000 +0000 ++++ ./include/misc/memory.h 2014-08-15 18:13:48.594576019 +0000 +@@ -1,12 +1,12 @@ + #ifndef MEMORY_INCLUDED + #define MEMORY_INCLUDED + +-#include ++#include + + namespace std { +- using std::tr1::shared_ptr; ++ using std::shared_ptr; + +- using std::tr1::dynamic_pointer_cast; ++ using std::dynamic_pointer_cast; + } + + #endif //MEMORY_INCLUDED Added: head/games/dunelegacy/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dunelegacy/files/patch-configure.ac Fri Aug 15 23:03:30 2014 (r365063) @@ -0,0 +1,32 @@ +--- configure.ac.orig 2014-08-15 18:38:46.000000000 +0000 ++++ configure.ac 2014-08-15 18:40:54.000000000 +0000 +@@ -16,13 +16,25 @@ + + AC_SUBST(dunelegacydatadir) + +-dnl Some flags for gcc +-CXXFLAGS="-O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG" + dnl Additional flags: -Wconversion -Wno-sign-conversion + +-dnl Some flags for clang +-dnl CXXFLAGS="-O3 -pipe -pedantic -Weverything -Wno-sign-conversion -Wno-conversion -Wno-shadow -Wno-missing-noreturn -Wno-padded -Wno-packed -Wno-weak-vtables -Wno-c++11-narrowing -Wno-cast-align -Wno-unreachable-code -Wno-missing-prototypes -Wno-float-equal -Wno-global-constructors -Wno-exit-time-destructors -Wno-format-nonliteral -Wno-unused-macros -Wextra -Wno-unused-parameter" ++AC_MSG_CHECKING([if compiling with clang]) + ++AC_COMPILE_IFELSE( ++[AC_LANG_PROGRAM([], [[ ++#ifndef __clang__ ++ not clang ++#endif ++]])], ++[CLANG=yes], [CLANG=no]) ++ ++AC_MSG_RESULT([$CLANG]) ++ ++if test "x$CLANG" = xyes; then ++ CXXFLAGS="-std=c++11 -O3 -pipe -pedantic -Weverything -Wno-sign-conversion -Wno-conversion -Wno-shadow -Wno-missing-noreturn -Wno-padded -Wno-packed -Wno-weak-vtables -Wno-c++11-narrowing -Wno-cast-align -Wno-unreachable-code -Wno-missing-prototypes -Wno-float-equal -Wno-global-constructors -Wno-exit-time-destructors -Wno-format-nonliteral -Wno-unused-macros -Wextra -Wno-unused-parameter" ++else ++ CXXFLAGS="-O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG" ++fi + + dnl test for -ffp-contract=off (gcc >= 4.6) and use -mno-fused-madd instead + oldCFLAGS="$CFLAGS" Added: head/games/dunelegacy/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dunelegacy/pkg-descr Fri Aug 15 23:03:30 2014 (r365063) @@ -0,0 +1,8 @@ +Dune Legacy is an effort by a handful of developers to revitalize the +first-ever real-time strategy game. + +It tries to be as similar as possible to the original gameplay but to integrate +user interface features most modern realtime-strategy games have like selecting +multiple units + +WWW: http://dunelegacy.sourceforge.net/website/ Added: head/games/dunelegacy/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dunelegacy/pkg-plist Fri Aug 15 23:03:30 2014 (r365063) @@ -0,0 +1,33 @@ +bin/dunelegacy +%%DATADIR%%/Dune2-Versions.txt +%%DATADIR%%/LEGACY.PAK +%%DATADIR%%/OPENSD2.PAK +%%DATADIR%%/locale/English.en.po +%%DATADIR%%/locale/French.fr.po +%%DATADIR%%/locale/German.de.po +%%DATADIR%%/locale/dunelegacy.pot +%%DATADIR%%/maps/multiplayer/2P - 32x32 - X-Factor.ini +%%DATADIR%%/maps/multiplayer/2P - 64x32 - Cliffs Of Rene.ini +%%DATADIR%%/maps/multiplayer/2P - 64x64 - Bottle Neck.ini +%%DATADIR%%/maps/multiplayer/2P - 64x64 - Broken Mountains.ini +%%DATADIR%%/maps/multiplayer/2P - 64x64 - David's Pass.ini +%%DATADIR%%/maps/multiplayer/2P - 64x64 - Face Off.ini +%%DATADIR%%/maps/multiplayer/2P - 64x64 - Great Divide.ini +%%DATADIR%%/maps/multiplayer/2P - 64x64 - Sanctuarys.ini +%%DATADIR%%/maps/multiplayer/4P - 128x128 - The Sardaukar Outpost.ini +%%DATADIR%%/maps/multiplayer/4P - 64x64 - Clear Path.ini +%%DATADIR%%/maps/multiplayer/4P - 64x64 - Four Chambers.ini +%%DATADIR%%/maps/multiplayer/4P - 64x64 - Four Courners.ini +%%DATADIR%%/maps/multiplayer/4P - 64x64 - Sietch Stefan.ini +%%DATADIR%%/maps/multiplayer/4P - 64x64 - Vast Armies Have Arrived.ini +%%DATADIR%%/maps/singleplayer/2P - 32x128 - Canyon.ini +%%DATADIR%%/maps/singleplayer/2P - 64x64 - Duality.ini +%%DATADIR%%/maps/singleplayer/2P - 64x64 - North vs. South.ini +%%DATADIR%%/maps/singleplayer/2P - 64x64 - Twin Fists.ini +%%DATADIR%%/maps/singleplayer/3P - 64x32 - Middle Man.ini +%%DATADIR%%/maps/singleplayer/5P - 128x128 - All against Atreides.ini +@dirrmtry %%DATADIR%%/locale +@dirrmtry %%DATADIR%%/maps/multiplayer +@dirrmtry %%DATADIR%%/maps/singleplayer +@dirrmtry %%DATADIR%%/maps +@dirrmtry %%DATADIR%%