[128381] trunk/dports/games

ryandesign at macports.org ryandesign at macports.org
Thu Nov 20 06:47:42 PST 2014


Revision: 128381
          https://trac.macports.org/changeset/128381
Author:   ryandesign at macports.org
Date:     2014-11-20 06:47:42 -0800 (Thu, 20 Nov 2014)
Log Message:
-----------
mystonline-cider, mystonline-wine: have launcher delete some files, which will be redownloaded automatically, that apparently cause launch failure for some users when present

Modified Paths:
--------------
    trunk/dports/games/mystonline-cider/Portfile
    trunk/dports/games/mystonline-cider/files/MOUL.sh
    trunk/dports/games/mystonline-wine/Portfile
    trunk/dports/games/mystonline-wine/files/MOUL.sh

Modified: trunk/dports/games/mystonline-cider/Portfile
===================================================================
--- trunk/dports/games/mystonline-cider/Portfile	2014-11-20 14:25:58 UTC (rev 128380)
+++ trunk/dports/games/mystonline-cider/Portfile	2014-11-20 14:47:42 UTC (rev 128381)
@@ -6,7 +6,7 @@
 name                        mystonline-cider
 set my_name                 mystonline
 version                     2010
-revision                    3
+revision                    4
 platforms                   darwin
 categories                  games x11
 maintainers                 ryandesign
@@ -49,8 +49,8 @@
     reinplace "s|@BOOTSTRAP_LAUNCHER@|${bootstrap_dir}/${launcher_exe}|g" ${worksrcpath}/MOUL.sh
     reinplace "s|@LAUNCHER@|${assets_dir}/${launcher_exe}|g" ${worksrcpath}/MOUL.sh
     reinplace "s|@LIBEXEC@|${libexec_dir}|g" ${worksrcpath}/MOUL.sh
-    reinplace "s|@WINEPREFIX@|${wineprefix}|g" ${worksrcpath}/MOUL.sh ${worksrcpath}/chown-data.c
-    reinplace "s|@ASSETS@|${assets_dir}|g" ${worksrcpath}/chown-data.c
+    reinplace -W ${worksrcpath} "s|@WINEPREFIX@|${wineprefix}|g" MOUL.sh chown-data.c
+    reinplace -W ${worksrcpath} "s|@ASSETS@|${assets_dir}|g" MOUL.sh chown-data.c
     reinplace "s|@APP_PACKAGE@|${app_package}|g" ${worksrcpath}/chown-data.c
 }
 

Modified: trunk/dports/games/mystonline-cider/files/MOUL.sh
===================================================================
--- trunk/dports/games/mystonline-cider/files/MOUL.sh	2014-11-20 14:25:58 UTC (rev 128380)
+++ trunk/dports/games/mystonline-cider/files/MOUL.sh	2014-11-20 14:47:42 UTC (rev 128381)
@@ -11,6 +11,10 @@
     "@LIBEXEC@/chown-data" "$USER:$GROUP"
 #fi
 
+# http://mystonline.com/forums/viewtopic.php?f=40&t=26954&start=0#p404798
+ASSETS="@ASSETS@"
+rm -f "$ASSETS/dat/GlobalClothing_District_FemaleFan01.prp" "$ASSETS/dat/GlobalClothing_District_MaleFan01.prp"
+
 LAUNCHER="@LAUNCHER@"
 BOOTSTRAP_LAUNCHER="@BOOTSTRAP_LAUNCHER@"
 if [ ! -r "$LAUNCHER" ]; then

Modified: trunk/dports/games/mystonline-wine/Portfile
===================================================================
--- trunk/dports/games/mystonline-wine/Portfile	2014-11-20 14:25:58 UTC (rev 128380)
+++ trunk/dports/games/mystonline-wine/Portfile	2014-11-20 14:47:42 UTC (rev 128381)
@@ -6,7 +6,7 @@
 name                        mystonline-wine
 set my_name                 mystonline
 version                     2010
-revision                    3
+revision                    4
 platforms                   darwin
 categories                  games x11
 maintainers                 ryandesign
@@ -44,8 +44,8 @@
     reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/MOUL.sh
     reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" ${worksrcpath}/MOUL.sh
     reinplace "s|@LIBEXEC@|${libexec_dir}|g" ${worksrcpath}/MOUL.sh
-    reinplace "s|@WINEPREFIX@|${wineprefix}|g" ${worksrcpath}/MOUL.sh ${worksrcpath}/chown-data.c
-    reinplace "s|@ASSETS@|${assets_dir}|g" ${worksrcpath}/chown-data.c
+    reinplace -W ${worksrcpath} "s|@WINEPREFIX@|${wineprefix}|g" MOUL.sh chown-data.c
+    reinplace -W ${worksrcpath} "s|@ASSETS@|${assets_dir}|g" MOUL.sh chown-data.c
 }
 
 use_configure               no

Modified: trunk/dports/games/mystonline-wine/files/MOUL.sh
===================================================================
--- trunk/dports/games/mystonline-wine/files/MOUL.sh	2014-11-20 14:25:58 UTC (rev 128380)
+++ trunk/dports/games/mystonline-wine/files/MOUL.sh	2014-11-20 14:47:42 UTC (rev 128381)
@@ -35,6 +35,10 @@
     "@LIBEXEC@/chown-data" "$USER:$GROUP"
 #fi
 
+# http://mystonline.com/forums/viewtopic.php?f=40&t=26954&start=0#p404798
+ASSETS="@ASSETS@"
+rm -f "$ASSETS/dat/GlobalClothing_District_FemaleFan01.prp" "$ASSETS/dat/GlobalClothing_District_MaleFan01.prp"
+
 LAUNCHER="@LAUNCHER@"
 BOOTSTRAP_LAUNCHER="@BOOTSTRAP_LAUNCHER@"
 if [ ! -r "$LAUNCHER" ]; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141120/4342542e/attachment.html>


More information about the macports-changes mailing list