Changeset 145575


Ignore:
Timestamp:
Feb 9, 2016, 8:54:09 PM (4 years ago)
Author:
michaelld@…
Message:

glfw:
+ add patches for release and devel to fix install directory for cmake files and docs, instead of doing them in post-destroot;
+ rev-bump release for changes;
+ update devel to 49d22820 (20160208).

Location:
trunk/dports/graphics/glfw
Files:
3 added
1 edited

Legend:

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

    r145328 r145575  
    2020
    2121    github.setup    glfw glfw 3.1.2
     22    revision        1
    2223    # bump the epoch because I moved the version from 20151012 to 3.1.2
    2324    epoch           1
    2425    checksums       rmd160 f0a34fda090c5d5e7aef2c916d6160faf777842f \
    2526                    sha256 a956537ed306746cf0bfe3e4a71758bff6d2a9e25f51fe718516f5b49ad9bfc5
     27
     28    # patch to fix install directory for cmake files and docs
     29
     30    patchfiles-append patch-CMakeLists.txt.release.diff
    2631
    2732    conflicts       glfw-devel
     
    3338    # devel
    3439
    35     github.setup    glfw glfw 832c2ffa3b4a34f984de0c4a7bd4d3a84fd172af
    36     version         20160131
    37     checksums       rmd160 bb2309d291a1b971df389489c29b158b180d162c \
    38                     sha256 b0b8846b16557581cfe863009e76b6563f52749bab3c6ae83af1c175cdef8927
     40    github.setup    glfw glfw 49d228207f8322ed8aa9f820a1490c852a5cb2d7
     41    version         20160208
     42    checksums       rmd160 39b973e35731e8975246c70538e475adabc1d20e \
     43                    sha256 ba4119ca5c006293ff75169307b540ffd5b29bbabed136a2a97725d01d4e98b7
     44
     45    # patch to fix install directory for cmake files and docs
     46
     47    patchfiles-append patch-CMakeLists.txt.devel.diff
    3948
    4049    conflicts       glfw
     
    5665configure.args      -DBUILD_SHARED_LIBS=on \
    5766                    -DGLFW_BUILD_EXAMPLES=off \
    58                     -DGLFW_BUILD_TESTS=off
     67                    -DGLFW_BUILD_TESTS=off \
     68                    -DGLFW_CMAKE_CONFIG_PATH=share
    5969
    6070# remove top-level library path, such that internal libraries are used
     
    7383    configure.args-append -DDOXYGEN_EXECUTABLE=
    7484}
    75 
    76 post-destroot {
    77 
    78     # move cmake Modules to an appropriate location
    79 
    80     xinstall -m 755 -d ${destroot}${prefix}/share/cmake
    81     move ${destroot}${prefix}/lib/cmake/glfw \
    82         ${destroot}${prefix}/share/cmake
    83 
    84     # copy html docs if requested
    85 
    86     if {[variant_isset docs]} {
    87         xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    88         copy ${cmake.build_dir}/docs/html \
    89             ${destroot}${prefix}/share/doc/${name}
    90     }
    91 }
Note: See TracChangeset for help on using the changeset viewer.