- Timestamp:
- Aug 25, 2007, 12:54:55 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/guide/new/xml/internals.xml
r28037 r28220 252 252 <title>sources.conf</title> 253 253 254 <para><filename>sources.conf</filename> is where the location(s) to 255 retrieve the MacPorts <filename>Portfile</filename>s is set.</para> 254 <para><filename>sources.conf</filename> is where the location(s) are set 255 to scan for MacPorts Portfiles. This file is commonly modified to add a 256 local Portfile repository.</para> 256 257 </section> 257 258 … … 302 303 <para>MacPorts contains two application programming interfaces (APIs), 303 304 written in Tcl: The Ports API and the MacPorts (mport*) API. The former is 304 an internal API used for individual <filename>Portfile</filename>s. The 305 latter is a high-level API used by client applications such as the 306 MacPorts port utility.</para> 305 an internal API used for individual Portfiles. The latter is a high-level 306 API used by client applications such as the MacPorts port utility.</para> 307 307 308 308 <section id="macports-internals.macports.apis.ports"> … … 496 496 <title>The MacPorts Registry</title> 497 497 498 <para>This chapter provides a detailed overview of the MacPorts registry499 and its API. The registry is queried by MacPorts utilities for information500 about installed ports related to dependencies, port images, and simple501 user information about what is installed. It also provides abstraction502 over a modular receipt storage layer, allowing for flat-file receipts, as503 wellas receipts stored in a SQLite database.</para>498 <para>This chapter provides an overview of the MacPorts registry and its 499 API. The registry is queried by MacPorts utilities for information about 500 installed ports related to dependencies, port images, and simple user 501 information about what is installed. It provides abstraction over a 502 modular receipt storage layer; this allows for flat file receipts as well 503 as receipts stored in a SQLite database.</para> 504 504 505 505 <para>The registry allows MacPorts utilities to:</para> … … 522 522 </itemizedlist> 523 523 524 <section> 525 <title>Registry Files</title> 526 527 <para>The flat file registry (MacPorts default registry) files are 528 contained in <filename>${portdbpath}/receipts</filename>, which by 529 default is location 530 <filename>${prefix}/var/macports/receipts</filename>. File mappings and 531 dependency mappings are tracked in the flat file registry by these 532 files:</para> 533 534 <simplelist> 535 <member>file_map.db</member> 536 537 <member>dep_map.bz2</member> 538 </simplelist> 539 </section> 540 524 541 <section id="macports-internals.macports.registry.registry.api"> 525 542 <title>The Registry API</title>
Note: See TracChangeset
for help on using the changeset viewer.