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

blb at macports.org blb at macports.org
Sat Mar 28 15:40:10 PDT 2009


Revision: 48787
          http://trac.macports.org/changeset/48787
Author:   blb at macports.org
Date:     2009-03-28 15:40:10 -0700 (Sat, 28 Mar 2009)
Log Message:
-----------
sysutils/MacPorts - version update to 1.7.1

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

Modified: trunk/dports/sysutils/MacPorts/Portfile
===================================================================
--- trunk/dports/sysutils/MacPorts/Portfile	2009-03-28 22:34:42 UTC (rev 48786)
+++ trunk/dports/sysutils/MacPorts/Portfile	2009-03-28 22:40:10 UTC (rev 48787)
@@ -3,7 +3,7 @@
 PortSystem          1.0
 
 name                MacPorts
-version             1.7.0
+version             1.7.1
 
 categories          sysutils
 platforms           darwin freebsd
@@ -18,9 +18,9 @@
 master_sites        macports:${distname}
 use_bzip2           yes
 
-checksums           md5     c6e7827d495e34d9e61cc927ca5cad66 \
-                    sha1    5ab0f590836dd204693fe8e1474da1e4a5c69fba \
-                    rmd160  02599e15bca00e58e38f34e0ee93e3471b2356b4
+checksums           md5     4e95e4e1905a47a3f7eeb91775cdbf1b \
+                    sha1    4a2349873899d0dfb8a75002779e59b1a0eca8e1 \
+                    rmd160  3f30001a3f71bd3b6264aa174cbf188a645f6ac4
 
 pre-fetch {
    if {${prefix} != {/opt/local}} {
@@ -56,9 +56,8 @@
     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}/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}
 }
@@ -66,11 +65,10 @@
 platform darwin 7 {
     post-pkg {
         global resources_scripts resources_lang
-        reinplace "s|__XVERS__|10.3|" ${resources_lang}/ReadMe.rtf
+        reinplace "s|__XVERS__|10.3|" ${resources_lang}/ReadMe.rtf \
+            ${resources_lang}/InstallationCheck.strings
         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
+        reinplace "s|__DARWINVERS__|7|" ${resources_scripts}/InstallationCheck
     }
 }
 
@@ -78,12 +76,11 @@
     post-pkg {
         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|__XVERS__|10.4|" ${resources_lang}/ReadMe.rtf \
+            ${resources_lang}/InstallationCheck.strings
         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
+        reinplace "s|__DARWINVERS__|8|" ${resources_scripts}/InstallationCheck
     }
 }
 
@@ -114,12 +111,11 @@
     post-pkg {
         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|__XVERS__|10.5|" ${resources_lang}/ReadMe.rtf \
+            ${resources_lang}/InstallationCheck.strings
         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
+        reinplace "s|__DARWINVERS__|9|" ${resources_scripts}/InstallationCheck
     }
 }
 
@@ -146,6 +142,18 @@
     configure.args-append SHLIB_LDFLAGS='-arch ppc -arch i386'
 }
 
+platform darwin 10 powerpc {
+    pre-fetch {
+        return -code error "Unavailable OS not supported"
+   }
+}
+
+platform darwin 10 i386 {
+    pre-fetch {
+        return -code error "Unavailable OS not supported"
+   }
+}
+
 destroot.violate_mtree yes
 destroot.keepdirs    ${destroot}${prefix}/include \
                      ${destroot}${prefix}/lib \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090328/26e3c202/attachment-0001.html>


More information about the macports-changes mailing list