diff options
Diffstat (limited to 'games')
28 files changed, 617 insertions, 125 deletions
diff --git a/games/0ad/Makefile b/games/0ad/Makefile index 8e9a37009299..c248f3664632 100644 --- a/games/0ad/Makefile +++ b/games/0ad/Makefile @@ -2,7 +2,7 @@ PORTNAME= 0ad PORTVERSION= 0.0.12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/zero-ad/releases DISTFILES= ${PORTNAME}-${PORTVERSION}-alpha-unix-build.tar.xz \ diff --git a/games/allacrost/Makefile b/games/allacrost/Makefile index e85a8ff2c523..8cb9f019d9ed 100644 --- a/games/allacrost/Makefile +++ b/games/allacrost/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: allacrost -# Date created: 03 Oct 2006 -# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> -# +# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru> # $FreeBSD$ -# PORTNAME= allacrost PORTVERSION= 1.0.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-demo/${PORTVERSION} DISTNAME= ${PORTNAME}_demo_source_${PORTVERSION} @@ -15,11 +11,11 @@ DISTNAME= ${PORTNAME}_demo_source_${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= A single player 2D role-playing game -LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ +LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png \ ogg:${PORTSDIR}/audio/libogg \ - vorbis.4:${PORTSDIR}/audio/libvorbis \ - boost_thread.4:${PORTSDIR}/devel/boost-libs + vorbis:${PORTSDIR}/audio/libvorbis \ + boost_thread:${PORTSDIR}/devel/boost-libs LICENSE= GPLv2 diff --git a/games/arx-libertatis/Makefile b/games/arx-libertatis/Makefile index 95affc9b91a8..550bdab1d09b 100644 --- a/games/arx-libertatis/Makefile +++ b/games/arx-libertatis/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: arx-libertatis -# Date created: 24 Apr 2012 -# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org> -# +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> # $FreeBSD$ -# PORTNAME= arx-libertatis PORTVERSION= 1.0.3 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://cloud.github.com/downloads/arx/ArxLibertatis/ \ http://mirror.amdmi3.ru/distfiles/ @@ -16,10 +13,10 @@ COMMENT= Cross-platform port of Arx Fatalis LICENSE= GPLv3 -LIB_DEPENDS= IL.2:${PORTSDIR}/graphics/devil \ - GLEW.1:${PORTSDIR}/graphics/glew \ - freetype.9:${PORTSDIR}/print/freetype2 \ - boost_program_options.4:${PORTSDIR}/devel/boost-libs +LIB_DEPENDS= IL:${PORTSDIR}/graphics/devil \ + GLEW:${PORTSDIR}/graphics/glew \ + freetype:${PORTSDIR}/print/freetype2 \ + boost_program_options:${PORTSDIR}/devel/boost-libs USE_XZ= yes USE_OPENAL= yes diff --git a/games/asc/Makefile b/games/asc/Makefile index 0699163b8662..a060fb43c5cd 100644 --- a/games/asc/Makefile +++ b/games/asc/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: asc -# Date created: 16 February 2000 -# Whom: Maxim Sobolev <sobomax@FreeBSD.org> -# +# Created by: Maxim Sobolev <sobomax@FreeBSD.org> # $FreeBSD$ -# PORTNAME= asc PORTVERSION= 2.5.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}-hq/ASC%20Source/${PORTVERSION:R} \ http://www.asc-hq.org/music/ @@ -22,10 +18,10 @@ LICENSE= GPLv2 BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ ${LOCALBASE}/lib/libloki.so:${PORTSDIR}/devel/loki -LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis \ - boost_regex.4:${PORTSDIR}/devel/boost-libs \ +LIB_DEPENDS= vorbis:${PORTSDIR}/audio/libvorbis \ + boost_regex:${PORTSDIR}/devel/boost-libs \ sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \ - expat.6:${PORTSDIR}/textproc/expat2 + expat:${PORTSDIR}/textproc/expat2 RUN_DEPENDS:= ${BUILD_DEPENDS} OPTIONS_DEFINE= MUSIC XVID diff --git a/games/bastet/Makefile b/games/bastet/Makefile index 9e631620ae01..27ca408adbf9 100644 --- a/games/bastet/Makefile +++ b/games/bastet/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: bastet -# Date created: 21 Oct 2004 -# Whom: Michael Nottebrock <lofi@freebsd.org> -# +# Created by: Michael Nottebrock <lofi@freebsd.org> # $FreeBSD$ -# PORTNAME= bastet PORTVERSION= 0.43 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://fph.altervista.org/prog/files/ EXTRACT_SUFX= .tgz diff --git a/games/burrtools/Makefile b/games/burrtools/Makefile index 030706386ba3..bbaa406d5799 100644 --- a/games/burrtools/Makefile +++ b/games/burrtools/Makefile @@ -1,14 +1,9 @@ -# ex:ts=8 -# Ports collection makefile for: burrtools -# Date created: Mar 23, 2007 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= burrtools PORTVERSION= 0.6.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF \ http://www.c-s.li/ports/ diff --git a/games/ember/Makefile b/games/ember/Makefile index 166e11a7dadd..b09d737e8ea5 100644 --- a/games/ember/Makefile +++ b/games/ember/Makefile @@ -3,6 +3,7 @@ PORTNAME= ember PORTVERSION= 0.7.0 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/worldforge/Ember%20%28OGRE%20client%29/${PORTVERSION} \ http://amber.worldforge.org/ember/releases/stable/ @@ -19,7 +20,7 @@ LIB_DEPENDS= sigc-2.0:${PORTSDIR}/devel/libsigc++20 \ varconf-1.0.8:${PORTSDIR}/devel/varconf \ mercator-0.3.3:${PORTSDIR}/devel/mercator \ wfut-0.2:${PORTSDIR}/devel/libwfut \ - boost_thread.4:${PORTSDIR}/devel/boost-libs \ + boost_thread:${PORTSDIR}/devel/boost-libs \ CEGUIBase-0.7.9.0:${PORTSDIR}/graphics/cegui CONFIGURE_ARGS= --with-png-prefix=${LOCALBASE} --enable-binreloc \ diff --git a/games/flightgear/Makefile b/games/flightgear/Makefile index e71c534c6364..283add2214cf 100644 --- a/games/flightgear/Makefile +++ b/games/flightgear/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: flightgear -# Date created: 26 June 1999 -# Whom: Brian Buchanan <brian@CSUA.Berkeley.EDU> -# +# Created by: Brian Buchanan <brian@CSUA.Berkeley.EDU> # $FreeBSD$ -# PORTNAME= flightgear PORTVERSION= 2.8.0 +PORTREVISION= 1 CATEGORIES= games # see http://www.flightgear.org/templates.js MASTER_SITES= http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/ \ diff --git a/games/frogatto/Makefile b/games/frogatto/Makefile index 41afcc88108b..b891aee58f7b 100644 --- a/games/frogatto/Makefile +++ b/games/frogatto/Makefile @@ -3,13 +3,14 @@ PORTNAME= frogatto PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= GH MAINTAINER= fiziologus@gmail.com COMMENT= An old-school 2D classic adventure platformer game -LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs \ +LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs \ png15:${PORTSDIR}/graphics/png NO_PACKAGE= Package will be 144M, set FORCE_PACKAGE if you really want it diff --git a/games/galaxyhack/Makefile b/games/galaxyhack/Makefile index 694aa69a3352..51c3beec3fa1 100644 --- a/games/galaxyhack/Makefile +++ b/games/galaxyhack/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: galaxyhack -# Date created: 10 Aug 2005 -# Whom: Alejandro Pulver <alejandro@varnet.biz> -# +# Created by: Alejandro Pulver <alejandro@varnet.biz> # $FreeBSD$ -# PORTNAME= galaxyhack PORTVERSION= 1.74 -PORTREVISION= 11 +PORTREVISION= 13 CATEGORIES= games MASTER_SITES= SF DISTFILES= ${DISTNAME}${EXTRACT_SUFX} @@ -16,7 +12,7 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= AI script based strategy game -LIB_DEPENDS= boost_filesystem.4:${PORTSDIR}/devel/boost-libs \ +LIB_DEPENDS= boost_filesystem:${PORTSDIR}/devel/boost-libs \ freetype.9:${PORTSDIR}/print/freetype2 USE_BZIP2= yes @@ -25,8 +21,6 @@ USE_GMAKE= yes USE_SDL= gfx image mixer sdl WRKSRC= ${WRKDIR}/${PORTNAME}/src -CXXFLAGS+= -DBOOST_FILESYSTEM_VERSION=2 - OPTIONS_DEFINE= FLEETS OPTIMIZED_CFLAGS OPTIONS_DEFAULT= OPTIMIZED_CFLAGS FLEETS_DESC= Install additional fleets diff --git a/games/galaxyhack/files/patch-SetupBattle.cpp b/games/galaxyhack/files/patch-SetupBattle.cpp index 77702eaa72c3..355a2c7bc048 100644 --- a/games/galaxyhack/files/patch-SetupBattle.cpp +++ b/games/galaxyhack/files/patch-SetupBattle.cpp @@ -5,7 +5,7 @@ #include <sstream> -#include <boost/filesystem/exception.hpp> -+#include <boost/filesystem/path.hpp> ++#include <boost/filesystem.hpp> using std::stringstream; using std::getline; diff --git a/games/galaxyhack/files/patch-boost-1.52 b/games/galaxyhack/files/patch-boost-1.52 new file mode 100644 index 000000000000..ac824e4efbcf --- /dev/null +++ b/games/galaxyhack/files/patch-boost-1.52 @@ -0,0 +1,77 @@ +--- ForceSelectWin.cpp.orig 2012-08-20 17:35:01.000000000 +0200 ++++ ForceSelectWin.cpp 2012-08-20 17:47:19.000000000 +0200 +@@ -1596,15 +1596,15 @@ + fs::directory_iterator directoryEnd; // default construction yields past-the-end + for (fs::directory_iterator iter(sourcePath); iter != directoryEnd; ++iter) { + if (is_directory(*iter)) { +- fs::create_directory(destPath.string() + "/" + iter->leaf()); +- DoCopy(sourcePath.string() + "/" + iter->leaf(), destPath.string() + "/" + iter->leaf()); ++ fs::create_directory(destPath.string() + "/" + iter->path().filename().string()); ++ DoCopy(sourcePath.string() + "/" + iter->path().filename().string(), destPath.string() + "/" + iter->path().filename().string()); + continue; + } + string destFile; +- if (iter->leaf() == sideName + ".dat") ++ if (iter->path().filename() == sideName + ".dat") + destFile = theInput + ".dat"; + else +- destFile = iter->leaf(); ++ destFile = iter->path().filename().string(); + + fs::copy_file(*iter, destPath.string() + "/" + destFile); + } +--- Main.cpp.orig 2012-08-20 17:48:13.000000000 +0200 ++++ Main.cpp 2012-08-20 17:50:51.000000000 +0200 +@@ -339,12 +339,6 @@ + + void GameInit(char* argv[]) { + namespace fs = boost::filesystem; +- //boost is really quite stupid +- #ifndef WIN32 +- fs::path::default_name_check(fs::windows_name); +- #else +- fs::path::default_name_check(fs::native); +- #endif + + FindHomePath(); + LoadSettings(argv); +--- Menu_Base.cpp.orig 2012-08-20 17:51:05.000000000 +0200 ++++ Menu_Base.cpp 2012-08-20 17:52:15.000000000 +0200 +@@ -206,7 +206,7 @@ + + fs::directory_iterator directoryEnd; // default construction yields past-the-end + for (fs::directory_iterator iter(directory); iter != directoryEnd; ++iter) { +- string filename = iter->leaf(); ++ string filename = iter->path().filename().string(); + + if (filename.find('.') == filename.npos) + continue; +@@ -237,7 +237,7 @@ + fs::directory_iterator directoryEnd; // default construction yields past-the-end + for (fs::directory_iterator iter(globalSettings.bdp + "fleets/"); iter != directoryEnd; ++iter) { + if (fs::is_directory(*iter)) { +- string fleetName = iter->leaf(); ++ string fleetName = iter->path().filename().string(); + + if (CheckFleetExists(fleetName)) { + tempItem.desc = fleetName; +@@ -261,7 +261,7 @@ + fs::path iterPath(GetFleetDir(whichSide)); + fs::directory_iterator directoryEnd; // default construction yields past-the-end + for (fs::directory_iterator iter(iterPath); iter != directoryEnd; ++iter) { +- string filename = iter->leaf(); ++ string filename = iter->path().filename().string(); + + if (filename.find('.') == filename.npos) + continue; +--- Stuff.cpp.orig 2012-08-20 17:52:36.000000000 +0200 ++++ Stuff.cpp 2012-08-20 17:53:11.000000000 +0200 +@@ -657,7 +657,7 @@ + fs::directory_iterator directoryEnd; // default construction yields past-the-end + for (fs::directory_iterator iter(tempPath); iter != directoryEnd; ++iter) { + if (fs::is_directory(*iter) && !fs::is_empty(*iter)) +- RemoveDirectory(iter->string()); ++ RemoveDirectory(iter->path().string()); + else + fs::remove(*iter); + } diff --git a/games/glob2/Makefile b/games/glob2/Makefile index 69cc1813927c..1f8a3c370150 100644 --- a/games/glob2/Makefile +++ b/games/glob2/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: glob2 -# Date created: Wed 21 apr 2004 -# Whom: thierry@pompo.net -# +# Created by: thierry@pompo.net # $FreeBSD$ -# PORTNAME= glob2 PORTVERSION= 0.9.4.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION:R} @@ -18,7 +14,7 @@ COMMENT= Globulation 2 - a free and innovative strategy game LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis \ speex.1:${PORTSDIR}/audio/speex \ fribidi.3:${PORTSDIR}/converters/fribidi \ - boost_thread.4:${PORTSDIR}/devel/boost-libs \ + boost_thread:${PORTSDIR}/devel/boost-libs \ freetype.9:${PORTSDIR}/print/freetype2 # Should work with portaudio v19_20071207 # Can be built with portaudio2 but does not run cleanly diff --git a/games/glob2/files/patch-SConstruct b/games/glob2/files/patch-SConstruct index 876a38fd0cc5..a4c34367362b 100644 --- a/games/glob2/files/patch-SConstruct +++ b/games/glob2/files/patch-SConstruct @@ -1,9 +1,28 @@ ---- SConstruct.orig Sun Sep 2 05:14:53 2007 -+++ SConstruct Tue Sep 4 23:02:18 2007 -@@ -1,5 +1,6 @@ +--- SConstruct.orig 2009-08-30 19:23:30.000000000 +0000 ++++ SConstruct 2013-01-28 16:42:04.024490217 +0000 +@@ -14,6 +14,7 @@ + def establish_options(env): opts = Options('options_cache.py') + opts.Add("CCFLAGS", "Manually add to the CCFLAGS", "") opts.Add("CXXFLAGS", "Manually add to the CXXFLAGS", "-g") - opts.Add("LINKFLAGS", "Manually add to the LINKFLAGS", "") - opts.Add("INSTALLDIR", "Installation Directory", "/usr/local/share") + opts.Add("LINKFLAGS", "Manually add to the LINKFLAGS", "-g") + if isDarwinPlatform: +@@ -111,14 +112,17 @@ + missing.append("zlib") + + boost_thread = '' ++ boost_system = '' + if conf.CheckLib("boost_thread") and conf.CheckCXXHeader("boost/thread/thread.hpp"): + boost_thread="boost_thread" ++ boost_system="boost_system" + elif conf.CheckLib("boost_thread-mt") and conf.CheckCXXHeader("boost/thread/thread.hpp"): + boost_thread="boost_thread-mt" + else: + print "Could not find libboost_thread or libboost_thread-mt or boost/thread/thread.hpp" + missing.append("libboost_thread") + env.Append(LIBS=[boost_thread]) ++ env.Append(LIBS=[boost_system]) + + boost_date_time = '' + if conf.CheckLib("boost_date_time") and conf.CheckCXXHeader("boost/date_time/posix_time/posix_time.hpp"): diff --git a/games/lander/Makefile b/games/lander/Makefile index 64847fa10fb2..cec05cf96329 100644 --- a/games/lander/Makefile +++ b/games/lander/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: lander -# Date created: 21 Feb 2009 -# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org> -# +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> # $FreeBSD$ -# PORTNAME= lander -PORTVERSION= 0.6.2 -PORTREVISION= 3 +PORTVERSION= 0.6.4 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://www.nickg.me.uk/files/ \ http://mirror.amdmi3.ru/distfiles/ @@ -16,7 +12,7 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Lunar Lander clone LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ - boost_filesystem.4:${PORTSDIR}/devel/boost-libs + boost_filesystem:${PORTSDIR}/devel/boost-libs GNU_CONFIGURE= yes USE_GETTEXT= yes @@ -25,7 +21,7 @@ USE_GL= gl glu MAKE_JOBS_SAFE= yes USE_GCC= 4.2+ -CPPFLAGS+= -I${LOCALBASE}/include -DBOOST_FILESYSTEM_VERSION=2 +CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-boost="${LOCALBASE}" \ --with-boost-filesystem=boost_filesystem diff --git a/games/lander/distinfo b/games/lander/distinfo index c5937cf0bd44..c6e27de8a2e6 100644 --- a/games/lander/distinfo +++ b/games/lander/distinfo @@ -1,2 +1,2 @@ -SHA256 (lander-0.6.2.tar.gz) = abc34dfafa372239ad586dc9f41e596224b19696ca47c535670fad28c44fe22c -SIZE (lander-0.6.2.tar.gz) = 1868180 +SHA256 (lander-0.6.4.tar.gz) = 48e26b117d7a15701bf8a5594734a80e2e5701e8bed8dab59823a436962f23e9 +SIZE (lander-0.6.4.tar.gz) = 1867588 diff --git a/games/openlierox/Makefile b/games/openlierox/Makefile index 8172f8e014fa..72a12fcebaa3 100644 --- a/games/openlierox/Makefile +++ b/games/openlierox/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: openlierox -# Date created: 12 Oct 2008 -# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org> -# +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> # $FreeBSD$ -# PORTNAME= openlierox DISTVERSION= 0.59_beta9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/OpenLieroX%20${DISTVERSION:C/_/%20/} DISTNAME= OpenLieroX_${DISTVERSION}.src @@ -16,7 +12,7 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Extremely addictive realtime worms shoot-em-up LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd \ - boost_signals.4:${PORTSDIR}/devel/boost-libs \ + boost_signals:${PORTSDIR}/devel/boost-libs \ curl.6:${PORTSDIR}/ftp/curl \ alut.1:${PORTSDIR}/audio/freealut @@ -28,6 +24,7 @@ USE_OPENAL= yes CFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib USE_CMAKE= yes CMAKE_ARGS= -DHAWKNL_BUILTIN=YES \ diff --git a/games/pingus/Makefile b/games/pingus/Makefile index d662bbd072fc..1f4ae7aaecf5 100644 --- a/games/pingus/Makefile +++ b/games/pingus/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: pingus -# Date created: 2007-10-05 -# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> -# +# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> # $FreeBSD$ -# PORTNAME= pingus PORTVERSION= 0.7.2 @@ -15,7 +11,7 @@ MAINTAINER= acm@FreeBSD.org COMMENT= Free Lemmings-like game LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ - boost_regex.4:${PORTSDIR}/devel/boost-libs \ + boost_regex:${PORTSDIR}/devel/boost-libs \ physfs.1:${PORTSDIR}/devel/physfs USE_BZIP2= yes diff --git a/games/plee-the-bear/Makefile b/games/plee-the-bear/Makefile index a7a1ed818496..15514d1aa23f 100644 --- a/games/plee-the-bear/Makefile +++ b/games/plee-the-bear/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: plee-the-bear -# Date created: 28 Mar 2008 -# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> -# +# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru> # $FreeBSD$ -# PORTNAME= plee-the-bear PORTVERSION= 0.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Plee%20the%20Bear/${PORTVERSION:R} diff --git a/games/plee-the-bear/files/patch-boost-1.52 b/games/plee-the-bear/files/patch-boost-1.52 new file mode 100644 index 000000000000..342ca3069d72 --- /dev/null +++ b/games/plee-the-bear/files/patch-boost-1.52 @@ -0,0 +1,409 @@ +diff -up bear-engine/CMakeLists.txt.boost146 bear-engine/CMakeLists.txt +--- bear-engine/CMakeLists.txt.boost146 2012-08-21 15:33:24.606557059 -0500 ++++ bear-engine/CMakeLists.txt 2012-08-21 15:33:24.610557060 -0500 +@@ -56,7 +56,7 @@ if( NOT Boost_FOUND ) + message( FATAL_ERROR + "You must have boost::filesystem, boost::signals, boost::thread and boost::regex libraries installed (at least 1.35)" ) + endif( NOT Boost_FOUND ) +-add_definitions(-D BOOST_FILESYSTEM_VERSION=2) ++add_definitions(-D BOOST_FILESYSTEM_VERSION=3) + + #------------------------------------------------------------------------------- + # Include directories for Boost +diff -up bear-engine/core/src/engine/code/game_local_client.cpp.boost146 bear-engine/core/src/engine/code/game_local_client.cpp +--- bear-engine/core/src/engine/code/game_local_client.cpp.boost146 2011-08-24 16:57:00.000000000 -0500 ++++ bear-engine/core/src/engine/code/game_local_client.cpp 2012-08-21 15:33:24.610557060 -0500 +@@ -368,7 +368,11 @@ std::string bear::engine::game_local_cli + + if ( !result.empty() ) + { ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + boost::filesystem::path path( result, boost::filesystem::native ); ++#else ++ boost::filesystem::path path( result ); ++#endif + path /= name; + result = path.string(); + } +@@ -623,13 +627,22 @@ std::string bear::engine::game_local_cli + */ + std::string bear::engine::game_local_client::get_game_directory() const + { ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + boost::filesystem::path dir + (claw::system_info::get_user_directory(), boost::filesystem::native); ++#else ++ boost::filesystem::path dir ++ (claw::system_info::get_user_directory()); ++#endif + + std::string result; + std::string subdir = '.' + get_game_name_as_filename(); + ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + dir /= boost::filesystem::path(subdir, boost::filesystem::native); ++#else ++ dir /= boost::filesystem::path(subdir); ++#endif + + if ( create_game_directory(dir.string()) ) + result = dir.string(); +@@ -649,7 +662,11 @@ bool bear::engine::game_local_client::cr + ( const std::string& dir ) const + { + bool result = false; ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + boost::filesystem::path path( dir, boost::filesystem::native ); ++#else ++ boost::filesystem::path path( dir ); ++#endif + + if ( boost::filesystem::exists( path ) ) + result = boost::filesystem::is_directory( path ); +diff -up bear-engine/core/src/engine/code/resource_pool.cpp.boost146 bear-engine/core/src/engine/code/resource_pool.cpp +--- bear-engine/core/src/engine/code/resource_pool.cpp.boost146 2011-07-17 14:01:25.000000000 -0500 ++++ bear-engine/core/src/engine/code/resource_pool.cpp 2012-08-21 15:33:24.611557060 -0500 +@@ -137,7 +137,11 @@ bool bear::engine::resource_pool::find_f + const std::string filepath = + *it + boost::filesystem::slash<boost::filesystem::path>::value + name; + #endif ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + const boost::filesystem::path path( filepath, boost::filesystem::native ); ++#else ++ const boost::filesystem::path path( filepath ); ++#endif + + if ( boost::filesystem::exists( path ) ) + if ( !boost::filesystem::is_directory( path ) ) +diff -up bear-factory/animation-editor/src/bf/code/configuration.cpp.boost146 bear-factory/animation-editor/src/bf/code/configuration.cpp +--- bear-factory/animation-editor/src/bf/code/configuration.cpp.boost146 2011-07-17 14:01:25.000000000 -0500 ++++ bear-factory/animation-editor/src/bf/code/configuration.cpp 2012-08-21 15:33:24.611557060 -0500 +@@ -116,10 +116,16 @@ bool bf::configuration::create_config_fi + { + bool result = false; + ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + boost::filesystem::path path + ( path_configuration::get_instance().get_config_directory() + + s_config_file_name, + boost::filesystem::native ); ++#else ++ boost::filesystem::path path ++ ( path_configuration::get_instance().get_config_directory() ++ + s_config_file_name ); ++#endif + + if ( !boost::filesystem::exists( path ) ) + { +diff -up bear-factory/bear-editor/src/bf/code/path_configuration.cpp.boost146 bear-factory/bear-editor/src/bf/code/path_configuration.cpp +--- bear-factory/bear-editor/src/bf/code/path_configuration.cpp.boost146 2011-07-17 14:01:25.000000000 -0500 ++++ bear-factory/bear-editor/src/bf/code/path_configuration.cpp 2012-08-21 15:33:24.611557060 -0500 +@@ -130,7 +130,11 @@ std::string bf::path_configuration::get_ + */ + bool bf::path_configuration::get_full_path( std::string& p ) const + { ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + boost::filesystem::path path( p, boost::filesystem::native ); ++#else ++ boost::filesystem::path path( p ); ++#endif + bool result = boost::filesystem::exists( path ); + std::list<std::string>::const_reverse_iterator it; + +@@ -191,14 +195,22 @@ bf::path_configuration::expand_file_name + */ + bool bf::path_configuration::get_relative_path( std::string& p ) const + { ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + boost::filesystem::path path( p, boost::filesystem::native ); ++#else ++ boost::filesystem::path path( p ); ++#endif + bool result = false; + std::list<std::string>::const_reverse_iterator it; + + for (it=data_path.rbegin(); !result && (it!=data_path.rend()); ++it) + { + bool stop(false); ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + boost::filesystem::path data( *it, boost::filesystem::native ); ++#else ++ boost::filesystem::path data( *it ); ++#endif + boost::filesystem::path::iterator pit = path.begin(); + boost::filesystem::path::iterator dit = data.begin(); + +@@ -214,13 +226,20 @@ bool bf::path_configuration::get_relativ + if ( dit == data.end() ) + { + result = true; ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + p = *pit; ++#else ++ p = pit->string(); ++#endif + for ( ++pit; pit!=path.end(); ++pit ) + #if BOOST_VERSION / 100 % 1000 < 34 +- p += '/' + *pit; +-#else ++ p += '/' + pit->string(); ++#elif BOOST_VERSION / 100 % 1000 < 44 + p += + boost::filesystem::slash<boost::filesystem::path>::value + *pit; ++#else ++ p += ++ boost::filesystem::slash<boost::filesystem::path>::value + pit->string(); + #endif + } + } +@@ -256,6 +275,15 @@ void bf::path_configuration::load() + data_path.push_back(*it); + } + } ++ ++ if ( item_class_path.empty() ) ++ { ++ item_class_path.push_back("/usr/share/bear-factory/item-description"); ++ item_class_path.push_back("/usr/share/bear-factory/plee-the-bear/item-description"); ++ } ++ ++ if ( data_path.empty() ) ++ data_path.push_back("/usr/share/games/plee-the-bear/"); + } // path_configuration::load() + + /*----------------------------------------------------------------------------*/ +@@ -268,8 +296,12 @@ bool bf::path_configuration::create_conf + { + bool result = false; + ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + boost::filesystem::path path + ( get_config_directory(), boost::filesystem::native ); ++#else ++ boost::filesystem::path path ( get_config_directory() ); ++#endif + + if ( boost::filesystem::exists( path ) ) + result = boost::filesystem::is_directory( path ); +@@ -290,9 +322,13 @@ bool bf::path_configuration::create_conf + + if ( create_config_directory() ) + { ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + boost::filesystem::path path + ( get_config_directory() + s_config_file_name, + boost::filesystem::native ); ++#else ++ boost::filesystem::path path ( get_config_directory() + s_config_file_name ); ++#endif + + if ( !boost::filesystem::exists( path ) ) + { +@@ -389,7 +425,11 @@ bool bf::path_configuration::find_random + for (it=data_path.begin(); (it!=data_path.end()) && (candidates.size() < m); + ++it) + { ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + const boost::filesystem::path dirpath( *it, boost::filesystem::native ); ++#else ++ const boost::filesystem::path dirpath( *it ); ++#endif + + if ( boost::filesystem::exists( dirpath ) ) + if ( boost::filesystem::is_directory( dirpath ) ) +@@ -436,13 +476,18 @@ void bf::path_configuration::find_all_fi + ( const std::string& dirname, const std::string& pattern, std::size_t offset, + std::size_t m, std::list<std::string>& result ) const + { ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + const boost::filesystem::path path( dirname, boost::filesystem::native ); ++#else ++ const boost::filesystem::path path( dirname ); ++#endif + + CLAW_PRECOND( boost::filesystem::is_directory(path) ); + + boost::filesystem::directory_iterator it(path); + const boost::filesystem::directory_iterator eit; + ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + for ( ; (it!=eit) && (result.size() < m); ++it ) + if ( boost::filesystem::is_directory(*it) ) + { +@@ -451,6 +496,16 @@ void bf::path_configuration::find_all_fi + } + else if ( glob_match(pattern, it->string(), offset) ) + result.push_back(it->string()); ++#else ++ for ( ; (it!=eit) && (result.size() < m); ++it ) ++ if ( boost::filesystem::is_directory(*it) ) ++ { ++ if ( glob_potential_match(pattern, it->path().string(), offset) ) ++ find_all_files_in_dir(it->path().string(), pattern, offset, m, result); ++ } ++ else if ( glob_match(pattern, it->path().string(), offset) ) ++ result.push_back(it->path().string()); ++#endif + } // path_configuration::find_all_files_in_dir() + + /*----------------------------------------------------------------------------*/ +diff -up bear-factory/bear-editor/src/bf/impl/scan_dir.tpp.boost146 bear-factory/bear-editor/src/bf/impl/scan_dir.tpp +--- bear-factory/bear-editor/src/bf/impl/scan_dir.tpp.boost146 2011-07-17 14:01:25.000000000 -0500 ++++ bear-factory/bear-editor/src/bf/impl/scan_dir.tpp 2012-08-21 15:33:24.611557060 -0500 +@@ -46,7 +46,11 @@ void bf::scan_dir<Func>::operator() + ( const std::string& dir, Func& f, Iterator first_ext, Iterator last_ext ) + { + std::queue<boost::filesystem::path> pending; ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + boost::filesystem::path path(dir, boost::filesystem::native); ++#else ++ boost::filesystem::path path(dir); ++#endif + + if ( !boost::filesystem::exists(path) ) + return; +@@ -64,8 +68,13 @@ void bf::scan_dir<Func>::operator() + for ( ; it!=eit; ++it) + if ( boost::filesystem::is_directory(*it) ) + pending.push(*it); ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + else if (supported_extension( it->string(), first_ext, last_ext )) + f(it->string()); ++#else ++ else if (supported_extension( it->path().string(), first_ext, last_ext )) ++ f(it->path().string()); ++#endif + } + } // scan_dir::operator() + +diff -up bear-factory/CMakeLists.txt.boost146 bear-factory/CMakeLists.txt +--- bear-factory/CMakeLists.txt.boost146 2011-03-22 15:31:21.000000000 -0500 ++++ bear-factory/CMakeLists.txt 2012-08-21 15:33:24.611557060 -0500 +@@ -59,7 +59,7 @@ if( NOT Boost_FOUND ) + message( FATAL_ERROR + "You must have boost::system and boost::filesystem libraries installed (at least 1.35)" ) + endif( NOT Boost_FOUND ) +-add_definitions(-D BOOST_FILESYSTEM_VERSION=2) ++add_definitions(-D BOOST_FILESYSTEM_VERSION=3) + + #------------------------------------------------------------------------------- + # Link directories for Boost +diff -up bear-factory/level-editor/src/bf/code/configuration.cpp.boost146 bear-factory/level-editor/src/bf/code/configuration.cpp +--- bear-factory/level-editor/src/bf/code/configuration.cpp.boost146 2011-07-17 14:01:25.000000000 -0500 ++++ bear-factory/level-editor/src/bf/code/configuration.cpp 2012-08-21 15:33:24.611557060 -0500 +@@ -151,10 +151,16 @@ bool bf::configuration::create_config_fi + { + bool result = false; + ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + boost::filesystem::path path + ( path_configuration::get_instance().get_config_directory() + + s_config_file_name, + boost::filesystem::native ); ++#else ++ boost::filesystem::path path ++ ( path_configuration::get_instance().get_config_directory() ++ + s_config_file_name ); ++#endif + + if ( !boost::filesystem::exists( path ) ) + { +diff -up bear-factory/model-editor/src/bf/code/configuration.cpp.boost146 bear-factory/model-editor/src/bf/code/configuration.cpp +--- bear-factory/model-editor/src/bf/code/configuration.cpp.boost146 2011-07-17 14:01:25.000000000 -0500 ++++ bear-factory/model-editor/src/bf/code/configuration.cpp 2012-08-21 15:33:24.611557060 -0500 +@@ -124,10 +124,16 @@ bool bf::configuration::create_config_fi + { + bool result = false; + ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + boost::filesystem::path path + ( path_configuration::get_instance().get_config_directory() + + s_config_file_name, + boost::filesystem::native ); ++#else ++ boost::filesystem::path path ++ ( path_configuration::get_instance().get_config_directory() ++ + s_config_file_name ); ++#endif + + if ( !boost::filesystem::exists( path ) ) + { +diff -up plee-the-bear/CMakeLists.txt.boost146 plee-the-bear/CMakeLists.txt +--- plee-the-bear/CMakeLists.txt.boost146 2012-08-21 15:33:24.606557059 -0500 ++++ plee-the-bear/CMakeLists.txt 2012-08-21 15:33:24.611557060 -0500 +@@ -94,7 +94,7 @@ if( NOT Boost_FOUND ) + message( FATAL_ERROR + "You must have boost::filesystem and boost::thread libraries installed (at least 1.35)" ) + endif( NOT Boost_FOUND ) +-add_definitions(-D BOOST_FILESYSTEM_VERSION=2) ++add_definitions(-D BOOST_FILESYSTEM_VERSION=3) + + #------------------------------------------------------------------------------- + # Include directories for Boost +diff -up plee-the-bear/data/CMakeLists.txt.boost146 plee-the-bear/data/CMakeLists.txt +--- plee-the-bear/data/CMakeLists.txt.boost146 2010-11-21 08:24:51.000000000 -0600 ++++ plee-the-bear/data/CMakeLists.txt 2012-08-21 15:33:24.611557060 -0500 +@@ -25,6 +25,7 @@ install( + PATTERN "*.gz" EXCLUDE + PATTERN "*.bz2" EXCLUDE + PATTERN "README" EXCLUDE ++ PATTERN "AUTHORS" EXCLUDE + ) + + install( +diff -up plee-the-bear/src/ptb/frame/code/frame_profile_name.cpp.boost146 plee-the-bear/src/ptb/frame/code/frame_profile_name.cpp +--- plee-the-bear/src/ptb/frame/code/frame_profile_name.cpp.boost146 2012-08-21 15:44:43.707601717 -0500 ++++ plee-the-bear/src/ptb/frame/code/frame_profile_name.cpp 2012-08-21 15:45:22.604604268 -0500 +@@ -68,7 +68,11 @@ void ptb::frame_profile_name::validate() + { + boost::filesystem::path path + ( bear::engine::game::get_instance().get_custom_game_file ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + (PTB_PROFILES_FOLDER) + name , boost::filesystem::native ); ++#else ++ (PTB_PROFILES_FOLDER) + name ); ++#endif + + if ( !boost::filesystem::exists(path) ) + { +diff -up plee-the-bear/src/ptb/frame/code/frame_profiles.cpp.boost146 plee-the-bear/src/ptb/frame/code/frame_profiles.cpp +--- plee-the-bear/src/ptb/frame/code/frame_profiles.cpp.boost146 2012-08-21 15:40:49.598586322 -0500 ++++ plee-the-bear/src/ptb/frame/code/frame_profiles.cpp 2012-08-21 15:44:23.805600406 -0500 +@@ -72,8 +72,13 @@ void ptb::frame_profiles::on_focus() + if ( m_msg_result & message_box::s_ok ) + { + boost::filesystem::path path ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + ( bear::engine::game::get_instance().get_custom_game_file + (PTB_PROFILES_FOLDER) + profile , boost::filesystem::native ); ++#else ++ ( bear::engine::game::get_instance().get_custom_game_file ++ (PTB_PROFILES_FOLDER) + profile); ++#endif + + if ( boost::filesystem::exists(path) ) + { +@@ -283,7 +288,11 @@ void ptb::frame_profiles::update_control + unsigned int i = 0; + boost::filesystem::path path + ( bear::engine::game::get_instance().get_custom_game_file ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + (PTB_PROFILES_FOLDER), boost::filesystem::native ); ++#else ++ (PTB_PROFILES_FOLDER) ); ++#endif + + if ( !boost::filesystem::exists(path) ) + boost::filesystem::create_directory( path ); +@@ -297,7 +306,11 @@ void ptb::frame_profiles::update_control + if ( boost::filesystem::is_directory(*it) && + (i < PTB_NUMBER_OF_PROFILES) ) + { ++#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2 + std::string dir(it->string()); ++#else ++ std::string dir(it->path().native()); ++#endif + std::string name(dir, path.string().size(), + dir.size() - path.string().size()); + diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile index 7881073f224c..e8c47be228ce 100644 --- a/games/pokerth/Makefile +++ b/games/pokerth/Makefile @@ -3,6 +3,7 @@ PORTNAME= pokerth PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} DISTNAME= PokerTH-${PORTVERSION}-src diff --git a/games/py-fife/Makefile b/games/py-fife/Makefile index 5372a3457e42..0516036bf35d 100644 --- a/games/py-fife/Makefile +++ b/games/py-fife/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: fife -# Date created: 19 May 2012 -# Whom: GreenDog <fiziologus@gmail.com> -# +# Created by: GreenDog <fiziologus@gmail.com> # $FreeBSD$ PORTNAME= fife PORTVERSION= 0.3.3r3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://sourceforge.net/projects/${PORTNAME}/files/active/src/:source \ http://sourceforge.net/projects/${PORTNAME}/files/active/demos/:demo @@ -23,7 +20,7 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13 LIB_DEPENDS= vorbisfile.6:${PORTSDIR}/audio/libvorbis \ guichan.2:${PORTSDIR}/devel/guichan \ - boost_filesystem.4:${PORTSDIR}/devel/boost-libs \ + boost_filesystem:${PORTSDIR}/devel/boost-libs \ png15:${PORTSDIR}/graphics/png USE_SDL= sdl ttf image diff --git a/games/secretmaryochronicles/Makefile b/games/secretmaryochronicles/Makefile index e7bdcd4e7408..af6d122401a0 100644 --- a/games/secretmaryochronicles/Makefile +++ b/games/secretmaryochronicles/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: secretmaryochronicles -# Date created: 31 Jan 2008 -# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> -# +# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru> # $FreeBSD$ -# PORTNAME= secretmaryochronicles PORTVERSION= 1.10.git20120512 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ # SF/smclone/Secret%20Maryo%20Chronicles/${PORTVERSION} @@ -17,7 +13,7 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Secret Maryo Chronicles two-dimensional platform game LIB_DEPENDS= CEGUIBase-0.7.9.0:${PORTSDIR}/graphics/cegui \ - boost_filesystem.4:${PORTSDIR}/devel/boost-libs \ + boost_filesystem:${PORTSDIR}/devel/boost-libs \ png15:${PORTSDIR}/graphics/png USE_BZIP2= yes diff --git a/games/spring/Makefile b/games/spring/Makefile index 0a6794329a48..11d3abea4824 100644 --- a/games/spring/Makefile +++ b/games/spring/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: spring -# Date created: 10 Jan 2008 -# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> -# +# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru> # $FreeBSD$ -# PORTNAME= spring PORTVERSION= 0.82.7.1 @@ -15,6 +11,8 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}_src MAINTAINER= amdmi3@FreeBSD.org COMMENT= A project aiming to create a new and versatile RTS Engine +BROKEN= Does not build with recent boost + LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ boost_thread.4:${PORTSDIR}/devel/boost-libs \ IL.2:${PORTSDIR}/graphics/devil \ diff --git a/games/vdrift/Makefile b/games/vdrift/Makefile index 43f1d3cfbaa1..40f9a00ebdb9 100644 --- a/games/vdrift/Makefile +++ b/games/vdrift/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: vdrift -# Date created: 2005-11-09 -# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> -# +# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> # $FreeBSD$ -# PORTNAME= vdrift PORTVERSION= 20100630 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${DATE_VERSION} DISTNAME= ${PORTNAME}-${DATE_VERSION}-src @@ -20,7 +16,7 @@ BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons \ ${LOCALBASE}/lib/libBulletCollision.a:${PORTSDIR}/devel/bullet \ ${LOCALBASE}/include/asio.hpp:${PORTSDIR}/net/asio LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis \ - boost_thread.4:${PORTSDIR}/devel/boost-libs + boost_thread:${PORTSDIR}/devel/boost-libs RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/settings/VDrift.config:${PORTSDIR}/games/vdrift-data USE_BZIP2= yes diff --git a/games/violetland/Makefile b/games/violetland/Makefile index bf5020a0cf29..a9941a07a4e6 100644 --- a/games/violetland/Makefile +++ b/games/violetland/Makefile @@ -3,6 +3,7 @@ PORTNAME= violetland PORTVERSION= 0.4.3 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= GOOGLE_CODE \ http://mirror.amdmi3.ru/distfiles/ @@ -11,7 +12,7 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION}-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Top-down survival shoot 'em up -LIB_DEPENDS= boost_filesystem.4:${PORTSDIR}/devel/boost-libs +LIB_DEPENDS= boost_filesystem:${PORTSDIR}/devel/boost-libs USE_ZIP= yes USE_SDL= sdl mixer image ttf @@ -19,6 +20,7 @@ USE_GL= gl glu MAKE_JOBS_SAFE= yes USE_CMAKE= yes USE_GETTEXT= yes +USE_DOS2UNIX= yes CMAKE_ARGS= -DDATA_INSTALL_DIR="${DATADIR}" WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION} diff --git a/games/violetland/files/patch-boost-1.52 b/games/violetland/files/patch-boost-1.52 new file mode 100644 index 000000000000..c90329f43b04 --- /dev/null +++ b/games/violetland/files/patch-boost-1.52 @@ -0,0 +1,41 @@ +--- CMakeLists.txt.old 2012-11-05 15:19:11.501044743 +0100 ++++ CMakeLists.txt 2012-11-05 15:19:25.415250207 +0100 +@@ -8,7 +8,6 @@ + find_package(SDL_mixer REQUIRED) + find_package(OpenGL REQUIRED) + find_package(Boost COMPONENTS filesystem system REQUIRED) +-add_definitions(-DBOOST_FILESYSTEM_VERSION=2) + + if(${MINGW}) + set(INTL_LIBRARY intl) +--- src/system/utility/FileUtility.cpp.old 2012-11-05 21:26:07.865488297 +0100 ++++ src/system/utility/FileUtility.cpp 2012-11-05 21:30:44.881208230 +0100 +@@ -20,7 +20,7 @@ + + while (dir_it != boost::filesystem::directory_iterator()) { + if (boost::filesystem::is_regular_file(*dir_it)) +- files.push_back(dir_it->filename()); ++ files.push_back(dir_it->path().filename().string()); + ++dir_it; + } + return files; +@@ -32,8 +32,8 @@ + + while (dir_it != boost::filesystem::directory_iterator()) { + if (boost::filesystem::is_directory(*dir_it)) +- if (dir_it->path().filename()[0] != '.') +- subDirs.push_back(dir_it->path().filename()); ++ if (dir_it->path().filename().string()[0] != '.') ++ subDirs.push_back(dir_it->path().filename().string()); + ++dir_it; + } + return subDirs; +@@ -45,7 +45,7 @@ + + while (dir_it != boost::filesystem::directory_iterator()) { + if (boost::filesystem::is_directory(*dir_it)) +- if (dir_it->path().filename()[0] != '.') ++ if (dir_it->path().filename().string()[0] != '.') + ++count; + ++dir_it; + } diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile index 129c08f2f519..cc0aa487b0ac 100644 --- a/games/wesnoth/Makefile +++ b/games/wesnoth/Makefile @@ -2,6 +2,7 @@ PORTNAME= wesnoth PORTVERSION= 1.10.5 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTNAME}-${PORTVERSION} \ http://files.wesnoth.org/ |