Changeset 80729
- Timestamp:
- 07/16/11 08:05:35 (4 years ago)
- File:
-
- 1 edited
-
trunk/doc-new/guide/xml/portfile-dependencies.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc-new/guide/xml/portfile-dependencies.xml
r70013 r80729 137 137 programs, <option>lib</option> for libraries, and <option>path</option> 138 138 for any installed file. File dependencies are specifed in the form: 139 <replaceable><type></replaceable>:<replaceable><filespec></replaceable>:<replaceable><port></replaceable>. 140 For <option>bin</option> dependencies, 139 <replaceable><type></replaceable>:<replaceable><filespec></replaceable>:<replaceable><port></replaceable>.</para> 140 141 <para>For <option>bin</option> dependencies, 141 142 <replaceable><filespec></replaceable> is the name of a program in a 142 bin directory like <filename>${prefix}/bin</filename>. For 143 <option>lib</option> dependencies, 144 <replaceable><filespec></replaceable> is the name of a library in a 145 lib directory like <filename>${prefix}/lib</filename> but without its 146 extension. For <option>path</option> dependencies, 143 bin directory like <filename>${prefix}/bin</filename>, /usr/bin, /bin, and 144 the associated sbin directories.</para> 145 146 <para>For <option>lib</option> dependencies, 147 <replaceable><filespec></replaceable> is the name of a library 148 (but without its extension) in a lib directory like 149 <filename>${prefix}/lib</filename>, /usr/lib, /lib, some Framework 150 directories, and those found in environment variables like DYLD_LIBRARY_PATH.</para> 151 152 <para>For <option>path</option> dependencies, 147 153 <replaceable><filespec></replaceable> is the complete absolute path 148 154 to the file, or more usually, when the file is inside 149 155 <filename>${prefix}</filename>, it is specified relative to 150 <filename>${prefix}</filename>.</para> 156 <filename>${prefix}</filename>. 157 Since <option>path</option> dependencies are the only ones which would find 158 files only in an absolute path or a path inside <filename>${prefix}</filename> 159 they are - in cases when a port needs to be more restrictive - often used 160 instead of <option>bin</option> and <option>lib</option> dependencies .</para> 151 161 152 162 <para>Note that the <replaceable><port></replaceable> specified is
Note: See TracChangeset
for help on using the changeset viewer.

