# -*- mode: tcl; indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4 -*- PortSystem 1.0 PortGroup cmake 1.1 PortGroup github 1.0 PortGroup cxx11 1.1 github.setup OGRECave ogre 1.10.11 v checksums rmd160 65596930faa4e0be118c65664af0f67eebfdd8a9 \ sha256 4d75eece04c9b9bb57e937cfc18af0b95aa0b492ceb7d54bcc1967222f083cac license MIT categories graphics maintainers nomaintainer description Object-Oriented Graphics Rendering Engine long_description OGRE (Object-Oriented Graphics Rendering Engine) is a \ scene-oriented, flexible 3D engine written in \ C++ designed to make it easier and more intuitive \ for developers to produce applications utilising \ hardware-accelerated 3D graphics. The class \ library abstracts all the details of using the \ underlying system libraries like Direct3D and \ OpenGL and provides an interface based on world \ objects and other intuitive classes. homepage http://www.ogre3d.org/ platforms darwin supported_archs x86_64 depends_build-append \ port:doxygen \ path:bin/dot:graphviz depends_lib-append port:libzzip \ port:zlib \ port:freeimage \ port:freetype \ port:boost \ port:libsdl configure.args-append \ -DCMAKE_BUILD_TYPE=Release \ -DOGRE_BUILD_TOOLS=TRUE \ -DOGRE_BUILD_SAMPLES=TRUE \ -DOGRE_INSTALL_DOCS=TRUE \ -DOGRE_INSTALL_SAMPLES=TRUE \ -DOGRE_INSTALL_SAMPLES_SOURCE=TRUE \ -DOGRE_INSTALL_TOOLS=TRUE \ -DOGRE_BUILD_DEPENDENCIES=OFF \ -DOGRE_USE_STD11=TRUE \ post-destroot { # move these to a proper destination move ${destroot}${prefix}/bin/macosx/OgreMeshUpgrader ${destroot}${prefix}/bin move ${destroot}${prefix}/bin/macosx/OgreXMLConverter ${destroot}${prefix}/bin # move this and give it a more specific name move ${destroot}${prefix}/bin/macosx/VRMLConverter ${destroot}${prefix}/bin/OgreVRMLConverter # put the frameworks where frameworks belong move {*}[glob -directory ${destroot}${prefix}/lib/macosx/Release "*.framework"] \ ${destroot}${frameworks_dir} # move all of these into an ogre directory in share xinstall -d ${destroot}${prefix}/share/ogre move ${destroot}${prefix}/Docs ${destroot}${prefix}/share/ogre/ move ${destroot}${prefix}/Media ${destroot}${prefix}/share/ogre/ move ${destroot}${prefix}/Samples ${destroot}${prefix}/share/ogre/ # TODO: we still need to fix up the rpaths on this one move ${destroot}${prefix}/bin/macosx/SampleBrowser.app \ ${destroot}${applications_dir}/OgreSampleBrowser.app # TODO: the samples have dylibs that all need to be moved somewhere useful # TODO: possibly into a subdir near the sample browser? # they are in ${destroot}${prefix}/lib/OGRE/Samples/ # why does ogre still insist on building and installing boost? # it doesn't seem to be linking into it - it's using the system boost delete ${destroot}${prefix}/boost # this doesn't need to be installed delete ${destroot}${prefix}/CMakeLists.txt # these just look all wrong to be installed - are any useful? delete ${destroot}${prefix}/CMake # are these needed? If so, where should they go? delete ${destroot}${prefix}/bin/plugins.cfg delete ${destroot}${prefix}/bin/quakemap.cfg delete ${destroot}${prefix}/bin/resources.cfg delete ${destroot}${prefix}/bin/samples.cfg delete ${destroot}${prefix}/bin/tests.cfg }