[43955] trunk/dports/sysutils/MacPorts/Portfile

blb at macports.org blb at macports.org
Thu Dec 18 00:07:58 PST 2008


Revision: 43955
          http://trac.macports.org/changeset/43955
Author:   blb at macports.org
Date:     2008-12-18 00:07:53 -0800 (Thu, 18 Dec 2008)
Log Message:
-----------
sysutils/MacPorts - add new bits for InstallationCheck script (commented-out
for now, added so it doesn't get lost); for ticket #13141

Modified Paths:
--------------
    trunk/dports/sysutils/MacPorts/Portfile

Modified: trunk/dports/sysutils/MacPorts/Portfile
===================================================================
--- trunk/dports/sysutils/MacPorts/Portfile	2008-12-18 08:06:45 UTC (rev 43954)
+++ trunk/dports/sysutils/MacPorts/Portfile	2008-12-18 08:07:53 UTC (rev 43955)
@@ -56,25 +56,34 @@
     file copy -force -- ${worksrcpath}/portmgr/dmg/License.html ${resources_lang}
     file copy -force -- ${worksrcpath}/portmgr/dmg/preflight ${resources_scripts}
     file copy -force -- ${worksrcpath}/portmgr/dmg/postflight ${resources_scripts}
+# Enable these for 1.7.1
+#    file copy -force -- ${worksrcpath}/portmgr/dmg/InstallationCheck ${resources_scripts}
+#    file copy -force -- ${worksrcpath}/portmgr/dmg/InstallationCheck.strings ${resources_lang}
     file copy -force -- ${worksrcpath}/src/dep_map_clean.tcl ${resources_scripts}
     file copy -force -- ${worksrcpath}/src/upgrade_sources_conf_default.tcl ${resources_scripts}
 }
 
 platform darwin 7 {
     post-pkg {
-        global resources_lang
+        global resources_scripts resources_lang
         reinplace "s|__XVERS__|10.3|" ${resources_lang}/ReadMe.rtf
         reinplace "s|or newer ||" ${resources_lang}/Welcome.html
+# Enable these for 1.7.1 (add the strings reinplace to ReadMe.rtf above)
+#        reinplace "s|__DARWINVERS__|7|" ${resources_scripts}/InstallationCheck
+#        reinplace "s|__XVERS__|10.3|" ${resources_lang}/InstallationCheck.strings
     }
 }
 
 platform darwin 8 {
     post-pkg {
-        global resources_lang
+        global resources_scripts resources_lang
         reinplace "s|is built|contains a Universal installer|" ${resources_lang}/ReadMe.rtf
         reinplace "s|__XVERS__|10.4|" ${resources_lang}/ReadMe.rtf
         reinplace "s|3|4|" ${resources_lang}/Welcome.html
         reinplace "s|or newer ||" ${resources_lang}/Welcome.html
+# Enable these for 1.7.1 (add the strings reinplace to ReadMe.rtf above)
+#        reinplace "s|__DARWINVERS__|8|" ${resources_scripts}/InstallationCheck
+#        reinplace "s|__XVERS__|10.4|" ${resources_lang}/InstallationCheck.strings
     }
 }
 
@@ -103,11 +112,14 @@
 
 platform darwin 9 {
     post-pkg {
-        global resources_lang
+        global resources_scripts resources_lang
         reinplace "s|is built|contains a Universal installer|" ${resources_lang}/ReadMe.rtf
         reinplace "s|__XVERS__|10.5|" ${resources_lang}/ReadMe.rtf
         reinplace "s|3|5|" ${resources_lang}/Welcome.html
         reinplace "s|or newer ||" ${resources_lang}/Welcome.html
+# Enable these for 1.7.1 (add the strings reinplace to ReadMe.rtf above)
+#        reinplace "s|__DARWINVERS__|9|" ${resources_scripts}/InstallationCheck
+#        reinplace "s|__XVERS__|10.5|" ${resources_lang}/InstallationCheck.strings
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081218/83d22cf7/attachment.html>


More information about the macports-changes mailing list