Chase boost update

This commit is contained in:
Baptiste Daroussin 2013-01-31 13:38:42 +00:00
parent 49be72eaa4
commit f5f6cd6d9b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311310
161 changed files with 1899 additions and 579 deletions

View file

@ -1,12 +1,9 @@
# New ports collection makefile for: Ardour
# Date created: 2006-12-04
# Whom: Edward Tomasz Napierala <trasz@pin.if.uz.zgora.pl>
#
# Created by: Edward Tomasz Napierala <trasz@pin.if.uz.zgora.pl>
# $FreeBSD$
#
PORTNAME= ardour
PORTVERSION= 2.8.14
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://freebsd.nsu.ru/distfiles/

View file

@ -0,0 +1,13 @@
--- SConstruct.orig 2012-11-21 00:30:54.000000000 +0100
+++ SConstruct 2012-11-21 17:34:02.000000000 +0100
@@ -955,7 +961,9 @@
# FLAC ....
#
-# boost (we don't link against boost, just use some header files)
+# boost (we need to link against boost with >=1.50. header files alone will not work anymore)
+
+env.Append(LIBS=['boost_system'])
libraries['boost'] = LibraryInfo ()
prep_libcheck(env, libraries['boost'])

View file

@ -1,14 +1,14 @@
# Created by: Alexander Botero-Lowry <alex@foxybanana.com>
# $FreeBSD$
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= audio
PKGNAMEPREFIX= cpp-
MAINTAINER= madpilot@FreeBSD.org
COMMENT= C++ Bindings for XMMS2
LIB_DEPENDS+= boost_signals.4:${PORTSDIR}/devel/boost-libs \
LIB_DEPENDS+= boost_signals:${PORTSDIR}/devel/boost-libs \
xmmsclient.6:${PORTSDIR}/audio/xmms2
MASTERDIR= ${.CURDIR}/../xmms2

View file

@ -1,20 +1,16 @@
# New ports collection makefile for: mp3plot
# Date created: 12 June 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= mp3plot
DISTVERSION= 0.6.0
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= audio
MASTER_SITES= http://p.outlyer.net/mp3plot/files/
MAINTAINER= sylvio@FreeBSD.org
COMMENT= Mp3 bitrate plot tool
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs
OPTIONS= GD "Enable support for GD library" on \
IMAGEMAGICK "Enable support for Magick++" off
@ -24,6 +20,7 @@ LICENSE= GPLv2
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-boost-program-options=boost_program_options \
--with-boost-thread=boost_thread
CONFIGURE_ENV+= "LIBS=-lboost_system"
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME}
@ -46,6 +43,8 @@ CONFIGURE_ARGS+= --disable-magick
.endif
post-patch:
@${REINPLACE_CMD} -e '/bldtype_/s|-O2||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/bldtype_/s|-O2||g' \
-e 's|^extra_LD.*||g' \
${WRKSRC}/configure
.include <bsd.port.post.mk>

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: mumble
# Date created: 1 February 2009
# Whom: marius nuennerich
#
# Created by: marius nuennerich
# $FreeBSD$
#
PORTNAME= mumble
PORTVERSION= 1.2.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/Mumble/${PORTVERSION}

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: patchage
# Date created: 2008-07-22
# Whom: Edward Tomasz Napierala <trasz@FreeBSD.org>
#
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= patchage
PORTVERSION= 0.5.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://download.drobilla.net/ \
http://frugalware.mirrors.tds.net/pub/linux/frugalware/frugalware-current/source/xmultimedia-extra/patchage/
@ -20,7 +16,7 @@ LICENSE_COMB= dual
LIB_DEPENDS= jack.0:${PORTSDIR}/audio/jack \
raul.10:${PORTSDIR}/audio/raul \
boost_date_time.4:${PORTSDIR}/devel/boost-libs \
boost_date_time:${PORTSDIR}/devel/boost-libs \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
glibmm-2.4.1:${PORTSDIR}/devel/glibmm \
glademm-2.4:${PORTSDIR}/devel/libglademm24 \

View file

@ -1,12 +1,9 @@
# New ports collection makefile for: raul
# Date created: 2008-07-22
# Whom: Edward Tomasz Napierala <trasz@FreeBSD.org>
#
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= raul
PORTVERSION= 0.8.0
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://download.drobilla.net/
@ -16,7 +13,7 @@ COMMENT= C++ utility library primarily aimed at audio/musical applications
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
LIB_DEPENDS= boost_date_time.4:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= boost_date_time:${PORTSDIR}/devel/boost-libs
USE_BZIP2= yes
USE_GNOME= glib20

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: kicad-devel
# Date created: 27 October 2009
# Whom: Michael Reifenberger <mr@FreeBSD.org>
#
# Created by: Michael Reifenberger <mr@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= kicad
DISTVERSION= r${BZR_SRC_REV}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= cad
DIST_SUBDIR= ${PORTNAME}
MASTER_SITES= ${MASTER_SITE_LOCAL}
@ -18,7 +14,7 @@ PKGNAMESUFFIX= -devel
MAINTAINER= mr@FreeBSD.org
COMMENT= Schematic and PCB editing software
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs
CONFLICTS= kicad-2008*

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: kicad
# Date created: 29 November 2005
# Whom: Thierry Thomas <thierry@FreeBSD.org>
#
# Created by: Thierry Thomas <thierry@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= kicad
DISTVERSION= 2010-05-05-BZR2356
PORTREVISION= 3
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= cad
MASTER_SITES= ftp://iut-tice.ujf-grenoble.fr/cao/ \
@ -19,7 +15,7 @@ EXTRACT_ONLY= ${SFNAME}-stable${EXTRACT_SUFX}
MAINTAINER= thierry@FreeBSD.org
COMMENT= Schematic and PCB editing software
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs
RUN_DEPENDS= ${LOCALBASE}/share/kicad/library/74xx.dcm:${PORTSDIR}/cad/kicad-library
CONFLICTS= kicad-devel*

View file

@ -3,6 +3,7 @@
PORTNAME= librime
PORTVERSION= 0.9.4
PORTREVISION= 1
CATEGORIES= chinese textproc
MASTER_SITES= GOOGLE_CODE
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} brise-${DATA_VER}.tar.gz

View file

@ -2,6 +2,7 @@
PORTNAME= gnuradio
PORTVERSION= 3.6.2
PORTREVISION= 1
CATEGORIES= comms astro hamradio
MASTER_SITES= http://gnuradio.org/releases/gnuradio/

View file

@ -2,6 +2,7 @@
PORTNAME= usrp
PORTVERSION= 3.4.3
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= adrian

View file

