[63570] trunk/dports/x11/wine-devel/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Feb 8 19:54:17 PST 2010


Revision: 63570
          http://trac.macports.org/changeset/63570
Author:   ryandesign at macports.org
Date:     2010-02-08 19:54:14 -0800 (Mon, 08 Feb 2010)
Log Message:
-----------
wine-devel: add flex build dependency (see #23611) and also install Gecko installer cab (see http://wiki.winehq.org/Gecko)

Modified Paths:
--------------
    trunk/dports/x11/wine-devel/Portfile

Modified: trunk/dports/x11/wine-devel/Portfile
===================================================================
--- trunk/dports/x11/wine-devel/Portfile	2010-02-09 03:31:36 UTC (rev 63569)
+++ trunk/dports/x11/wine-devel/Portfile	2010-02-09 03:54:14 UTC (rev 63570)
@@ -7,14 +7,19 @@
 conflicts               wine wine-crossover-games
 set my_name             wine
 version                 1.1.38
+revision                1
 license                 LGPL-2.1+
 categories              x11
 maintainers             ryandesign jwa openmaintainer
 homepage                http://www.winehq.org/
 platforms               darwin
+use_bzip2               yes
 distname                ${my_name}-${version}
 dist_subdir             ${my_name}
-use_bzip2               yes
+set wine_distfile       [suffix ${distname}]
+set wine_gecko_distfile wine_gecko-1.0.0-x86.cab
+distfiles               ${wine_distfile} ${wine_gecko_distfile}
+extract.only            ${wine_distfile}
 build.target            depend all
 use_parallel_build      yes
 universal_variant       no
@@ -30,9 +35,14 @@
     http://ibiblio.org/pub/linux/system/emulators/wine/
 
 checksums \
+    ${wine_distfile} \
     md5     ef5947bcb9667b75b8de4a2ce16d0ec2 \
     sha1    96eac0edc410c0b59dad2a7b2fddbefdabe41c07 \
-    rmd160  1702bf86a72c60c1c9d8db5a242a2167773b9009
+    rmd160  1702bf86a72c60c1c9d8db5a242a2167773b9009 \
+    ${wine_gecko_distfile} \
+    md5     9c5c335fc077c0558561afaf25a09e51 \
+    sha1    afa22c52bca4ca77dcb9edb3c9936eb23793de01 \
+    rmd160  57618dbffa7b7226dcd44f86c3c569ab8a5ff938
 
 depends_lib \
     port:expat \
@@ -72,6 +82,7 @@
                         lib/libGL.dylib
 
 depends_build \
+    port:flex \
     port:pkgconfig
 
 configure.ldflags-append \
@@ -119,6 +130,9 @@
     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 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100208/11390719/attachment-0001.html>


More information about the macports-changes mailing list