Ignore:
Timestamp:
Mar 28, 2009, 10:40:10 PM (10 years ago)
Author:
blb@…
Message:

sysutils/MacPorts - version update to 1.7.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/MacPorts/Portfile

    r48202 r48787  
    44
    55name                MacPorts
    6 version             1.7.0
     6version             1.7.1
    77
    88categories          sysutils
     
    1919use_bzip2           yes
    2020
    21 checksums           md5     c6e7827d495e34d9e61cc927ca5cad66 \
    22                     sha1    5ab0f590836dd204693fe8e1474da1e4a5c69fba \
    23                     rmd160  02599e15bca00e58e38f34e0ee93e3471b2356b4
     21checksums           md5     4e95e4e1905a47a3f7eeb91775cdbf1b \
     22                    sha1    4a2349873899d0dfb8a75002779e59b1a0eca8e1 \
     23                    rmd160  3f30001a3f71bd3b6264aa174cbf188a645f6ac4
    2424
    2525pre-fetch {
     
    5757    file copy -force -- ${worksrcpath}/portmgr/dmg/preflight ${resources_scripts}
    5858    file copy -force -- ${worksrcpath}/portmgr/dmg/postflight ${resources_scripts}
    59 # Enable these for 1.7.1
    60 #    file copy -force -- ${worksrcpath}/portmgr/dmg/InstallationCheck ${resources_scripts}
    61 #    file copy -force -- ${worksrcpath}/portmgr/dmg/InstallationCheck.strings ${resources_lang}
     59    file copy -force -- ${worksrcpath}/portmgr/dmg/InstallationCheck ${resources_scripts}
     60    file copy -force -- ${worksrcpath}/portmgr/dmg/InstallationCheck.strings ${resources_lang}
    6261    file copy -force -- ${worksrcpath}/src/dep_map_clean.tcl ${resources_scripts}
    6362    file copy -force -- ${worksrcpath}/src/upgrade_sources_conf_default.tcl ${resources_scripts}
     
    6766    post-pkg {
    6867        global resources_scripts resources_lang
    69         reinplace "s|__XVERS__|10.3|" ${resources_lang}/ReadMe.rtf
     68        reinplace "s|__XVERS__|10.3|" ${resources_lang}/ReadMe.rtf \
     69            ${resources_lang}/InstallationCheck.strings
    7070        reinplace "s|or newer ||" ${resources_lang}/Welcome.html
    71 # Enable these for 1.7.1 (add the strings reinplace to ReadMe.rtf above)
    72 #        reinplace "s|__DARWINVERS__|7|" ${resources_scripts}/InstallationCheck
    73 #        reinplace "s|__XVERS__|10.3|" ${resources_lang}/InstallationCheck.strings
     71        reinplace "s|__DARWINVERS__|7|" ${resources_scripts}/InstallationCheck
    7472    }
    7573}
     
    7977        global resources_scripts resources_lang
    8078        reinplace "s|is built|contains a Universal installer|" ${resources_lang}/ReadMe.rtf
    81         reinplace "s|__XVERS__|10.4|" ${resources_lang}/ReadMe.rtf
     79        reinplace "s|__XVERS__|10.4|" ${resources_lang}/ReadMe.rtf \
     80            ${resources_lang}/InstallationCheck.strings
    8281        reinplace "s|3|4|" ${resources_lang}/Welcome.html
    8382        reinplace "s|or newer ||" ${resources_lang}/Welcome.html
    84 # Enable these for 1.7.1 (add the strings reinplace to ReadMe.rtf above)
    85 #        reinplace "s|__DARWINVERS__|8|" ${resources_scripts}/InstallationCheck
    86 #        reinplace "s|__XVERS__|10.4|" ${resources_lang}/InstallationCheck.strings
     83        reinplace "s|__DARWINVERS__|8|" ${resources_scripts}/InstallationCheck
    8784    }
    8885}
     
    115112        global resources_scripts resources_lang
    116113        reinplace "s|is built|contains a Universal installer|" ${resources_lang}/ReadMe.rtf
    117         reinplace "s|__XVERS__|10.5|" ${resources_lang}/ReadMe.rtf
     114        reinplace "s|__XVERS__|10.5|" ${resources_lang}/ReadMe.rtf \
     115            ${resources_lang}/InstallationCheck.strings
    118116        reinplace "s|3|5|" ${resources_lang}/Welcome.html
    119117        reinplace "s|or newer ||" ${resources_lang}/Welcome.html
    120 # Enable these for 1.7.1 (add the strings reinplace to ReadMe.rtf above)
    121 #        reinplace "s|__DARWINVERS__|9|" ${resources_scripts}/InstallationCheck
    122 #        reinplace "s|__XVERS__|10.5|" ${resources_lang}/InstallationCheck.strings
     118        reinplace "s|__DARWINVERS__|9|" ${resources_scripts}/InstallationCheck
    123119    }
    124120}
     
    145141    configure.cflags-append -arch ppc -arch i386
    146142    configure.args-append SHLIB_LDFLAGS='-arch ppc -arch i386'
     143}
     144
     145platform darwin 10 powerpc {
     146    pre-fetch {
     147        return -code error "Unavailable OS not supported"
     148   }
     149}
     150
     151platform darwin 10 i386 {
     152    pre-fetch {
     153        return -code error "Unavailable OS not supported"
     154   }
    147155}
    148156
Note: See TracChangeset for help on using the changeset viewer.