[66393] users/ryandesign/ports/games

ryandesign at macports.org ryandesign at macports.org
Sat Apr 10 18:03:33 PDT 2010


Revision: 66393
          http://trac.macports.org/changeset/66393
Author:   ryandesign at macports.org
Date:     2010-04-10 18:03:31 -0700 (Sat, 10 Apr 2010)
Log Message:
-----------
mystonline-bootstrap: new port, downloads latest UruLauncher.exe for use with mystonline-cider and mystonline-wine

Added Paths:
-----------
    users/ryandesign/ports/games/mystonline-bootstrap/
    users/ryandesign/ports/games/mystonline-bootstrap/Portfile

Added: users/ryandesign/ports/games/mystonline-bootstrap/Portfile
===================================================================
--- users/ryandesign/ports/games/mystonline-bootstrap/Portfile	                        (rev 0)
+++ users/ryandesign/ports/games/mystonline-bootstrap/Portfile	2010-04-11 01:03:31 UTC (rev 66393)
@@ -0,0 +1,52 @@
+# $Id$
+
+PortSystem                  1.0
+
+name                        mystonline-bootstrap
+set my_name                 mystonline
+version                     2010
+platforms                   darwin
+categories                  games x11
+maintainers                 ryandesign
+homepage                    http://mystonline.com/
+dist_subdir                 ${my_name}
+master_sites                http://www.ryandesign.com/macports/distfiles/${dist_subdir}
+use_zip                     yes
+set launcher_exe            UruLauncher.exe
+set launcher_version        1.887
+distname                    ${launcher_exe}-${launcher_version}
+extract.mkdir               yes
+
+description                 Myst Online: URU Live Again
+
+long_description            ${description} (MO:ULagain) bootstrap files for \
+                            use with the Wine or Cider version
+
+checksums                   md5     155c636f2b15c117b1704fc5daa4995f \
+                            sha1    91f1b2f3af4e9e9f7e88cff434964f402bd5b808 \
+                            rmd160  d8f5b04ff8f818d1557c0ba48c73a83259ed10b8
+
+set share_dir               ${prefix}/share/${my_name}
+set bootstrap_dir           ${share_dir}/bootstrap
+set assets_dir              ${share_dir}/data
+
+use_configure               no
+
+build {}
+
+destroot.keepdirs ${destroot}${assets_dir}
+destroot {
+    xinstall -d ${destroot}${bootstrap_dir}
+    xinstall -m 644 -W ${worksrcpath} ${launcher_exe} ${destroot}${bootstrap_dir}
+}
+
+post-activate {
+    if {[file exists ${assets_dir}/${launcher_exe}]} {
+        ui_debug "${launcher_exe} already exists in ${assets_dir}; ok"
+    } else {
+        ui_debug "Copying ${launcher_exe} to ${assets_dir}"
+        copy ${bootstrap_dir}/${launcher_exe} ${assets_dir}
+    }
+}
+
+universal_variant           no


Property changes on: users/ryandesign/ports/games/mystonline-bootstrap/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100410/a7bb728e/attachment.html>


More information about the macports-changes mailing list