@ -1,12 +1,9 @@
# New ports collection Makefile for: akonadi
# Date created: 2008-01-20
# Whom: miwi
#
# Created by: miwi
# $FreeBSD$
PORTNAME= akonadi
PORTVERSION= 1.7.2
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= databases kde ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTNAME}/src/

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: flare
# Date created: 2010-05-29
# Whom: Norikatsu Shigemura <nork@FreeBSD.org>
#
# Created by: Norikatsu Shigemura <nork@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= flare
PORTVERSION= 1.0.9
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= databases
MASTER_SITES= http://labs.gree.jp/data/source/
EXTRACT_SUFX= .tgz
@ -15,8 +11,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Flare - distributed and persistent key-value storage
LIB_DEPENDS= boost_program_options.4:${PORTSDIR}/devel/boost-libs \
tokyocabinet.9:${PORTSDIR}/databases/tokyocabinet
LIB_DEPENDS= boost_program_options:${PORTSDIR}/devel/boost-libs \
tokyocabinet:${PORTSDIR}/databases/tokyocabinet
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: mongodb
# Date created: 3 November 2009
# Whom: Mirko Zinn <mail@derzinn.de>
#
# Created by: Mirko Zinn <mail@derzinn.de>
# $FreeBSD$
#
PORTNAME= mongodb
PORTVERSION= 2.2.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= databases net
MASTER_SITES= http://downloads.mongodb.org/src/
DISTNAME= ${PORTNAME}-src-r${PORTVERSION}

View file

