[79605] trunk/dports/x11/wine-crossover-games/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Jun 19 23:16:43 PDT 2011


Revision: 79605
          http://trac.macports.org/changeset/79605
Author:   jeremyhu at macports.org
Date:     2011-06-19 23:16:40 -0700 (Sun, 19 Jun 2011)
Log Message:
-----------
wine-crossover-games: Include wine_gecko and update build to match wine-devel changes

Modified Paths:
--------------
    trunk/dports/x11/wine-crossover-games/Portfile

Modified: trunk/dports/x11/wine-crossover-games/Portfile
===================================================================
--- trunk/dports/x11/wine-crossover-games/Portfile	2011-06-20 05:06:28 UTC (rev 79604)
+++ trunk/dports/x11/wine-crossover-games/Portfile	2011-06-20 06:16:40 UTC (rev 79605)
@@ -7,11 +7,18 @@
 name                        wine-crossover-games
 conflicts                   wine wine-devel
 version                     10.0.0
+revision                    1
+license                     LGPL-2.1+
 categories                  x11
 maintainers                 jeremyhu openmaintainer
 homepage                    http://www.codeweavers.com/
 platforms                   darwin
-distname                    crossover-sources-${version}
+distname                    crossover-games-sources-${version}
+dist_subdir                 wine
+set wine_distfile           [suffix ${distname}]
+set wine_gecko_distfile     wine_gecko-1.2.0-x86.msi
+distfiles                   ${wine_distfile} ${wine_gecko_distfile}
+extract.only                ${wine_distfile}
 worksrcdir                  wine
 build.target                depend all
 use_parallel_build          yes
@@ -26,9 +33,14 @@
 master_sites                http://media.codeweavers.com/pub/crossover/source/ \
                             http://media.codeweavers.com/pub/crossover/source/archive/${version}/
 
-checksums           sha1    82ebc5b2205ac26b068a9e4eb2ddbc95813a93a4 \
-                    rmd160  c59f4e510ded9951f92a7ccfdc6d253c8ca32756
+checksums           crossover-games-sources-10.0.0.tar.gz \
+                    rmd160  fd2dd4a09d844591fde3313062f6a2155eaa0c55 \
+                    sha256  87ca40352d55a423ab208dc2c1aaf5ca51a72aadf3839c572ef4abc552be71e4 \
+                    wine_gecko-1.2.0-x86.msi \
+                    rmd160  089447eb59eea81c7b1b3d1896a20fe68586cd96 \
+                    sha256  d6ccdb32b5867df207c7cd89513297ceb89cfa93696bece470467845c6c4d3ee
 
+# Note: Most of the X11 libs are dlopen()'d
 depends_lib                 port:expat \
                             port:fontconfig \
                             port:freetype \
@@ -41,6 +53,7 @@
                             port:libxslt \
                             port:ncurses \
                             port:openssl \
+                            port:tiff \
                             port:zlib \
                             port:xorg-libsm \
                             port:xorg-libXcomposite \
@@ -64,6 +77,7 @@
                             lib/libxslt.dylib \
                             lib/libncurses.dylib \
                             lib/libssl.dylib \
+                            lib/libtiff.dylib \
                             lib/libz.dylib \
                             lib/libSM.dylib \
                             lib/libXcomposite.dylib \
@@ -75,7 +89,8 @@
                             lib/libXrender.dylib \
                             lib/libGL.dylib
 
-depends_build               port:pkgconfig
+depends_build               port:flex \
+                            port:pkgconfig
 
 # Extract only the wine directory. We don't need the others, and their presence
 # interferes with the wine build (which uses parts of them if present).
@@ -113,6 +128,8 @@
                             --with-png \
                             --with-pthread \
                             --without-sane \
+                            --with-tiff \
+                            --without-v4l \
                             --with-xcomposite \
                             --with-xcursor \
                             --with-xinerama \
@@ -133,13 +150,17 @@
 
 platform darwin 9 {
     # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support."
+    # Only affects Xcode 3.0.x and 3.1.x, not 3.2.x.
+    # See http://bugs.winehq.org/show_bug.cgi?id=14920
     configure.args-append --disable-win16
 }
 
 platform darwin 10 {
-    # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support."
-    configure.args-append --disable-win16
+    # _getdirentries_is_not_available_when_64_bit_inodes_are_in_effect dlls/ntdll/directory.o
+    configure.cppflags-append -D_DARWIN_NO_64_BIT_INODE
+}
 
+platform darwin 11 {
     # _getdirentries_is_not_available_when_64_bit_inodes_are_in_effect dlls/ntdll/directory.o
     configure.cppflags-append -D_DARWIN_NO_64_BIT_INODE
 }
@@ -152,9 +173,20 @@
 }
 
 post-destroot {
-    xinstall -d ${destroot}${prefix}/libexec/wine
-    xinstall -m 755 ${filespath}/wine.in ${destroot}${prefix}/bin/wine
+    xinstall ${filespath}/wine.in ${destroot}${prefix}/bin/wine
     reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine
+    
+    xinstall -d ${destroot}${prefix}/share/wine/gecko
+    xinstall -m 644 ${distpath}/${wine_gecko_distfile} ${destroot}${prefix}/share/wine/gecko
+    
+    xinstall -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 -W ${worksrcpath} \
+        ANNOUNCE \
+        AUTHORS \
+        COPYING.LIB \
+        LICENSE \
+        README \
+        ${destroot}${prefix}/share/doc/${name}
 }
 
 livecheck.type              regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110619/9c32b671/attachment.html>


More information about the macports-changes mailing list