Changeset 80938
- Timestamp:
- 07/21/11 13:50:09 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/sysutils/MacPorts/Portfile (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/sysutils/MacPorts/Portfile
r77219 r80938 4 4 5 5 name MacPorts 6 version 1.9.26 version 2.0.0 7 7 8 8 categories sysutils … … 15 15 management of freely available software on Mac OS X 10.4 or newer systems. 16 16 17 notes "This port cannot directly be used to upgrade MacPorts; use 'port\ 18 selfupdate' for that." 19 17 20 homepage http://www.macports.org/ 18 master_sites macports_distfiles21 master_sites 19 22 # testing subdir is for non-final releases only 20 23 #dist_subdir ${name}/testing 21 24 use_bzip2 yes 22 25 23 checksums md5 a8da5dfaffe03d6f9369572f14ff085a\24 sha1 5 53b2a55e970d3ed92caa634c1345054ff87cd1f\25 rmd160 511599576cff3a0c3aa200e9af96aa69fa54c17a26 checksums md5 7506e08151d5c919da39c03ac2be0b18 \ 27 sha1 5899f39fd277613720a99ea32c9c6aea0031c882 \ 28 rmd160 0abf2ee0b04744f5d89572a143bd1e596fd248b6 26 29 27 30 variant keep_prefix description "Use configured prefix instead of enforcing /opt/local" {} … … 42 45 configure.cppflags 43 46 configure.ldflags 44 45 if {[info exists configure.cc_archflags]} { 46 configure.cc_archflags 47 configure.objc_archflags 48 } 49 if {[info exists configure.ld_archflags]} { 50 configure.ld_archflags 51 } 52 if {[info exists compiler.cpath]} { 53 compiler.cpath 54 compiler.library_path 55 } 47 configure.cc_archflags 48 configure.objc_archflags 49 configure.ld_archflags 50 compiler.cpath 51 compiler.library_path 56 52 57 53 # MacPorts' configure removes ${prefix}/bin from $PATH, … … 62 58 # Only install .default versions of config files. 63 59 delete ${destroot}${prefix}/etc/macports/macports.conf 60 delete ${destroot}${prefix}/etc/macports/pubkeys.conf 64 61 delete ${destroot}${prefix}/etc/macports/sources.conf 65 62 delete ${destroot}${prefix}/etc/macports/variants.conf … … 79 76 file copy -force -- ${worksrcpath}/portmgr/dmg/InstallationCheck ${resources_scripts} 80 77 file copy -force -- ${worksrcpath}/portmgr/dmg/InstallationCheck.strings ${resources_lang} 81 file copy -force -- ${worksrcpath}/src/dep_map_clean.tcl ${resources_scripts}82 78 file copy -force -- ${worksrcpath}/src/upgrade_sources_conf_default.tcl ${resources_scripts} 83 79 file copy -force -- ${worksrcpath}/src/images_to_archives.tcl ${resources_scripts} 80 84 81 reinplace "s|__PREFIX__|${prefix}|g" \ 85 82 ${resources_scripts}/InstallationCheck \ … … 169 166 reinplace "s|or newer ||" ${resources_lang}/Welcome.html 170 167 reinplace "s|__DARWINVERS__|10|" ${resources_scripts}/InstallationCheck 168 } 169 } 170 171 platform darwin 11 { 172 # Supply architecture flags to build MacPorts universal. 173 configure.cflags-append -arch x86_64 -arch i386 174 configure.args-append SHLIB_LDFLAGS='-arch x86_64 -arch i386' 175 post-pkg { 176 global resources_scripts resources_lang 177 reinplace "s|is built|contains a Universal installer|" ${resources_lang}/ReadMe.rtf 178 reinplace "s|__XVERS__|10.7|" ${resources_lang}/ReadMe.rtf \ 179 ${resources_lang}/InstallationCheck.strings 180 reinplace "s|10.4|10.7|" ${resources_lang}/Welcome.html 181 reinplace "s|or newer ||" ${resources_lang}/Welcome.html 182 reinplace "s|__DARWINVERS__|11|" ${resources_scripts}/InstallationCheck 171 183 } 172 184 } … … 285 297 ${destroot}${prefix}/var/macports/build \ 286 298 ${destroot}${prefix}/var/macports/distfiles \ 287 ${destroot}${prefix}/var/macports/receipts \ 288 ${destroot}${prefix}/var/macports/registry \ 289 ${destroot}${prefix}/var/macports/packages 299 ${destroot}${prefix}/var/macports/registry
Note: See TracChangeset
for help on using the changeset viewer.