@ -0,0 +1,215 @@
--- src/mongo/db/db.cpp 2012-08-28 08:28:11.000000000 +0300
+++ src/mongo/db/db.cpp 2012-10-21 18:25:50.000000000 +0300
@@ -348,7 +348,7 @@
boost::filesystem::path path( dbpath );
for ( boost::filesystem::directory_iterator i( path );
i != boost::filesystem::directory_iterator(); ++i ) {
- string fileName = boost::filesystem::path(*i).leaf();
+ string fileName = boost::filesystem::path(*i).leaf().string();
if ( boost::filesystem::is_directory( *i ) &&
fileName.length() && fileName[ 0 ] == '$' )
boost::filesystem::remove_all( *i );
@@ -748,11 +748,11 @@
dbExecCommand = argv[0];
srand(curTimeMicros());
-#if( BOOST_VERSION >= 104500 )
- boost::filesystem::path::default_name_check( boost::filesystem2::no_check );
-#else
- boost::filesystem::path::default_name_check( boost::filesystem::no_check );
-#endif
+// #if( BOOST_VERSION >= 104500 )
+// boost::filesystem::path::default_name_check( boost::filesystem2::no_check );
+// #else
+// boost::filesystem::path::default_name_check( boost::filesystem::no_check );
+// #endif
{
unsigned x = 0x12345678;
@@ -1083,7 +1083,7 @@
if (params.count("shutdown")){
bool failed = false;
- string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).native_file_string();
+ string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).string();
if ( !boost::filesystem::exists( name ) || boost::filesystem::file_size( name ) == 0 )
failed = true;
--- src/mongo/db/dur.cpp 2012-08-28 08:28:11.000000000 +0300
+++ src/mongo/db/dur.cpp 2012-10-21 18:25:50.000000000 +0300
@@ -770,7 +770,7 @@
bool samePartition = true;
try {
- const string dbpathDir = boost::filesystem::path(dbpath).native_directory_string();
+ const string dbpathDir = boost::filesystem::path(dbpath).string();
samePartition = onSamePartition(getJournalDir().string(), dbpathDir);
}
catch(...) {
--- src/mongo/db/dur_journal.cpp 2012-08-28 08:28:11.000000000 +0300
+++ src/mongo/db/dur_journal.cpp 2012-10-21 18:25:50.000000000 +0300
@@ -176,7 +176,7 @@
for ( boost::filesystem::directory_iterator i( getJournalDir() );
i != boost::filesystem::directory_iterator();
++i ) {
- string fileName = boost::filesystem::path(*i).leaf();
+ string fileName = boost::filesystem::path(*i).leaf().string();
if( anyFiles || str::startsWith(fileName, "j._") )
return true;
}
@@ -194,7 +194,7 @@
for ( boost::filesystem::directory_iterator i( getJournalDir() );
i != boost::filesystem::directory_iterator();
++i ) {
- string fileName = boost::filesystem::path(*i).leaf();
+ string fileName = boost::filesystem::path(*i).leaf().string();
if( str::startsWith(fileName, "j._") ) {
try {
removeOldJournalFile(*i);
--- src/mongo/db/dur_recover.cpp 2012-08-28 08:28:11.000000000 +0300
+++ src/mongo/db/dur_recover.cpp 2012-10-21 18:25:50.000000000 +0300
@@ -72,7 +72,7 @@
i != boost::filesystem::directory_iterator();
++i ) {
boost::filesystem::path filepath = *i;
- string fileName = boost::filesystem::path(*i).leaf();
+ string fileName = boost::filesystem::path(*i).leaf().string();
if( str::startsWith(fileName, "j._") ) {
unsigned u = str::toUnsigned( str::after(fileName, '_') );
if( m.count(u) ) {
@@ -85,7 +85,7 @@
if( i != m.begin() && m.count(i->first - 1) == 0 ) {
uasserted(13532,
str::stream() << "unexpected file in journal directory " << dir.string()
- << " : " << boost::filesystem::path(i->second).leaf() << " : can't find its preceeding file");
+ << " : " << boost::filesystem::path(i->second).leaf().string() << " : can't find its preceeding file");
}
files.push_back(i->second);
}
--- src/mongo/db/instance.cpp 2012-08-28 08:28:11.000000000 +0300
+++ work/mongodb-src-r2.2.0/src/mongo/db/instance.cpp 2012-10-21 18:25:50.000000000 +0300
@@ -833,13 +833,13 @@
i != boost::filesystem::directory_iterator(); ++i ) {
if ( directoryperdb ) {
boost::filesystem::path p = *i;
- string dbName = p.leaf();
+ string dbName = p.leaf().string();
p /= ( dbName + ".ns" );
if ( exists( p ) )
names.push_back( dbName );
}
else {
- string fileName = boost::filesystem::path(*i).leaf();
+ string fileName = boost::filesystem::path(*i).leaf().string();
if ( fileName.length() > 3 && fileName.substr( fileName.length() - 3, 3 ) == ".ns" )
names.push_back( fileName.substr( 0, fileName.length() - 3 ) );
}
@@ -1102,7 +1102,7 @@
}
void acquirePathLock(bool doingRepair) {
- string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).native_file_string();
+ string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).string();
bool oldFile = false;
--- src/mongo/db/pdfile.cpp 2012-08-28 08:28:11.000000000 +0300
+++ src/mongo/db/pdfile.cpp 2012-10-21 18:25:50.000000000 +0300
@@ -1675,7 +1675,7 @@
virtual bool apply( const Path &p ) {
if ( !boost::filesystem::exists( p ) )
return false;
- boostRenameWrapper( p, newPath_ / ( p.leaf() + ".bak" ) );
+ boostRenameWrapper( p, newPath_ / ( p.leaf().string() + ".bak" ) );
return true;
}
virtual const char * op() const {
@@ -1783,7 +1783,7 @@
uniqueReservedPath( ( preserveClonedFilesOnFailure || backupOriginalFiles ) ?
"backup" : "_tmp" );
MONGO_ASSERT_ON_EXCEPTION( boost::filesystem::create_directory( reservedPath ) );
- string reservedPathString = reservedPath.native_directory_string();
+ string reservedPathString = reservedPath.string();
bool res;
{
--- src/mongo/dbtests/framework.cpp 2012-08-28 08:28:11.000000000 +0300
+++ src/mongo/dbtests/framework.cpp 2012-10-21 18:25:50.000000000 +0300
@@ -199,7 +199,7 @@
boost::filesystem::create_directory(p);
}
- string dbpathString = p.native_directory_string();
+ string dbpathString = p.string();
dbpath = dbpathString.c_str();
cmdLine.prealloc = false;
--- src/mongo/pch.h 2012-08-28 08:28:11.000000000 +0300
+++ src/mongo/pch.h 2012-10-21 18:25:50.000000000 +0300
@@ -44,7 +44,7 @@
#include "string.h"
#include "limits.h"
-#define BOOST_FILESYSTEM_VERSION 2
+#define BOOST_FILESYSTEM_VERSION 3
#include <boost/shared_ptr.hpp>
#include <boost/smart_ptr.hpp>
#include <boost/function.hpp>
--- src/mongo/shell/shell_utils_launcher.cpp 2012-08-28 08:28:11.000000000 +0300
+++ src/mongo/shell/shell_utils_launcher.cpp 2012-10-21 18:25:50.000000000 +0300
@@ -184,7 +184,7 @@
}
#endif
- _argv.push_back( programPath.native_file_string() );
+ _argv.push_back( programPath.string() );
_port = -1;
--- src/mongo/tools/restore.cpp 2012-08-28 08:28:11.000000000 +0300
+++ src/mongo/tools/restore.cpp 2012-10-21 18:25:50.000000000 +0300
@@ -174,7 +174,7 @@
log(2) << "drillDown: " << root.string() << endl;
// skip hidden files and directories
- if (root.leaf()[0] == '.' && root.leaf() != ".")
+ if (root.leaf().string()[0] == '.' && root.leaf().string() != ".")
return;
if ( is_directory( root ) ) {
@@ -255,7 +255,7 @@
verify( ns.size() );
- string oldCollName = root.leaf(); // Name of the collection that was dumped from
+ string oldCollName = root.leaf().string(); // Name of the collection that was dumped from
oldCollName = oldCollName.substr( 0 , oldCollName.find_last_of( "." ) );
if (use_coll) {
ns += "." + _coll;
@@ -287,7 +287,7 @@
if (!boost::filesystem::exists(metadataFile.string())) {
// This is fine because dumps from before 2.1 won't have a metadata file, just print a warning.
// System collections shouldn't have metadata so don't warn if that file is missing.
- if (!startsWith(metadataFile.leaf(), "system.")) {
+ if (!startsWith(metadataFile.leaf().string(), "system.")) {
log() << metadataFile.string() << " not found. Skipping." << endl;
}
} else {
--- src/mongo/tools/tool.cpp 2012-08-28 08:28:11.000000000 +0300
+++ src/mongo/tools/tool.cpp 2012-10-21 18:25:50.000000000 +0300
@@ -118,11 +118,11 @@
// we want durability to be disabled.
cmdLine.dur = false;
-#if( BOOST_VERSION >= 104500 )
- boost::filesystem::path::default_name_check( boost::filesystem2::no_check );
-#else
- boost::filesystem::path::default_name_check( boost::filesystem::no_check );
-#endif
+// #if( BOOST_VERSION >= 104500 )
+// boost::filesystem::path::default_name_check( boost::filesystem2::no_check );
+// #else
+// boost::filesystem::path::default_name_check( boost::filesystem::no_check );
+// #endif
_name = argv[0];

View file

@ -1,12 +1,9 @@
# New ports collection Makefile for: mysql-connector-c++
# Date created: 25 August 2011
# Whom: gahr
#
# Created by: gahr
# $FreeBSD$
#
PORTNAME= mysql-connector-c++
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= Connector-C++
@ -16,7 +13,7 @@ COMMENT= A MySQL database connector for C++
LICENSE= GPLv2
LIB_DEPENDS= boost_regex.4:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= boost_regex:${PORTSDIR}/devel/boost-libs
USE_MYSQL= 51+
USE_LDCONFIG= yes

View file

@ -3,7 +3,7 @@
PORTNAME= gnote
PORTVERSION= 0.7.6
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \
pcre.3:${PORTSDIR}/devel/pcre \
gtkspell.0:${PORTSDIR}/textproc/gtkspell \
boost_filesystem.4:${PORTSDIR}/devel/boost-libs \
boost_filesystem:${PORTSDIR}/devel/boost-libs \
uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid
USE_GMAKE= yes

View file

@ -1,11 +1,9 @@
# New ports collection Makefile for: kdepimp4
# Date created: 2008-31-05
# Whom: miwi
#
# Created by: miwi
# $FreeBSD$
PORTNAME= kdepim-runtime
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 1
CATEGORIES= deskutils kde ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
@ -14,7 +12,7 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Libraries for KDE-PIM applications
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs
BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
CONFLICTS_INSTALL= kdepim-runtime-4.4.*

View file

@ -3,7 +3,7 @@
PORTNAME= kdepim
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= deskutils kde ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
@ -15,7 +15,7 @@ COMMENT= Libraries for KDE-PIM applications
LIB_DEPENDS= gpgme.19:${PORTSDIR}/security/gpgme \
assuan.0:${PORTSDIR}/security/libassuan \
sasl2:${PORTSDIR}/security/cyrus-sasl2 \
boost_thread.4:${PORTSDIR}/devel/boost-libs \
boost_thread:${PORTSDIR}/devel/boost-libs \
grantlee_gui.0:${PORTSDIR}/devel/grantlee \
clucene-core:${PORTSDIR}/textproc/clucene
BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt

View file

@ -1,12 +1,9 @@
# New ports collection Makefile for: kdepimp4
# Date created: 2008-31-05
# Whom: miwi
#
# Created by: miwi
# $FreeBSD$
PORTNAME= kdepim-runtime
PORTVERSION= 4.4.11.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= deskutils kde ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/kdepim-${PORTVERSION}/src

View file

@ -1,12 +1,9 @@
# New ports collection Makefile for: kdepimp4
# Date created: 2008-31-05
# Whom: miwi
#
# Created by: miwi
# $FreeBSD$
PORTNAME= kdepim
PORTVERSION= 4.4.11.1
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= deskutils kde ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/kdepim-${PORTVERSION}/src

View file

@ -1,12 +1,9 @@
# New ports collection Makefile for: kdepimplibs
# Date created: 2008-01-20
# Whom: arved
#
# Created by: arved
# $FreeBSD$
PORTNAME= kdepimlibs
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= deskutils kde ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
@ -17,7 +14,7 @@ COMMENT= Libraries for KDE-PIM applications
LIB_DEPENDS= gpgme.19:${PORTSDIR}/security/gpgme \
sasl2:${PORTSDIR}/security/cyrus-sasl2 \
boost_thread.4:${PORTSDIR}/devel/boost-libs \
boost_thread:${PORTSDIR}/devel/boost-libs \
ical:${PORTSDIR}/devel/libical \
uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid \
prison.0:${PORTSDIR}/graphics/prison

View file

@ -10,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/Launchy%20on%20Linux/${PORTVERSION}
MAINTAINER= eadler@FreeBSD.org
COMMENT= An open source keystroke launcher
BUILD_DEPENDS= ${LOCALBASE}/include/boost/spirit/core.hpp:${PORTSDIR}/devel/boost-libs
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
RUN_DEPENDS= ${LOCALBASE}/bin/xdg-open:${PORTSDIR}/devel/xdg-utils
USE_DOS2UNIX= readme.lyx readme.txt

View file

@ -3,6 +3,7 @@
PORTNAME= pinot
PORTVERSION= 1.03
PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
#MASTER_SITES= http://colinf.chez.com/pinot/
@ -19,7 +20,7 @@ LIB_DEPENDS= xapian:${PORTSDIR}/databases/xapian-core \
exttextcat-2.0:${PORTSDIR}/textproc/libexttextcat \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
xml\\+\\+-2.6:${PORTSDIR}/textproc/libxml++26 \
boost_thread.4:${PORTSDIR}/devel/boost-libs \
boost_thread:${PORTSDIR}/devel/boost-libs \
execinfo.1:${PORTSDIR}/devel/libexecinfo \
exif.12:${PORTSDIR}/graphics/libexif \
exiv2.12:${PORTSDIR}/graphics/exiv2 \

View file

@ -3,7 +3,7 @@
PORTNAME= strigi
PORTVERSION= 0.7.7
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= deskutils
MASTER_SITES= http://rdieter.fedorapeople.org/strigi/
#MASTER_SITES= http://www.vandenoever.info/software/strigi/ \

View file

@ -3,6 +3,7 @@
PORTNAME= avro
PORTVERSION= 1.7.3
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= APACHE
MASTER_SITE_SUBDIR= ${PORTNAME}/stable

View file

@ -3,6 +3,7 @@
PORTNAME= cocaine-core
PORTVERSION= 0.10
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GH GHC
@ -26,6 +27,12 @@ GH_ACCOUNT= zloidemon
GH_COMMIT= 7d0f35c
GH_TAGNAME= master
MAKE_JOBS_SAFE= yes
CONFLICTS= json-c-[0-9]*
post-patch:
@${REINPLACE_CMD} -e "s,boost_thread,boost_thread ${PTHREAD_LIBS},g" \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>

View file

@ -3,6 +3,7 @@
PORTNAME= eblob
PORTVERSION= 0.17.5
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= g.veniamin@googlemail.com

View file

@ -2,7 +2,7 @@
PORTNAME= edb
PORTVERSION= 0.9.18
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://codef00.com/projects/
DISTNAME= debugger-${PORTVERSION}

View file

@ -1,11 +1,9 @@
# New ports collection Makefile for: kdesdk
# Date created: 2008-01-31
# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
PORTNAME= kdesdk
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 1
CATEGORIES= devel kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
@ -15,7 +13,7 @@ MAINTAINER= kde@FreeBSD.org
COMMENT= KDE Software Development Kit
LIB_DEPENDS= svn_client-1.0:${PORTSDIR}/devel/subversion \
boost_thread.4:${PORTSDIR}/devel/boost-libs \
boost_thread:${PORTSDIR}/devel/boost-libs \
hunspell-1.3.0:${PORTSDIR}/textproc/hunspell \
qca.2:${PORTSDIR}/devel/qca
BUILD_DEPENDS= ${LOCALBASE}/include/ltdl.h:${PORTSDIR}/devel/libltdl

View file

@ -1,12 +1,9 @@
# New ports collection makefile for: kdevplatform
# Date created: Sun Aug 23 17:14:39 UTC 2009
# Whom: Golyashov Sergei <svvord@mail.ru>
#
# Created by: Golyashov Sergei <svvord@mail.ru>
# $FreeBSD$
PORTNAME= kdevplatform
PORTVERSION= ${KDEVELOP_VERSION:S/4./1./}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDEVELOP_BRANCH}/kdevelop/${KDEVELOP_VERSION}/src
@ -16,7 +13,7 @@ MAINTAINER= kde@FreeBSD.org
COMMENT= KDE development platform
LIB_DEPENDS= svn_client-1.0:${PORTSDIR}/devel/subversion \
boost_thread.4:${PORTSDIR}/devel/boost-libs \
boost_thread:${PORTSDIR}/devel/boost-libs \
qjson.0:${PORTSDIR}/devel/qjson
USE_BZIP2= yes

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: libXGP
# Date created: 20 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= libXGP
MASTERDIR= ${.CURDIR}/../libYGP

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: libygp
# Date created: 2 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
#
PORTNAME?= libYGP
PORTVERSION= 0.9.42
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/libymp/libymp/libYGP-${PORTVERSION}
DISTNAME= libYGP-${PORTVERSION}
@ -19,7 +15,7 @@ LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
boost_filesystem:${PORTSDIR}/devel/boost-libs
USE_BZIP2= yes
USE_GCC= any
USE_GCC= 4.6+
GNU_CONFIGURE= yes
USE_GNOME= gnomehack
USE_LDCONFIG= yes
@ -30,8 +26,6 @@ CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --with-gmp\
--disable-static --disable-rpath --enable-network-trav
USE_GMAKE= yes
CXXFLAGS+= -DBOOST_FILESYSTEM_VERSION=2
.if ${PORTNAME:M*XGP}
LIB_DEPENDS+= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
PLIST_SUB= YGP="@comment " XGP=""
@ -41,6 +35,7 @@ MKIN_PATCH= s/^(SUBDIRS = ).*$$/\1XGP/;
.else
PLIST_SUB= XGP="@comment " YGP=""
MKIN_PATCH= s/@MYSUBDIRS@/YGP/;
BROKEN= Does not build with recent boost
.endif
post-patch:

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: libiqxmlrpc
# Date created: 1 Apr 2008
# Whom: Max Khon <fjoe@FreeBSD.org>
#
# Created by: Max Khon <fjoe@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= libiqxmlrpc
PORTVERSION= 0.11.1
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF
@ -15,7 +11,7 @@ MAINTAINER= fjoe@FreeBSD.org
COMMENT= Free, object-oriented XML-RPC implementation written in C++
BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs
LICENSE= BSD
@ -27,6 +23,7 @@ CMAKE_ARGS= -Dbuild_docs=off
.endif
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
USE_OPENSSL= yes
PORTDATA= *

View file

@ -3,6 +3,7 @@
PORTNAME= libslave
PORTVERSION= 0.0.${DATE}
PORTREVISION= 1
CATEGORIES= devel databases
MASTER_SITES= GH GHC

View file

@ -3,7 +3,7 @@
PORTNAME= nemiver
PORTVERSION= 0.8.2
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}

View file

@ -0,0 +1,10 @@
--- ./src/tools/moc/main.cpp.orig 2013-01-30 16:16:31.615488856 +0000
+++ ./src/tools/moc/main.cpp 2013-01-30 16:16:52.991681291 +0000
@@ -187,6 +187,7 @@
Moc moc;
pp.macros["Q_MOC_RUN"];
pp.macros["__cplusplus"];
+ pp.macros["BOOST_TT_HAS_OPERATOR_HPP_INCLUDED"];
QByteArray filename;
QByteArray output;
FILE *in = 0;

View file

@ -1,11 +1,9 @@
# New ports collection makefile for: ros
# Date created: 2010-08-01
# Whom: Rene Ladan <rene@FreeBSD.org>
#
# Created by: Rene Ladan <rene@FreeBSD.org>
# $FreeBSD$
PORTNAME= ros
PORTVERSION= 1.4.10
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://code.ros.org/svn/release/download/stacks/${STACKNAME}/${STACKNAME}-${PORTVERSION}/
DIST_SUBDIR= ros

View file

@ -3,7 +3,7 @@
PORTNAME= sdts++
PORTVERSION= 1.5.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://thor-f5.er.usgs.gov/sdts/sdtsxx/ \
http://lychnobite.org/sdts/

View file

@ -2,6 +2,7 @@
PORTNAME= simgear
PORTVERSION= 2.8.0
PORTREVISION= 1
CATEGORIES= devel games
MASTER_SITES= http://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/ \
ftp://ftp.de.flightgear.org/pub/simgear/Source/ \

View file

@ -3,6 +3,7 @@
PORTNAME= smack
PORTVERSION= 0.5.0
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= g.veniamin@googlemail.com

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: subcommander
# Date created: 22 July 2007
# Whom: sutra
#
# Created by: sutra
# $FreeBSD$
#
PORTNAME= subcommander
PORTVERSION= 1.2.3
PORTREVISION= 11
PORTREVISION= 12
CATEGORIES= devel
MASTER_SITES= http://subcommander.tigris.org/files/documents/1759/42385/
DISTNAME= Subcommander-${PORTVERSION}
@ -16,7 +12,7 @@ MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Qt based multiplatform subversion client, diff & merge tool
LIB_DEPENDS= neon.27:${PORTSDIR}/www/neon29 \
boost_thread.4:${PORTSDIR}/devel/boost-libs \
boost_thread:${PORTSDIR}/devel/boost-libs \
svn_client-1.0:${PORTSDIR}/devel/subversion16
CONFLICTS_BUILD=subversion-1.7.[0-9]*

View file

@ -3,6 +3,7 @@
PORTNAME= subcommander
PORTVERSION= 2.0.0.b5.2
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION:R:S,.b,~b,}p${PORTVERSION:E}.orig

View file

@ -3,7 +3,7 @@
PORTNAME= uatraits
PORTVERSION= 20121112
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel www
MASTER_SITES= http://people.freebsd.org/~demon/

View file

@ -2,7 +2,7 @@
PORTNAME= powerdns
PORTVERSION= 3.2.r4
PORTREVISION?= 0
PORTREVISION?= 1
PORTEPOCH= 1
CATEGORIES= dns ipv6
MASTER_SITES= http://powerdnssec.org/downloads/
@ -14,7 +14,7 @@ COMMENT= An advanced DNS server with multiple backends including SQL
LICENSE= GPLv2
LIB_DEPENDS= boost_serialization.[4-9]:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= boost_serialization:${PORTSDIR}/devel/boost-libs
USE_LUA= 5.1
LUA_COMPS= lua

View file

@ -2,7 +2,7 @@
PORTNAME= powerdns
PORTVERSION= 3.1
PORTREVISION?= 1
PORTREVISION?= 2
CATEGORIES= dns ipv6
MASTER_SITES= http://downloads.powerdns.com/releases/ \
http://mirrors.evolva.ro/powerdns.com/releases/
@ -14,7 +14,7 @@ COMMENT= An advanced DNS server with multiple backends including SQL
LICENSE= GPLv2
BUILD_DEPENDS= bjam:${PORTSDIR}/devel/boost-jam
LIB_DEPENDS= boost_serialization.[4-9]:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= boost_serialization:${PORTSDIR}/devel/boost-libs
# botan.0:${PORTSDIR}/security/botan
USE_LUA= 5.1

View file

@ -1,14 +1,10 @@
# New ports collection makefile for: AbiWord2
# Date created: 22 February 2003
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/editors/abiword/Makefile,v 1.13 2009/11/10 13:56:18 kwm Exp $
#
PORTNAME= abiword
PORTVERSION= 2.8.4
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= editors
MASTER_SITES= http://www.abisource.com/downloads/%SUBDIR%/${PORTVERSION}/source/
MASTER_SITE_SUBDIR= abiword
@ -58,7 +54,7 @@ CONFIGURE_ARGS+= --enable-debug --enable-symbols
.if defined(WITH_BOOST)
CONFIGURE_ARGS+= --with-boost
LIB_DEPENDS+= boost_system.4:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS+= boost_system:${PORTSDIR}/devel/boost-libs
.else
CONFIGURE_ARGS+= --without-boost
.endif

View file

@ -2,7 +2,7 @@
PORTNAME= calligra
PORTVERSION= ${CALLIGRA_VERSION}
PORTREVSION= 1
PORTREVSION= 2
CATEGORIES= editors kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${CALLIGRA_BRANCH}/${PORTNAME}-${PORTVERSION}/
@ -13,7 +13,7 @@ COMMENT= KDE graphic art and office suite
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
IlmImf:${PORTSDIR}/graphics/OpenEXR \
boost_thread.4:${PORTSDIR}/devel/boost-libs \
boost_thread:${PORTSDIR}/devel/boost-libs \
qca.2:${PORTSDIR}/devel/qca \
exiv2.12:${PORTSDIR}/graphics/exiv2 \
lcms2.2:${PORTSDIR}/graphics/lcms2 \

View file

@ -2,7 +2,7 @@
.include "${.CURDIR}/Makefile.common"
PORTREVISION= 1
PORTREVISION= 2
MASTER_SITE_SUBDIR= src/${PORTVERSION}/
MASTER_SITES+= http://dev-www.libreoffice.org/src/:ext \
@ -46,7 +46,7 @@ LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
nss3.1:${PORTSDIR}/security/nss \
SampleICC.2:${PORTSDIR}/graphics/sampleicc \
png15:${PORTSDIR}/graphics/png \
cmis-0.2.0:${PORTSDIR}/net/libcmis \
cmis-0.3:${PORTSDIR}/net/libcmis \
RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/Liberation/LiberationMono-Bold.ttf:${PORTSDIR}/x11-fonts/liberation-fonts-ttf \
${LOCALBASE}/lib/X11/fonts/LinLibertineG/LinLibertine_DR_G.ttf:${PORTSDIR}/x11-fonts/linuxlibertine-g \

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: madedit
# Date created: 2007-08-08
# Whom: Xin LI <delphij@FreeBSD.org>
#
# Created by: Xin LI <delphij@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= madedit
PORTVERSION= 0.2.9
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}/MadEdit/MadEdit-${PORTVERSION}

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: pdfedit
# Date created: 2007-12-20
# Whom: alepulver
#
# Created by: alepulver
# $FreeBSD$
#
PORTNAME= pdfedit
PORTVERSION= 0.4.5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= editors
MASTER_SITES= SF
@ -15,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Free editor for manipulating PDF documents (QT3 GUI and CLI)
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
LIB_DEPENDS= boost_filesystem.4:${PORTSDIR}/devel/boost-libs \
LIB_DEPENDS= boost_filesystem:${PORTSDIR}/devel/boost-libs \
t1.5:${PORTSDIR}/devel/t1lib
DEPRECATED= Depends on QT3; unmaintained

View file

@ -2,7 +2,7 @@
PORTNAME= kmymoney
PORTVERSION= 4.6.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= finance kde
MASTER_SITES= SF/${PORTNAME}2/KMyMoney-KDE4/${PORTVERSION}

View file

@ -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 \

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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/

View file

@ -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 \

View file

@ -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/ \

View file

@ -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

View file

@ -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

View file

@ -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;

View file

@ -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);
}

View file

@ -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

View file

@ -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"):

View file

@ -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

View file

@ -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

View file

@ -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 \

View file

@ -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

View file

@ -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}

