[63572] trunk/dports/x11/wine/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Feb 8 19:59:01 PST 2010


Revision: 63572
          http://trac.macports.org/changeset/63572
Author:   ryandesign at macports.org
Date:     2010-02-08 19:59:00 -0800 (Mon, 08 Feb 2010)
Log Message:
-----------
wine: bring over changes that have been made in wine-devel:

 * r62522: add license info and remove unnecessary xinstall argument
 * r63027: also install doc files
 * r63570: also install gecko installer cab (see http://wiki.winehq.org/Gecko)

Revision Links:
--------------
    http://trac.macports.org/changeset/62522
    http://trac.macports.org/changeset/63027
    http://trac.macports.org/changeset/63570

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

Modified: trunk/dports/x11/wine/Portfile
===================================================================
--- trunk/dports/x11/wine/Portfile	2010-02-09 03:56:09 UTC (rev 63571)
+++ trunk/dports/x11/wine/Portfile	2010-02-09 03:59:00 UTC (rev 63572)
@@ -5,13 +5,21 @@
 
 name                    wine
 conflicts               wine-devel wine-crossover-games
+set my_name             wine
 version                 1.0.1
-revision                4
+revision                5
+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}
+set wine_distfile       [suffix ${distname}]
+set wine_gecko_distfile wine_gecko-0.1.0.cab
+distfiles               ${wine_distfile} ${wine_gecko_distfile}
+extract.only            ${wine_distfile}
 build.target            depend all
 use_parallel_build      yes
 universal_variant       no
@@ -27,9 +35,14 @@
     http://ibiblio.org/pub/linux/system/emulators/wine/
 
 checksums \
+    ${wine_distfile} \
     md5     b49540f4ed194c7e8da4cdc4b5bd3404 \
     sha1    0550b03bf7b314514a87b6abb2198da96ef83b22 \
-    rmd160  fecd2bf970c51c80fc02ca39631034f066da145e
+    rmd160  fecd2bf970c51c80fc02ca39631034f066da145e \
+    ${wine_gecko_distfile} \
+    md5     b188c296f045d20abdb11e9c0564894b \
+    sha1    c16f1072dc6b0ced20935662138dcf019a38cd56 \
+    rmd160  61f85ee39e96f88783541460d2fce31db7cc0183
 
 # Note: Most of the X11 libs are dlopen()'d
 depends_lib \
@@ -117,8 +130,20 @@
 post-destroot {
     xinstall -d ${destroot}${prefix}/libexec/wine
     file rename ${destroot}${prefix}/bin/wine ${destroot}${prefix}/libexec/wine/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/20100208/9b9f2eba/attachment.html>


More information about the macports-changes mailing list