svn commit: r365063 - in head/games: . dunelegacy dunelegacy/files
Steve Wills
swills at FreeBSD.org
Fri Aug 15 23:03:32 UTC 2014
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 <swills at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= dunelegacy
+PORTVERSION= 0.96.3
+CATEGORIES= games
+MASTER_SITES= SF
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= swills at 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 <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000
+EXTRA_PATCHES= files/extra-patch-include__misc__functional.h files/extra-patch-include__misc__memory.h
+.endif
+
+.include <bsd.port.post.mk>
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 <tr1/functional>
++#include <functional>
+
+ 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 <tr1/memory>
++#include <memory>
+
+ 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
+ at dirrmtry %%DATADIR%%/locale
+ at dirrmtry %%DATADIR%%/maps/multiplayer
+ at dirrmtry %%DATADIR%%/maps/singleplayer
+ at dirrmtry %%DATADIR%%/maps
+ at dirrmtry %%DATADIR%%
More information about the svn-ports-head
mailing list