View file

@ -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());

View file

@ -3,6 +3,7 @@
PORTNAME= pokerth
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
DISTNAME= PokerTH-${PORTVERSION}-src

View file

@ -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

View file

@ -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

View file

@ -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 \

View file

@ -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

View file

@ -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}

View file

@ -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;
}

View file

@ -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/

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: gnome-colorscheme
# Date created: 30 August 2005
# Whom: Piotr Smyrak <smyru@heron.pl>
#
# Created by: Piotr Smyrak <smyru@heron.pl>
# $FreeBSD$
#
PORTNAME= agave
PORTVERSION= 0.4.2
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= graphics gnome
MASTER_SITES= http://download.gna.org/colorscheme/releases/
@ -15,7 +11,7 @@ MAINTAINER= smyru@heron.pl
COMMENT= A color scheme builder for the GNOME desktop
LIB_DEPENDS= glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
boost_thread.4:${PORTSDIR}/devel/boost-libs
boost_thread:${PORTSDIR}/devel/boost-libs
# --disable-gnome option is broken in 0.4.2
#OPTIONS= GNOME "Adds GNOME support" on

View file

@ -1,14 +1,9 @@
# ex:ts=8
# Ports collection Makefile for: aqsis
# Date created: Sep 12, 2002
# Whom: ijliao
#
# Created by: ijliao
# $FreeBSD$
#
PORTNAME= aqsis
PORTVERSION= 1.8.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION}
@ -21,7 +16,7 @@ LICENSE_COMB= multi
BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \
xsltproc:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS= IlmImf:${PORTSDIR}/graphics/OpenEXR \
boost_filesystem.4:${PORTSDIR}/devel/boost-libs \
boost_filesystem:${PORTSDIR}/devel/boost-libs \
tiff.4:${PORTSDIR}/graphics/tiff \
fltk.1:${PORTSDIR}/x11-toolkits/fltk

