# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name mystonline-bootstrap set my_name mystonline version 2010 revision 1 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.893 distname ${launcher_exe}-${launcher_version} extract.mkdir yes supported_archs noarch description Myst Online: URU Live Again long_description ${description} (MO:ULagain) bootstrap files for \ use with the Wine or Cider version checksums md5 6d92e689247a2dc1c9b77f32bec5d887 \ sha1 8b22b4899f7fe4c9528493e961114e963b81a5b1 \ rmd160 bdff9df019140bf4de43d85b1f46fa5c499d500e 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} } } livecheck.type none