Index: head/games/allacrost/Makefile =================================================================== --- head/games/allacrost/Makefile (revision 435165) +++ head/games/allacrost/Makefile (revision 435166) @@ -1,69 +1,68 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= allacrost PORTVERSION= 1.0.2 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-demo/${PORTVERSION} DISTNAME= ${PORTNAME}_demo_source_${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Single player 2D role-playing game LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libboost_thread.so:devel/boost-libs GNU_CONFIGURE= yes USES= gettext gmake iconv jpeg lua:51 openal:al USE_SDL= sdl ttf net USE_GL= yes -USE_GCC= any # problems in luabind QT_NONSTANDARD= yes # used when EDITOR enabled CONFIGURE_ARGS= --datadir=${DATADIR} CPPFLAGS+= -I${LOCALBASE}/include -I${LUA_INCDIR} LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= EDITOR DOCS OPTIONS_SUB= yes EDITOR_DESC= Enable editor EDITOR_USE= QT4=corelib,gui,moc_build,opengl,qt3support EDITOR_CONFIGURE_ON= --enable-editor=yes EDITOR_CONFIGURE_OFF= --enable-editor=no post-patch: @${REINPLACE_CMD} -e 's|-I/usr/include/|-I${LOCALBASE}/include/|g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|exit -1|exit 1|; /CXXFLAGS=/ d; \ s|-lSDL |`${SDL_CONFIG} --libs` |' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^LIBS =/ s|$$| @INTLLIBS@|' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/^bindir = / s|games|bin|' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/qt4_incdirs/ s|".*"|"${QT_INCDIR}"|; \ /qt4_libdirs/ s|".*"|"${QT_LIBDIR}"|; /test/ s|==|=| ; \ s/-llua /-llua-${LUA_VER} /g;' \ ${WRKSRC}/configure post-patch-EDITOR-on: @${REINPLACE_CMD} -e '/^INCLUDES = / s|=|= -I${QT_INCDIR}/QtGui \ -I${QT_INCDIR}/QtOpenGL -I${QT_INCDIR}/Qt3Support \ -I${QT_INCDIR}/QtCore -I${QT_INCDIR}|' \ ${WRKSRC}/Makefile.in post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/MANUAL ${STAGEDIR}${DOCSDIR}/ .include Index: head/games/allacrost/files/patch-src-luabind-luabind-detail-format__signature.hpp =================================================================== --- head/games/allacrost/files/patch-src-luabind-luabind-detail-format__signature.hpp (nonexistent) +++ head/games/allacrost/files/patch-src-luabind-luabind-detail-format__signature.hpp (revision 435166) @@ -0,0 +1,35 @@ +commit 3044a9053ac50977684a75c4af42b2bddb853fad +Author: Daniel Wallin +Date: Mon Oct 11 14:33:23 2010 +0200 + + Proper forward declarations for object wrappers. Now builds on clang! + +diff --git luabind/detail/format_signature.hpp luabind/detail/format_signature.hpp +index 56e7963..b447bc9 100644 +--- src/luabind/luabind/detail/format_signature.hpp ++++ src/luabind/luabind/detail/format_signature.hpp +@@ -13,12 +13,19 @@ + # include + # include + +-namespace luabind { ++namespace luabind { namespace adl ++{ + +-class object; +-class argument; +-template +-struct table; ++ class object; ++ class argument; ++ template ++ struct table; ++ ++} // namespace adl ++ ++using adl::object; ++using adl::argument; ++using adl::table; + + } // namespace luabind + Property changes on: head/games/allacrost/files/patch-src-luabind-luabind-detail-format__signature.hpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/allacrost/files/patch-src_luabind_luabind_detail_object__rep.hpp =================================================================== --- head/games/allacrost/files/patch-src_luabind_luabind_detail_object__rep.hpp (nonexistent) +++ head/games/allacrost/files/patch-src_luabind_luabind_detail_object__rep.hpp (revision 435166) @@ -0,0 +1,11 @@ +--- src/luabind/luabind/detail/object_rep.hpp.orig 2010-01-03 23:08:15 UTC ++++ src/luabind/luabind/detail/object_rep.hpp +@@ -29,6 +29,8 @@ + #include + #include + ++#include ++ + namespace luabind { namespace detail + { + class class_rep; Property changes on: head/games/allacrost/files/patch-src_luabind_luabind_detail_object__rep.hpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/allacrost/files/patch-src_main.cpp =================================================================== --- head/games/allacrost/files/patch-src_main.cpp (nonexistent) +++ head/games/allacrost/files/patch-src_main.cpp (revision 435166) @@ -0,0 +1,17 @@ +--- src/main.cpp.orig 2010-05-17 22:52:57 UTC ++++ src/main.cpp +@@ -364,11 +364,9 @@ int main(int argc, char *argv[]) { + // Now the program should be in app/Contents + path.append ("/Resources/"); + chdir(path.c_str()); +- #elif (defined(__linux__) || defined(__FreeBSD__)) && !defined(RELEASE_BUILD) +- // Look for data files in DATADIR only if they are not available in the +- // current directory. +- if (ifstream("dat/config/settings.lua") == NULL) +- chdir(DATADIR); ++ #elif (defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__)) && !defined(RELEASE_BUILD) ++ // Always look into datadir ++ chdir(DATADIR); + #endif + + // Initialize the random number generator (note: 'unsigned int' is a required usage in this case) Property changes on: head/games/allacrost/files/patch-src_main.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property