New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79605


Ignore:
Timestamp:
06/19/11 23:16:40 (4 years ago)
Author:
jeremyhu@…
Message:

wine-crossover-games: Include wine_gecko and update build to match wine-devel changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/wine-crossover-games/Portfile

    r76406 r79605  
    88conflicts                   wine wine-devel 
    99version                     10.0.0 
     10revision                    1 
     11license                     LGPL-2.1+ 
    1012categories                  x11 
    1113maintainers                 jeremyhu openmaintainer 
    1214homepage                    http://www.codeweavers.com/ 
    1315platforms                   darwin 
    14 distname                    crossover-sources-${version} 
     16distname                    crossover-games-sources-${version} 
     17dist_subdir                 wine 
     18set wine_distfile           [suffix ${distname}] 
     19set wine_gecko_distfile     wine_gecko-1.2.0-x86.msi 
     20distfiles                   ${wine_distfile} ${wine_gecko_distfile} 
     21extract.only                ${wine_distfile} 
    1522worksrcdir                  wine 
    1623build.target                depend all 
     
    2734                            http://media.codeweavers.com/pub/crossover/source/archive/${version}/ 
    2835 
    29 checksums           sha1    82ebc5b2205ac26b068a9e4eb2ddbc95813a93a4 \ 
    30                     rmd160  c59f4e510ded9951f92a7ccfdc6d253c8ca32756 
     36checksums           crossover-games-sources-10.0.0.tar.gz \ 
     37                    rmd160  fd2dd4a09d844591fde3313062f6a2155eaa0c55 \ 
     38                    sha256  87ca40352d55a423ab208dc2c1aaf5ca51a72aadf3839c572ef4abc552be71e4 \ 
     39                    wine_gecko-1.2.0-x86.msi \ 
     40                    rmd160  089447eb59eea81c7b1b3d1896a20fe68586cd96 \ 
     41                    sha256  d6ccdb32b5867df207c7cd89513297ceb89cfa93696bece470467845c6c4d3ee 
    3142 
     43# Note: Most of the X11 libs are dlopen()'d 
    3244depends_lib                 port:expat \ 
    3345                            port:fontconfig \ 
     
    4254                            port:ncurses \ 
    4355                            port:openssl \ 
     56                            port:tiff \ 
    4457                            port:zlib \ 
    4558                            port:xorg-libsm \ 
     
    6578                            lib/libncurses.dylib \ 
    6679                            lib/libssl.dylib \ 
     80                            lib/libtiff.dylib \ 
    6781                            lib/libz.dylib \ 
    6882                            lib/libSM.dylib \ 
     
    7690                            lib/libGL.dylib 
    7791 
    78 depends_build               port:pkgconfig 
     92depends_build               port:flex \ 
     93                            port:pkgconfig 
    7994 
    8095# Extract only the wine directory. We don't need the others, and their presence 
     
    114129                            --with-pthread \ 
    115130                            --without-sane \ 
     131                            --with-tiff \ 
     132                            --without-v4l \ 
    116133                            --with-xcomposite \ 
    117134                            --with-xcursor \ 
     
    134151platform darwin 9 { 
    135152    # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." 
     153    # Only affects Xcode 3.0.x and 3.1.x, not 3.2.x. 
     154    # See http://bugs.winehq.org/show_bug.cgi?id=14920 
    136155    configure.args-append --disable-win16 
    137156} 
    138157 
    139158platform darwin 10 { 
    140     # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." 
    141     configure.args-append --disable-win16 
     159    # _getdirentries_is_not_available_when_64_bit_inodes_are_in_effect dlls/ntdll/directory.o 
     160    configure.cppflags-append -D_DARWIN_NO_64_BIT_INODE 
     161} 
    142162 
     163platform darwin 11 { 
    143164    # _getdirentries_is_not_available_when_64_bit_inodes_are_in_effect dlls/ntdll/directory.o 
    144165    configure.cppflags-append -D_DARWIN_NO_64_BIT_INODE 
     
    153174 
    154175post-destroot { 
    155     xinstall -d ${destroot}${prefix}/libexec/wine 
    156     xinstall -m 755 ${filespath}/wine.in ${destroot}${prefix}/bin/wine 
     176    xinstall ${filespath}/wine.in ${destroot}${prefix}/bin/wine 
    157177    reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine 
     178     
     179    xinstall -d ${destroot}${prefix}/share/wine/gecko 
     180    xinstall -m 644 ${distpath}/${wine_gecko_distfile} ${destroot}${prefix}/share/wine/gecko 
     181     
     182    xinstall -d ${destroot}${prefix}/share/doc/${name} 
     183    xinstall -m 644 -W ${worksrcpath} \ 
     184        ANNOUNCE \ 
     185        AUTHORS \ 
     186        COPYING.LIB \ 
     187        LICENSE \ 
     188        README \ 
     189        ${destroot}${prefix}/share/doc/${name} 
    158190} 
    159191 
Note: See TracChangeset for help on using the changeset viewer.