New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82006


Ignore:
Timestamp:
08/06/11 12:47:48 (4 years ago)
Author:
mmoll@…
Message:

graphics/ogre: patch rpath, install missing plugin

Location:
trunk/dports/graphics/ogre
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/ogre/Portfile

    r81828 r82006  
    77name                ogre 
    88version             1.7.3 
    9 revision            1 
     9revision            2 
    1010set branch          [join [lrange [split ${version} .] 0 1] .] 
    1111license             MIT 
     
    2222distname            ${name}_src_v[strsed ${version} {g/\./-/}] 
    2323use_bzip2           yes 
    24 patchfiles          patch-Tools_XMLConverter_CMakeLists.txt.diff 
     24patchfiles          patch-Tools_XMLConverter_CMakeLists.txt.diff \ 
     25                    patch-rpaths.diff \ 
     26                    patch-OgreMain_src_OSX_macUtils.cpp.diff 
    2527depends_lib         port:libzzip port:zlib port:freeimage port:freetype \ 
    2628                    port:boost 
     
    3032configure.args-append -GXcode -DCMAKE_INSTALL_PREFIX=${worksrcpath}/tmp 
    3133 
     34post-patch { 
     35    reinplace "s|@@PREFIX@@|${prefix}|g" \ 
     36    ${worksrcpath}/Components/Paging/CMakeLists.txt \ 
     37    ${worksrcpath}/Components/Property/CMakeLists.txt \ 
     38    ${worksrcpath}/Components/RTShaderSystem/CMakeLists.txt \ 
     39    ${worksrcpath}/Components/Terrain/CMakeLists.txt \ 
     40    ${worksrcpath}/OgreMain/CMakeLists.txt \ 
     41    ${worksrcpath}/Plugins/BSPSceneManager/CMakeLists.txt \ 
     42    ${worksrcpath}/Plugins/CgProgramManager/CMakeLists.txt \ 
     43    ${worksrcpath}/Plugins/OctreeSceneManager/CMakeLists.txt \ 
     44    ${worksrcpath}/Plugins/OctreeZone/CMakeLists.txt \ 
     45    ${worksrcpath}/Plugins/PCZSceneManager/CMakeLists.txt \ 
     46    ${worksrcpath}/Plugins/ParticleFX/CMakeLists.txt \ 
     47    ${worksrcpath}/RenderSystems/GL/CMakeLists.txt \ 
     48    ${worksrcpath}/OgreMain/src/OSX/macUtils.cpp 
     49} 
    3250destroot { 
    3351    eval xinstall -m 640 [glob ${worksrcpath}/tmp/bin/*] \ 
     
    4058          ${destroot}${prefix}/lib 
    4159    xinstall -d ${destroot}${prefix}/lib/OGRE 
     60    xinstall ${worksrcpath}/tmp/lib/RenderSystem_GL.dylib \ 
     61          ${destroot}${prefix}/lib/OGRE 
    4262    eval xinstall -m 640 [glob ${worksrcpath}/tmp/lib/Plugin*] \ 
    4363          ${destroot}${prefix}/lib/OGRE     
Note: See TracChangeset for help on using the changeset viewer.