View file

@ -3,7 +3,7 @@
PORTNAME= blender
PORTVERSION= 2.65a
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics games
MASTER_SITES= http://download.blender.org/source/ \
http://mirror.cs.umn.edu/blender.org/source/ \

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: enblend
# Date created: 19 september 2004
# Whom: cartola@openit.com.br
#
# Created by: cartola@openit.com.br
# $FreeBSD$
#
PORTNAME= enblend
PORTVERSION= 4.0
@ -16,13 +12,13 @@ DISTNAME= enblend-enfuse-${PORTVERSION}
MAINTAINER= grog@FreeBSD.org
COMMENT= A tool for image blending with multiresolution splines
BUILD_DEPENDS= ${LOCALBASE}/include/boost/pool/pool.hpp:${PORTSDIR}/devel/boost-libs \
${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo \
BUILD_DEPENDS= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo \
OpenEXR>=1.0:${PORTSDIR}/graphics/OpenEXR
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
lcms:${PORTSDIR}/graphics/lcms \
xmi:${PORTSDIR}/graphics/plotutils \
tiff:${PORTSDIR}/graphics/tiff
tiff:${PORTSDIR}/graphics/tiff \
boost_filesystem:${PORTSDIR}/devel/boost-libs
RUN_DEPENDS= OpenEXR>=1.0:${PORTSDIR}/graphics/OpenEXR
WRKSRC= ${WRKDIR}/enblend-enfuse-4.0-753b534c819d
@ -39,6 +35,8 @@ CONFIGURE_ARGS= MAKEINFO="${LOCALBASE}/bin/makeinfo"
USE_GCC= 4.4+
USE_GL= glew glut
GNU_CONFIGURE= yes
CONFIGURE_ENV+= "LIBS=-lboost_system"
CONFIGURE_ARGS+= --with-boost-filesystem
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

View file

@ -0,0 +1,125 @@
--- src/filenameparse.cc Tue Mar 15 18:52:46 2011 +0100
+++ src/filenameparse.cc Sat Apr 09 20:17:05 2011 -0700
@@ -50,7 +50,7 @@
#ifdef HAVE_BOOST_FILESYSTEM
#include <boost/filesystem.hpp>
-typedef boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> basic_path;
+//typedef boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> basic_path;
#endif
@@ -60,7 +60,7 @@
isRelativePath(const std::string& aFilename)
{
#ifdef HAVE_BOOST_FILESYSTEM
- const basic_path path(aFilename);
+ const boost::filesystem::path path(aFilename);
return !path.has_root_directory();
#else
const std::string::size_type separator = aFilename.find(PATH_SEPARATOR);
@@ -80,7 +80,7 @@
extractDirname(const std::string& aFilename)
{
#ifdef HAVE_BOOST_FILESYSTEM
- const basic_path path(aFilename);
+ const boost::filesystem::path path(aFilename);
const std::string directory(path.branch_path().string());
return directory.empty() ? DOT : directory;
#else
@@ -94,8 +94,8 @@
extractBasename(const std::string& aFilename)
{
#ifdef HAVE_BOOST_FILESYSTEM
- const basic_path path(aFilename);
- return path.leaf();
+ const boost::filesystem::path path(aFilename);
+ return path.leaf().string();
#else
const std::string::size_type separator = aFilename.rfind(PATH_SEPARATOR);
return
@@ -110,7 +110,7 @@
extractFilename(const std::string& aFilename)
{
#ifdef HAVE_BOOST_FILESYSTEM
- const basic_path path(aFilename);
+ const boost::filesystem::path path(aFilename);
return basename(path);
#else
const std::string::size_type separator = aFilename.rfind(PATH_SEPARATOR);
@@ -134,7 +134,7 @@
extractExtension(const std::string& aFilename)
{
#ifdef HAVE_BOOST_FILESYSTEM
- const basic_path path(aFilename);
+ const boost::filesystem::path path(aFilename);
return extension(path);
#else
const std::string::size_type dot = aFilename.rfind(DOT);
@@ -151,11 +151,11 @@
#ifdef HAVE_BOOST_FILESYSTEM
-inline basic_path
-removeDotsBoost(const basic_path& aPath)
+inline boost::filesystem::path
+removeDotsBoost(const boost::filesystem::path& aPath)
{
- basic_path result;
- for (basic_path::const_iterator p = aPath.begin(); p != aPath.end(); ++p)
+ boost::filesystem::path result;
+ for (boost::filesystem::path::const_iterator p = aPath.begin(); p != aPath.end(); ++p)
{
if (*p != DOT)
{
@@ -166,11 +166,12 @@
}
-inline basic_path
-removeDotDotsBoost(const basic_path& aPath)
+inline boost::filesystem::path
+removeDotDotsBoost(const boost::filesystem::path& aPath)
{
list_t directories;
- for (basic_path::const_iterator p = aPath.begin(); p != aPath.end(); ++p)
+ for (boost::filesystem::path::const_iterator p = aPath.begin(); p != aPath.end(); ++p)
+
{
if (*p == DOTDOT &&
!directories.empty() && directories.back() != DOTDOT)
@@ -179,10 +180,10 @@
}
else
{
- directories.push_back(*p);
+ directories.push_back((*p).string());
}
}
- basic_path result;
+ boost::filesystem::path result;
for (list_t::const_iterator p = directories.begin(); p != directories.end(); ++p)
{
result /= *p;
@@ -295,8 +296,8 @@
canonicalizePath(const std::string& aPathname, bool keepDot)
{
#ifdef HAVE_BOOST_FILESYSTEM
- const basic_path result =
- removeDotDotsBoost(removeDotsBoost(basic_path(aPathname)));
+ const boost::filesystem::path result =
+ removeDotDotsBoost(removeDotsBoost(boost::filesystem::path(aPathname)));
if (keepDot && result.empty())
{
return std::string(DOT);
@@ -331,8 +332,8 @@
concatPath(const std::string& aPathname, const std::string& anotherPathname)
{
#ifdef HAVE_BOOST_FILESYSTEM
- basic_path path(aPathname);
- basic_path leaf(anotherPathname);
+ boost::filesystem::path path(aPathname);
+ boost::filesystem::path leaf(anotherPathname);
path /= leaf;
return path.string();
#else

View file

@ -1,19 +1,16 @@
# New ports collection makefile for: evolvotron
# Date created: 16 Mar 2003
# Whom: David Yeske <dyeske@gmail.com>
#
# Created by: David Yeske <dyeske@gmail.com>
# $FreeBSD$
PORTNAME= evolvotron
PORTVERSION= 0.6.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Generative software that evolves images/textures/patterns
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs
WRKSRC= ${WRKDIR}/${PORTNAME}

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: fracplanet
# Date created: 15 Sep 2005
# Whom: Igor Pokrovsky <ip@doom.homeunix.org>
#
# Created by: Igor Pokrovsky <ip@doom.homeunix.org>
# $FreeBSD$
#
PORTNAME= fracplanet
PORTVERSION= 0.4.0
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= SF
@ -15,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= An interactive generator of planets and terrain
BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS= boost_program_options.4:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= boost_program_options:${PORTSDIR}/devel/boost-libs
WRKSRC= ${WRKDIR}/${PORTNAME}

View file

@ -3,7 +3,7 @@
PORTNAME= gnash
PORTVERSION= 0.8.10
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= GNU/${PORTNAME}/${PORTVERSION}/

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: gource
# Date created: Nov 25 2009
# Whom: demon@FreeBSD.org
#
# Created by: demon@FreeBSD.org
# $FreeBSD$
#
PORTNAME= gource
PORTVERSION= 0.38
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View file

@ -0,0 +1,64 @@
diff --git a/m4/m4_ax_boost_filesystem.m4 b/m4/ax_boost_filesystem.m4
index 18df8f4..aebcbf7 100644
--- m4/m4_ax_boost_filesystem.m4
+++ m4/m4_ax_boost_filesystem.m4
@@ -31,7 +31,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 22
+#serial 24
AC_DEFUN([AX_BOOST_FILESYSTEM],
[
@@ -81,14 +81,14 @@ AC_DEFUN([AX_BOOST_FILESYSTEM],
AC_DEFINE(HAVE_BOOST_FILESYSTEM,,[define if the Boost::Filesystem library is available])
BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
if test "x$ax_boost_user_filesystem_lib" = "x"; then
- for libextension in `ls $BOOSTLIBDIR/libboost_filesystem*.so* $BOOSTLIBDIR/libboost_filesystem*.dylib* $BOOSTLIBDIR/libboost_filesystem*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_filesystem.*\)\.so.*$;\1;' -e 's;^lib\(boost_filesystem.*\)\.a*$;\1;' -e 's;^lib\(boost_filesystem.*\)\.dylib$;\1;'` ; do
+ for libextension in `ls $BOOSTLIBDIR/libboost_filesystem*.so* $BOOSTLIBDIR/libboost_filesystem*.dylib* $BOOSTLIBDIR/libboost_filesystem*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_filesystem.*\)\.\(dylib\|a\|so\).*$;\1;' | tac` ; do
ax_lib=${libextension}
AC_CHECK_LIB($ax_lib, exit,
[BOOST_FILESYSTEM_LIB="-l$ax_lib"; AC_SUBST(BOOST_FILESYSTEM_LIB) link_filesystem="yes"; break],
[link_filesystem="no"])
done
if test "x$link_filesystem" != "xyes"; then
- for libextension in `ls $BOOSTLIBDIR/boost_filesystem*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_filesystem.*\)\.dll.*$;\1;' -e 's;^\(boost_filesystem.*\)\.a*$;\1;'` ; do
+ for libextension in `ls $BOOSTLIBDIR/boost_filesystem*.dll* $BOOSTLIBDIR/boost_filesystem*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_filesystem.*\)\.\(dll\|a\).*$;\1;' | tac` ; do
ax_lib=${libextension}
AC_CHECK_LIB($ax_lib, exit,
[BOOST_FILESYSTEM_LIB="-l$ax_lib"; AC_SUBST(BOOST_FILESYSTEM_LIB) link_filesystem="yes"; break],
diff --git a/m4/m4_ax_boost_system.m4 b/m4/ax_boost_system.m4
index 7fbf6d3..bf82391 100644
--- m4/m4_ax_boost_system.m4
+++ m4/m4_ax_boost_system.m4
@@ -83,14 +83,14 @@ AC_DEFUN([AX_BOOST_SYSTEM],
LDFLAGS_SAVE=$LDFLAGS
if test "x$ax_boost_user_system_lib" = "x"; then
- for libextension in `ls $BOOSTLIBDIR/libboost_system*.so* $BOOSTLIBDIR/libboost_system*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_system.*\)\.so.*$;\1;' -e 's;^lib\(boost_system.*\)\.a*$;\1;'` ; do
+ for libextension in `ls $BOOSTLIBDIR/libboost_system*.a* $BOOSTLIBDIR/libboost_system*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_system.*\)\.\(so\|a\).*$;\1;' | tac` ; do
ax_lib=${libextension}
AC_CHECK_LIB($ax_lib, exit,
[BOOST_SYSTEM_LIB="-l$ax_lib"; AC_SUBST(BOOST_SYSTEM_LIB) link_system="yes"; break],
[link_system="no"])
done
if test "x$link_system" != "xyes"; then
- for libextension in `ls $BOOSTLIBDIR/boost_system*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_system.*\)\.dll.*$;\1;' -e 's;^\(boost_system.*\)\.a*$;\1;'` ; do
+ for libextension in `ls $BOOSTLIBDIR/boost_system*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_system.*\)\.\(dll\|a\).*$;\1;' | tac` ; do
ax_lib=${libextension}
AC_CHECK_LIB($ax_lib, exit,
[BOOST_SYSTEM_LIB="-l$ax_lib"; AC_SUBST(BOOST_SYSTEM_LIB) link_system="yes"; break],
diff --git a/src/logmill.cpp b/src/logmill.cpp
index 8fc6153..2a9afd9 100644
--- src/logmill.cpp
+++ src/logmill.cpp
@@ -176,7 +176,7 @@ RCommitLog* RLogMill::fetchLog(std::string& log_format) {
logfile = repo_path.string();
}
}
- } catch(boost::filesystem3::filesystem_error& error) {
+ } catch(boost::filesystem::filesystem_error& error) {
}
}

View file

@ -1,14 +1,9 @@
# New ports collection makefile for: gSculpt
# Date created: Oct 10, 2001
# Whom: ijliao
#
# $Carpetsmoker: ports/graphics/gsculpt/Makefile,v 1.4 2007/08/02 13:13:45 carpetsmoker Exp $
# Created by: ijliao
# $FreeBSD$
#
PORTNAME= gsculpt
PORTVERSION= 0.99.47
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME:S,-src,,}
DISTNAME= gSculpt-${PORTVERSION}-alpha-src
@ -18,7 +13,7 @@ COMMENT= An Opensource 3D modelling application
LICENSE= GPLv2
LIB_DEPENDS= boost_python.4:${PORTSDIR}/devel/boost-python-libs
LIB_DEPENDS= boost_python:${PORTSDIR}/devel/boost-python-libs
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opengl>0:${PORTSDIR}/graphics/py-opengl \
${PYTHON_PKGNAMEPREFIX}gtkglext>0:${PORTSDIR}/x11-toolkits/py-gtkglext

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: hugin
# Date created: 26 august 2004
# Whom: cartola (Carlos E. G. Carvalho)
#
# Created by: cartola (Carlos E. G. Carvalho)
# $FreeBSD$
#
PORTNAME= hugin
PORTVERSION= 2011.4.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}

View file

@ -1,10 +1,5 @@
# ex:ts=8
# Ports collection makefile for: k3d
# Date created: Jun 9, 2004
# Whom: ijliao
#
# Created by: ijliao
# $FreeBSD$
#
PORTNAME= k3d
PORTVERSION= 0.8.0.2

View file

@ -3,14 +3,14 @@
PORTNAME= libopenraw
PORTVERSION= 0.0.8
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= http://libopenraw.freedesktop.org/download/
MAINTAINER= pav@FreeBSD.org
COMMENT= Library for camera RAW files decoding
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs \
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs \
jpeg.11:${PORTSDIR}/graphics/jpeg
MAKE_JOBS_SAFE= yes

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: LuxRender
# Date created: 16 March 2010
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= luxrender
PORTVERSION= 0.7.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= http://src.luxrender.net/lux/archive/ \
http://freebsd.nsu.ru/distfiles/luxrender/
@ -22,7 +18,7 @@ LICENSE= GPLv3
BROKEN= does not build with boost-1.48.0
BUILD_DEPENDS= ${LOCALBASE}/lib/libfreeimage.a:${PORTSDIR}/graphics/freeimage
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs \
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs \
png15:${PORTSDIR}/graphics/png \
IlmImf:${PORTSDIR}/graphics/OpenEXR \

View file

@ -3,7 +3,7 @@
PORTNAME= mapnik
PORTVERSION= 2.1.0
PORTREVISION= 1
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= graphics geography
MASTER_SITES= http://cloud.github.com/downloads/${PORTNAME}/${PORTNAME}/
@ -19,12 +19,12 @@ LIB_DEPENDS= proj:${PORTSDIR}/graphics/proj \
tiff:${PORTSDIR}/graphics/tiff \
jpeg:${PORTSDIR}/graphics/jpeg \
icuuc:${PORTSDIR}/devel/icu \
boost_system:${PORTSDIR}/devel/boost-libs
boost_system:${PORTSDIR}/devel/boost-libs \
boost_python:${PORTSDIR}/devel/boost-python-libs
BUILD_DEPENDS= ${LOCALBASE}/bin/freetype-config:${PORTSDIR}/print/freetype2 \
icu>=4.2:${PORTSDIR}/devel/icu \
${PYTHON_PKGNAMEPREFIX}icu>=0.8.1:${PORTSDIR}/devel/py-icu \
boost-libs>=1.47:${PORTSDIR}/devel/boost-libs \
${LOCALBASE}/include/boost/python.hpp:${PORTSDIR}/devel/boost-python-libs
USE_BZIP2= yes
USE_PYTHON= 2.6+

View file

@ -3,7 +3,7 @@
PORTNAME?= openimageio
PORTVERSION= 1.1.2
PORTREVISION?= 1
PORTREVISION?= 2
CATEGORIES?= graphics multimedia
MASTER_SITES= https://github.com/OpenImageIO/oiio/tarball/

View file

@ -3,6 +3,7 @@
PORTNAME= openshadinglanguage
PORTVERSION= 1.3.0
PORTREVISION= 1
CATEGORIES= graphics devel
MAINTAINER= FreeBSD@Shaneware.biz

View file

@ -1,8 +1,8 @@
# $FreeBSD$
PORTNAME= povray
PORTREVISION= 1
DISTVERSION= 3.7.0.RC6
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.povray.org/beta/source/
DIST_SUBDIR= ${UNIQUENAME}
@ -10,7 +10,7 @@ DIST_SUBDIR= ${UNIQUENAME}
MAINTAINER= bkoenig@alpha-tierchen.de
COMMENT= Persistence of Vision Ray Tracer
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs
OPTIONS_DEFINE= X11 PNG JPEG TIFF OPENEXR STATIC IO EXAMPLES DOCS
OPTIONS_DEFAULT= PNG JPEG EXAMPLES DOCS
@ -116,6 +116,13 @@ DOC_FILES= AUTHORS ChangeLog NEWS
PORTDOCS= *
PORTEXAMPLES= *
post-patch:
# Fix with boost 1.52
@${REINPLACE_CMD} -e 's/TIME_UTC/TIME_UTC_/g' ${WRKSRC}/source/backend/scene/view.cpp \
${WRKSRC}/source/base/timer.cpp \
${WRKSRC}/vfe/vfepovms.cpp \
${WRKSRC}/vfe/unix/platformbase.cpp \
${WRKSRC}/vfe/vfesession.cpp
pre-build:
.if ${PORT_OPTIONS:MSTATIC} && ${PORT_OPTIONS:MTIFF}
# graphics/tiff adds dependencies on libjpeg and libjbig

Some files were not shown because too many files have changed in this diff Show more