[69746] trunk/dports/games/mystonline-wine/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jul 15 03:28:50 PDT 2010


Revision: 69746
          http://trac.macports.org/changeset/69746
Author:   ryandesign at macports.org
Date:     2010-07-15 03:28:48 -0700 (Thu, 15 Jul 2010)
Log Message:
-----------
mystonline-wine: no longer use wineprefixcreate since it doesn't exist anymore; see #25689

Modified Paths:
--------------
    trunk/dports/games/mystonline-wine/Portfile

Modified: trunk/dports/games/mystonline-wine/Portfile
===================================================================
--- trunk/dports/games/mystonline-wine/Portfile	2010-07-15 08:06:07 UTC (rev 69745)
+++ trunk/dports/games/mystonline-wine/Portfile	2010-07-15 10:28:48 UTC (rev 69746)
@@ -50,9 +50,14 @@
 use_configure               no
 
 build {
-    # Create the wine prefix
-    system "WINEPREFIX=${worksrcpath}/wineprefix ${prefix}/bin/wineprefixcreate -w"
+    # If winetricks needs to download any files, put them where the other distfiles are
+    if {![file exists ${distpath}/winetrickscache]} {
+        ln -s . ${distpath}/winetrickscache
+    }
     
+    # Create the wine prefix and enable font antialiasing
+    system "WINEPREFIX=${worksrcpath}/wineprefix HOME=${distpath} ${prefix}/bin/winetricks -q fontsmooth-rgb"
+    
     # Delete any temporary directory definitions; use the default C:\windows\temp
     reinplace -E {/^"TE?MP"=/d} ${worksrcpath}/wineprefix/user.reg
     
@@ -61,14 +66,6 @@
     delete ${worksrcpath}/wineprefix/drive_c/windows/temp
     ln -s /tmp ${worksrcpath}/wineprefix/drive_c/windows/temp
     
-    # If winetricks needs to download any files, put them where the other distfiles are
-    if {![file exists ${distpath}/winetrickscache]} {
-        ln -s . ${distpath}/winetrickscache
-    }
-    
-    # Enable font antialiasing
-    system "WINEPREFIX=${worksrcpath}/wineprefix HOME=${distpath} ${prefix}/bin/winetricks -q fontsmooth-rgb"
-    
     # Delete dosdevices -- it might contain references to transient disks
     # the user happens to have mounted, and wine will recreate it anyway
     delete ${worksrcpath}/wineprefix/dosdevices
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100715/6f3b8d46/attachment.html>


More information about the macports-changes mailing list