diff options
author | hubertf <hubertf> | 2004-11-20 13:26:39 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2004-11-20 13:26:39 +0000 |
commit | 97f8542def1dfa26dae19811e35e6f08f3bba329 (patch) | |
tree | 6190b66b6bb458f32f743dd27c637e4ffb76508b | |
parent | a25c07b899845dc6c14108def3c671540bdfc569 (diff) | |
download | pkgsrc-97f8542def1dfa26dae19811e35e6f08f3bba329.tar.gz |
re-gen
-rw-r--r-- | doc/pkgsrc.html | 746 | ||||
-rw-r--r-- | doc/pkgsrc.txt | 33 |
2 files changed, 370 insertions, 409 deletions
diff --git a/doc/pkgsrc.html b/doc/pkgsrc.html index 31271db0e47..7af08cd12c4 100644 --- a/doc/pkgsrc.html +++ b/doc/pkgsrc.html @@ -286,41 +286,41 @@ alink="#0000FF"> <dt><span class="sect1"><a href="#id2564331">6.2. Where's the pkgviews documentation?</a></span></dt> - <dt><span class="sect1"><a href="#id2564344">6.3. - Utilities for package management - (pkgtools)</a></span></dt> + <dt><span class="sect1"><a href= + "#faq-pkgtools">6.3. Utilities for package + management (pkgtools)</a></span></dt> - <dt><span class="sect1"><a href="#id2564501">6.4. + <dt><span class="sect1"><a href="#id2564584">6.4. How to use pkgsrc as non-root</a></span></dt> - <dt><span class="sect1"><a href="#id2564581">6.5. + <dt><span class="sect1"><a href="#id2564596">6.5. How can I install/use XFree86 from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2564609">6.6. + <dt><span class="sect1"><a href="#id2564624">6.6. How can I install/use X.org from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2564636">6.7. + <dt><span class="sect1"><a href="#id2564651">6.7. How to fetch files from behind a firewall</a></span></dt> - <dt><span class="sect1"><a href="#id2564650">6.8. + <dt><span class="sect1"><a href="#id2564665">6.8. How do I tell make fetch to do passive FTP?</a></span></dt> - <dt><span class="sect1"><a href="#id2564701">6.9. + <dt><span class="sect1"><a href="#id2564785">6.9. How to fetch all distfiles at once</a></span></dt> - <dt><span class="sect1"><a href="#id2564978">6.10. + <dt><span class="sect1"><a href="#id2564993">6.10. What does Don't know how to make /usr/share/tmac/tmac.andoc mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2565016">6.11. + <dt><span class="sect1"><a href="#id2565031">6.11. What does Could not find bsd.own.mk mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2565074">6.12. + <dt><span class="sect1"><a href="#id2565089">6.12. Using 'sudo' with pkgsrc</a></span></dt> <dt><span class="sect1"><a href="#faq.conf">6.13. @@ -358,17 +358,17 @@ alink="#0000FF"> "#components.patches">7.3. patches/*</a></span></dt> - <dt><span class="sect1"><a href="#id2566249">7.4. + <dt><span class="sect1"><a href="#id2566134">7.4. Other mandatory files</a></span></dt> <dt><span class="sect1"><a href= "#components.optional">7.5. Optional files</a></span></dt> - <dt><span class="sect1"><a href="#id2566443">7.6. + <dt><span class="sect1"><a href="#id2566396">7.6. work*</a></span></dt> - <dt><span class="sect1"><a href="#id2566531">7.7. + <dt><span class="sect1"><a href="#id2566484">7.7. files/*</a></span></dt> </dl> </dd> @@ -378,10 +378,10 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2566585">8.1. + <dt><span class="sect1"><a href="#id2566538">8.1. RCS ID</a></span></dt> - <dt><span class="sect1"><a href="#id2566600">8.2. + <dt><span class="sect1"><a href="#id2566621">8.2. Semi-automatic PLIST generation</a></span></dt> <dt><span class="sect1"><a href="#print-PLIST">8.3. @@ -390,14 +390,14 @@ alink="#0000FF"> <dt><span class="sect1"><a href="#plist.misc">8.4. Variable substitution in PLIST</a></span></dt> - <dt><span class="sect1"><a href="#id2566921">8.5. + <dt><span class="sect1"><a href="#id2566874">8.5. Manpage-compression</a></span></dt> - <dt><span class="sect1"><a href="#id2566963">8.6. + <dt><span class="sect1"><a href="#id2566916">8.6. Changing PLIST source with PLIST_SRC</a></span></dt> - <dt><span class="sect1"><a href="#id2566980">8.7. + <dt><span class="sect1"><a href="#id2566933">8.7. Platform specific and differing PLISTs</a></span></dt> @@ -412,37 +412,37 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2567252">9.1. + <dt><span class="sect1"><a href="#id2567137">9.1. Converting packages to use buildlink3</a></span></dt> - <dt><span class="sect1"><a href="#id2567579">9.2. + <dt><span class="sect1"><a href="#id2567532">9.2. Writing buildlink3.mk files</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2567717">9.2.1. Anatomy of a buildlink3.mk + "#id2567670">9.2.1. Anatomy of a buildlink3.mk file</a></span></dt> <dt><span class="sect2"><a href= - "#id2568157">9.2.2. Updating + "#id2568110">9.2.2. Updating BUILDLINK_DEPENDS.pkg in buildlink3.mk files</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2568236">9.3. + <dt><span class="sect1"><a href="#id2568189">9.3. Writing builtin.mk files</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2568386">9.3.1. Anatomy of a builtin.mk + "#id2568270">9.3.1. Anatomy of a builtin.mk file</a></span></dt> <dt><span class="sect2"><a href= - "#id2568613">9.3.2. Global preferences for + "#id2568566">9.3.2. Global preferences for native or pkgsrc software</a></span></dt> </dl> </dd> @@ -454,10 +454,10 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2568685">10.1. + <dt><span class="sect1"><a href="#id2568638">10.1. Global default options</a></span></dt> - <dt><span class="sect1"><a href="#id2568700">10.2. + <dt><span class="sect1"><a href="#id2568653">10.2. Converting packages to use bsd.options.mk</a></span></dt> </dl> @@ -472,7 +472,7 @@ alink="#0000FF"> "#build.prefix">11.1. Program location</a></span></dt> - <dt><span class="sect1"><a href="#id2569445">11.2. + <dt><span class="sect1"><a href="#id2569330">11.2. Main targets</a></span></dt> <dt><span class="sect1"><a href= @@ -486,17 +486,17 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2570842">12.1. + <dt><span class="sect1"><a href="#id2570795">12.1. General operation</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2570845">12.1.1. How to pull in variables + "#id2570798">12.1.1. How to pull in variables from /etc/mk.conf</a></span></dt> <dt><span class="sect2"><a href= - "#id2570929">12.1.2. Restricted + "#id2570882">12.1.2. Restricted packages</a></span></dt> <dt><span class="sect2"><a href= @@ -504,15 +504,15 @@ alink="#0000FF"> dependencies</a></span></dt> <dt><span class="sect2"><a href= - "#id2571444">12.1.4. Handling conflicts with + "#id2571260">12.1.4. Handling conflicts with other packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2571494">12.1.5. Packages that cannot or + "#id2571447">12.1.5. Packages that cannot or should not be built</a></span></dt> <dt><span class="sect2"><a href= - "#id2571520">12.1.6. Packages which should not + "#id2571473">12.1.6. Packages which should not be deleted, once installed</a></span></dt> <dt><span class="sect2"><a href= @@ -520,37 +520,37 @@ alink="#0000FF"> with security problems</a></span></dt> <dt><span class="sect2"><a href= - "#id2571611">12.1.8. How to handle compiler + "#id2571564">12.1.8. How to handle compiler bugs</a></span></dt> <dt><span class="sect2"><a href= - "#id2571634">12.1.9. How to handle incrementing + "#id2571587">12.1.9. How to handle incrementing versions when fixing an existing package</a></span></dt> <dt><span class="sect2"><a href= - "#id2571751">12.1.10. Portability of + "#id2571704">12.1.10. Portability of packages</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2571776">12.2. + <dt><span class="sect1"><a href="#id2571729">12.2. Possible downloading issues</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2571779">12.2.1. Packages whose distfiles + "#id2571732">12.2.1. Packages whose distfiles aren't available for plain downloading</a></span></dt> <dt><span class="sect2"><a href= - "#id2571978">12.2.2. How to handle modified + "#id2571795">12.2.2. How to handle modified distfiles with the 'old' name</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2571990">12.3. + <dt><span class="sect1"><a href="#id2571806">12.3. Configuration gotchas</a></span></dt> <dd> @@ -560,66 +560,66 @@ alink="#0000FF"> libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2572397">12.3.2. Using libtool on GNU + "#id2572350">12.3.2. Using libtool on GNU packages that already support libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2572482">12.3.3. GNU + "#id2572435">12.3.3. GNU Autoconf/Automake</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2572526">12.4. + <dt><span class="sect1"><a href="#id2572480">12.4. Building considerations</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2572530">12.4.1. CPP + "#id2572483">12.4.1. CPP defines</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2572560">12.5. + <dt><span class="sect1"><a href="#id2572513">12.5. Package specific actions</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2572563">12.5.1. Package configuration + "#id2572516">12.5.1. Package configuration files</a></span></dt> <dt><span class="sect2"><a href= - "#id2572733">12.5.2. User + "#id2572618">12.5.2. User interaction</a></span></dt> <dt><span class="sect2"><a href= - "#id2572778">12.5.3. Handling + "#id2572663">12.5.3. Handling licenses</a></span></dt> <dt><span class="sect2"><a href= - "#id2572861">12.5.4. Creating an account from a + "#id2572746">12.5.4. Creating an account from a package</a></span></dt> <dt><span class="sect2"><a href= - "#id2572992">12.5.5. Installing score + "#id2572876">12.5.5. Installing score files</a></span></dt> <dt><span class="sect2"><a href= - "#id2573035">12.5.6. Packages providing login + "#id2573057">12.5.6. Packages providing login shells</a></span></dt> <dt><span class="sect2"><a href= - "#id2573161">12.5.7. Packages containing perl + "#id2573182">12.5.7. Packages containing perl scripts</a></span></dt> <dt><span class="sect2"><a href= - "#id2573248">12.5.8. Packages with hardcoded + "#id2573201">12.5.8. Packages with hardcoded paths to other interpreters</a></span></dt> <dt><span class="sect2"><a href= - "#id2573269">12.5.9. Packages installing perl + "#id2573222">12.5.9. Packages installing perl modules</a></span></dt> <dt><span class="sect2"><a href= @@ -627,36 +627,36 @@ alink="#0000FF"> info files</a></span></dt> <dt><span class="sect2"><a href= - "#id2573557">12.5.11. Packages installing + "#id2573442">12.5.11. Packages installing GConf2 data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2573657">12.5.12. Packages installing + "#id2573610">12.5.12. Packages installing scrollkeeper data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2573708">12.5.13. Packages installing X11 + "#id2573661">12.5.13. Packages installing X11 fonts</a></span></dt> <dt><span class="sect2"><a href= - "#id2573824">12.5.14. Packages installing GTK2 + "#id2573708">12.5.14. Packages installing GTK2 modules</a></span></dt> <dt><span class="sect2"><a href= - "#id2573893">12.5.15. Packages installing SGML + "#id2573778">12.5.15. Packages installing SGML or XML data</a></span></dt> <dt><span class="sect2"><a href= - "#id2573945">12.5.16. Packages installing + "#id2573830">12.5.16. Packages installing extensions to the MIME database</a></span></dt> <dt><span class="sect2"><a href= - "#id2574016">12.5.17. Packages using + "#id2573969">12.5.17. Packages using intltool</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2574029">12.6. + <dt><span class="sect1"><a href="#id2573982">12.6. Feedback to the author</a></span></dt> </dl> </dd> @@ -669,18 +669,18 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2574491">14.1. + <dt><span class="sect1"><a href="#id2574444">14.1. Submitting your packages</a></span></dt> - <dt><span class="sect1"><a href="#id2574538">14.2. + <dt><span class="sect1"><a href="#id2574491">14.2. Committing: Importing a package into CVS</a></span></dt> - <dt><span class="sect1"><a href="#id2574738">14.3. + <dt><span class="sect1"><a href="#id2574691">14.3. Updating a package to a newer version</a></span></dt> - <dt><span class="sect1"><a href="#id2574825">14.4. + <dt><span class="sect1"><a href="#id2574710">14.4. Moving a package in pkgsrc</a></span></dt> </dl> </dd> @@ -692,26 +692,26 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2575051">A.1. + <dt><span class="sect1"><a href="#id2575004">A.1. files</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2575054">A.1.1. + <dt><span class="sect2"><a href="#id2575008">A.1.1. Makefile</a></span></dt> - <dt><span class="sect2"><a href="#id2575062">A.1.2. + <dt><span class="sect2"><a href="#id2575015">A.1.2. DESCR</a></span></dt> - <dt><span class="sect2"><a href="#id2575077">A.1.3. + <dt><span class="sect2"><a href="#id2575030">A.1.3. PLIST</a></span></dt> - <dt><span class="sect2"><a href="#id2575084">A.1.4. + <dt><span class="sect2"><a href="#id2575037">A.1.4. Checking a package with pkglint</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2575193">A.2. Steps + <dt><span class="sect1"><a href="#id2575078">A.2. Steps for building, installing, packaging</a></span></dt> </dl> </dd> @@ -737,10 +737,10 @@ alink="#0000FF"> <dd> <dl> - <dt><span class="sect1"><a href="#id2575976">D.1. + <dt><span class="sect1"><a href="#id2575861">D.1. Targets</a></span></dt> - <dt><span class="sect1"><a href="#id2576025">D.2. + <dt><span class="sect1"><a href="#id2576046">D.2. Procedure</a></span></dt> </dl> </dd> @@ -1251,39 +1251,39 @@ alink="#0000FF"> <dt><span class="sect1"><a href="#id2564331">6.2. Where's the pkgviews documentation?</a></span></dt> - <dt><span class="sect1"><a href="#id2564344">6.3. + <dt><span class="sect1"><a href="#faq-pkgtools">6.3. Utilities for package management (pkgtools)</a></span></dt> - <dt><span class="sect1"><a href="#id2564501">6.4. How + <dt><span class="sect1"><a href="#id2564584">6.4. How to use pkgsrc as non-root</a></span></dt> - <dt><span class="sect1"><a href="#id2564581">6.5. How + <dt><span class="sect1"><a href="#id2564596">6.5. How can I install/use XFree86 from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2564609">6.6. How + <dt><span class="sect1"><a href="#id2564624">6.6. How can I install/use X.org from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2564636">6.7. How + <dt><span class="sect1"><a href="#id2564651">6.7. How to fetch files from behind a firewall</a></span></dt> - <dt><span class="sect1"><a href="#id2564650">6.8. How + <dt><span class="sect1"><a href="#id2564665">6.8. How do I tell make fetch to do passive FTP?</a></span></dt> - <dt><span class="sect1"><a href="#id2564701">6.9. How + <dt><span class="sect1"><a href="#id2564785">6.9. How to fetch all distfiles at once</a></span></dt> - <dt><span class="sect1"><a href="#id2564978">6.10. + <dt><span class="sect1"><a href="#id2564993">6.10. What does Don't know how to make /usr/share/tmac/tmac.andoc mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2565016">6.11. + <dt><span class="sect1"><a href="#id2565031">6.11. What does Could not find bsd.own.mk mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2565074">6.12. + <dt><span class="sect1"><a href="#id2565089">6.12. Using 'sudo' with pkgsrc</a></span></dt> <dt><span class="sect1"><a href="#faq.conf">6.13. @@ -3449,36 +3449,36 @@ fi <dt><span class="sect1"><a href="#id2564331">6.2. Where's the pkgviews documentation?</a></span></dt> - <dt><span class="sect1"><a href="#id2564344">6.3. + <dt><span class="sect1"><a href="#faq-pkgtools">6.3. Utilities for package management (pkgtools)</a></span></dt> - <dt><span class="sect1"><a href="#id2564501">6.4. How + <dt><span class="sect1"><a href="#id2564584">6.4. How to use pkgsrc as non-root</a></span></dt> - <dt><span class="sect1"><a href="#id2564581">6.5. How + <dt><span class="sect1"><a href="#id2564596">6.5. How can I install/use XFree86 from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2564609">6.6. How + <dt><span class="sect1"><a href="#id2564624">6.6. How can I install/use X.org from pkgsrc?</a></span></dt> - <dt><span class="sect1"><a href="#id2564636">6.7. How + <dt><span class="sect1"><a href="#id2564651">6.7. How to fetch files from behind a firewall</a></span></dt> - <dt><span class="sect1"><a href="#id2564650">6.8. How + <dt><span class="sect1"><a href="#id2564665">6.8. How do I tell make fetch to do passive FTP?</a></span></dt> - <dt><span class="sect1"><a href="#id2564701">6.9. How + <dt><span class="sect1"><a href="#id2564785">6.9. How to fetch all distfiles at once</a></span></dt> - <dt><span class="sect1"><a href="#id2564978">6.10. What + <dt><span class="sect1"><a href="#id2564993">6.10. What does Don't know how to make /usr/share/tmac/tmac.andoc mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2565016">6.11. What + <dt><span class="sect1"><a href="#id2565031">6.11. What does Could not find bsd.own.mk mean?</a></span></dt> - <dt><span class="sect1"><a href="#id2565074">6.12. + <dt><span class="sect1"><a href="#id2565089">6.12. Using 'sudo' with pkgsrc</a></span></dt> <dt><span class="sect1"><a href="#faq.conf">6.13. @@ -3541,8 +3541,9 @@ fi <div> <div> <h2 class="title" style="clear: both"><a name= - "id2564344" id="id2564344"></a>6.3. Utilities - for package management (pkgtools)</h2> + "faq-pkgtools" id= + "faq-pkgtools"></a>6.3. Utilities for package + management (pkgtools)</h2> </div> </div> </div> @@ -3628,10 +3629,30 @@ fi <li> <p><a xmlns= "http://www.w3.org/TR/xhtml1/transitional" href= + "ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/pkgtools/dfdisk/README.html" + class="pkgname">pkgtools/dfdisk</a>: adds extra + functionality to pkgsrc, allowing it to fetch + distfiles from multiple locations. It currently + supports the following methods: multiple CD-ROMs + and network FTP/HTTP connections.</p> + </li> + + <li> + <p><a xmlns= + "http://www.w3.org/TR/xhtml1/transitional" href= "ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/pkgtools/xpkgwedge/README.html" class="pkgname">pkgtools/xpkgwedge</a>: put X11 packages someplace else (enabled by default)</p> </li> + + <li> + <p><a xmlns= + "http://www.w3.org/TR/xhtml1/transitional" href= + "ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/devel/cpuflags/README.html" + class="pkgname">devel/cpuflags</a>: will + determine the best compiler flags to optimise + code for your current CPU and compiler.</p> + </li> </ul> </div> @@ -3761,7 +3782,7 @@ fi <div> <div> <h2 class="title" style="clear: both"><a name= - "id2564501" id="id2564501"></a>6.4. How to use + "id2564584" id="id2564584"></a>6.4. How to use pkgsrc as non-root</h2> </div> </div> @@ -3779,7 +3800,7 @@ fi <div> <div> <h2 class="title" style="clear: both"><a name= - "id2564581" id="id2564581"></a>6.5. How can I + "id2564596" id="id2564596"></a>6.5. How can I install/use XFree86 from pkgsrc?</h2> </div> </div> @@ -3801,7 +3822,7 @@ fi <div> <div> <h2 class="title" style="clear: both"><a name= - "id2564609" id="id2564609"></a>6.6. How can I + "id2564624" id="id2564624"></a>6.6. How can I install/use X.org from pkgsrc?</h2> </div> </div> @@ -3823,7 +3844,7 @@ fi <div> <div> <h2 class="title" style="clear: both"><a name= - "id2564636" id="id2564636"></a>6.7. How to + "id2564651" id="id2564651"></a>6.7. How to fetch files from behind a firewall</h2> </div> </div> @@ -3848,7 +3869,7 @@ http_proxy=http://orpheus.amdahl.com:80/ <div> <div> <h2 class="title" style="clear: both"><a name= - "id2564650" id="id2564650"></a>6.8. How do I + "id2564665" id="id2564665"></a>6.8. How do I tell <span><b class="command">make fetch</b></span> to do passive FTP?</h2> </div> @@ -3882,7 +3903,7 @@ ${LOCALBASE}/bin/ftp <div> <div> <h2 class="title" style="clear: both"><a name= - "id2564701" id="id2564701"></a>6.9. How to + "id2564785" id="id2564785"></a>6.9. How to fetch all distfiles at once</h2> </div> </div> @@ -3949,7 +3970,7 @@ ${LOCALBASE}/bin/ftp <div> <div> <h2 class="title" style="clear: both"><a name= - "id2564978" id="id2564978"></a>6.10. What does + "id2564993" id="id2564993"></a>6.10. What does “<span class="quote">Don't know how to make /usr/share/tmac/tmac.andoc</span>” mean?</h2> </div> @@ -3982,7 +4003,7 @@ ${LOCALBASE}/bin/ftp <div> <div> <h2 class="title" style="clear: both"><a name= - "id2565016" id="id2565016"></a>6.11. What does + "id2565031" id="id2565031"></a>6.11. What does “<span class="quote">Could not find bsd.own.mk</span>” mean?</h2> </div> @@ -4010,7 +4031,7 @@ ${LOCALBASE}/bin/ftp <div> <div> <h2 class="title" style="clear: both"><a name= - "id2565074" id="id2565074"></a>6.12. Using + "id2565089" id="id2565089"></a>6.12. Using 'sudo' with pkgsrc</h2> </div> </div> @@ -4286,17 +4307,17 @@ fi <dt><span class="sect1"><a href= "#components.patches">7.3. patches/*</a></span></dt> - <dt><span class="sect1"><a href="#id2566249">7.4. + <dt><span class="sect1"><a href="#id2566134">7.4. Other mandatory files</a></span></dt> <dt><span class="sect1"><a href= "#components.optional">7.5. Optional files</a></span></dt> - <dt><span class="sect1"><a href="#id2566443">7.6. + <dt><span class="sect1"><a href="#id2566396">7.6. work*</a></span></dt> - <dt><span class="sect1"><a href="#id2566531">7.7. + <dt><span class="sect1"><a href="#id2566484">7.7. files/*</a></span></dt> </dl> </dd> @@ -4306,10 +4327,10 @@ fi <dd> <dl> - <dt><span class="sect1"><a href="#id2566585">8.1. RCS + <dt><span class="sect1"><a href="#id2566538">8.1. RCS ID</a></span></dt> - <dt><span class="sect1"><a href="#id2566600">8.2. + <dt><span class="sect1"><a href="#id2566621">8.2. Semi-automatic PLIST generation</a></span></dt> <dt><span class="sect1"><a href="#print-PLIST">8.3. @@ -4318,13 +4339,13 @@ fi <dt><span class="sect1"><a href="#plist.misc">8.4. Variable substitution in PLIST</a></span></dt> - <dt><span class="sect1"><a href="#id2566921">8.5. + <dt><span class="sect1"><a href="#id2566874">8.5. Manpage-compression</a></span></dt> - <dt><span class="sect1"><a href="#id2566963">8.6. + <dt><span class="sect1"><a href="#id2566916">8.6. Changing PLIST source with PLIST_SRC</a></span></dt> - <dt><span class="sect1"><a href="#id2566980">8.7. + <dt><span class="sect1"><a href="#id2566933">8.7. Platform specific and differing PLISTs</a></span></dt> @@ -4339,36 +4360,36 @@ fi <dd> <dl> - <dt><span class="sect1"><a href="#id2567252">9.1. + <dt><span class="sect1"><a href="#id2567137">9.1. Converting packages to use buildlink3</a></span></dt> - <dt><span class="sect1"><a href="#id2567579">9.2. + <dt><span class="sect1"><a href="#id2567532">9.2. Writing buildlink3.mk files</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2567717">9.2.1. Anatomy of a buildlink3.mk + "#id2567670">9.2.1. Anatomy of a buildlink3.mk file</a></span></dt> <dt><span class="sect2"><a href= - "#id2568157">9.2.2. Updating + "#id2568110">9.2.2. Updating BUILDLINK_DEPENDS.pkg in buildlink3.mk files</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2568236">9.3. + <dt><span class="sect1"><a href="#id2568189">9.3. Writing builtin.mk files</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2568386">9.3.1. Anatomy of a builtin.mk + "#id2568270">9.3.1. Anatomy of a builtin.mk file</a></span></dt> <dt><span class="sect2"><a href= - "#id2568613">9.3.2. Global preferences for native + "#id2568566">9.3.2. Global preferences for native or pkgsrc software</a></span></dt> </dl> </dd> @@ -4380,10 +4401,10 @@ fi <dd> <dl> - <dt><span class="sect1"><a href="#id2568685">10.1. + <dt><span class="sect1"><a href="#id2568638">10.1. Global default options</a></span></dt> - <dt><span class="sect1"><a href="#id2568700">10.2. + <dt><span class="sect1"><a href="#id2568653">10.2. Converting packages to use bsd.options.mk</a></span></dt> </dl> @@ -4397,7 +4418,7 @@ fi <dt><span class="sect1"><a href="#build.prefix">11.1. Program location</a></span></dt> - <dt><span class="sect1"><a href="#id2569445">11.2. + <dt><span class="sect1"><a href="#id2569330">11.2. Main targets</a></span></dt> <dt><span class="sect1"><a href= @@ -4411,17 +4432,17 @@ fi <dd> <dl> - <dt><span class="sect1"><a href="#id2570842">12.1. + <dt><span class="sect1"><a href="#id2570795">12.1. General operation</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2570845">12.1.1. How to pull in variables + "#id2570798">12.1.1. How to pull in variables from /etc/mk.conf</a></span></dt> <dt><span class="sect2"><a href= - "#id2570929">12.1.2. Restricted + "#id2570882">12.1.2. Restricted packages</a></span></dt> <dt><span class="sect2"><a href= @@ -4429,15 +4450,15 @@ fi dependencies</a></span></dt> <dt><span class="sect2"><a href= - "#id2571444">12.1.4. Handling conflicts with + "#id2571260">12.1.4. Handling conflicts with other packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2571494">12.1.5. Packages that cannot or + "#id2571447">12.1.5. Packages that cannot or should not be built</a></span></dt> <dt><span class="sect2"><a href= - "#id2571520">12.1.6. Packages which should not be + "#id2571473">12.1.6. Packages which should not be deleted, once installed</a></span></dt> <dt><span class="sect2"><a href= @@ -4445,37 +4466,37 @@ fi with security problems</a></span></dt> <dt><span class="sect2"><a href= - "#id2571611">12.1.8. How to handle compiler + "#id2571564">12.1.8. How to handle compiler bugs</a></span></dt> <dt><span class="sect2"><a href= - "#id2571634">12.1.9. How to handle incrementing + "#id2571587">12.1.9. How to handle incrementing versions when fixing an existing package</a></span></dt> <dt><span class="sect2"><a href= - "#id2571751">12.1.10. Portability of + "#id2571704">12.1.10. Portability of packages</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2571776">12.2. + <dt><span class="sect1"><a href="#id2571729">12.2. Possible downloading issues</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2571779">12.2.1. Packages whose distfiles + "#id2571732">12.2.1. Packages whose distfiles aren't available for plain downloading</a></span></dt> <dt><span class="sect2"><a href= - "#id2571978">12.2.2. How to handle modified + "#id2571795">12.2.2. How to handle modified distfiles with the 'old' name</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2571990">12.3. + <dt><span class="sect1"><a href="#id2571806">12.3. Configuration gotchas</a></span></dt> <dd> @@ -4485,65 +4506,65 @@ fi libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2572397">12.3.2. Using libtool on GNU + "#id2572350">12.3.2. Using libtool on GNU packages that already support libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2572482">12.3.3. GNU + "#id2572435">12.3.3. GNU Autoconf/Automake</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2572526">12.4. + <dt><span class="sect1"><a href="#id2572480">12.4. Building considerations</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2572530">12.4.1. CPP defines</a></span></dt> + "#id2572483">12.4.1. CPP defines</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2572560">12.5. + <dt><span class="sect1"><a href="#id2572513">12.5. Package specific actions</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2572563">12.5.1. Package configuration + "#id2572516">12.5.1. Package configuration files</a></span></dt> <dt><span class="sect2"><a href= - "#id2572733">12.5.2. User + "#id2572618">12.5.2. User interaction</a></span></dt> <dt><span class="sect2"><a href= - "#id2572778">12.5.3. Handling + "#id2572663">12.5.3. Handling licenses</a></span></dt> <dt><span class="sect2"><a href= - "#id2572861">12.5.4. Creating an account from a + "#id2572746">12.5.4. Creating an account from a package</a></span></dt> <dt><span class="sect2"><a href= - "#id2572992">12.5.5. Installing score + "#id2572876">12.5.5. Installing score files</a></span></dt> <dt><span class="sect2"><a href= - "#id2573035">12.5.6. Packages providing login + "#id2573057">12.5.6. Packages providing login shells</a></span></dt> <dt><span class="sect2"><a href= - "#id2573161">12.5.7. Packages containing perl + "#id2573182">12.5.7. Packages containing perl scripts</a></span></dt> <dt><span class="sect2"><a href= - "#id2573248">12.5.8. Packages with hardcoded + "#id2573201">12.5.8. Packages with hardcoded paths to other interpreters</a></span></dt> <dt><span class="sect2"><a href= - "#id2573269">12.5.9. Packages installing perl + "#id2573222">12.5.9. Packages installing perl modules</a></span></dt> <dt><span class="sect2"><a href= @@ -4551,36 +4572,36 @@ fi info files</a></span></dt> <dt><span class="sect2"><a href= - "#id2573557">12.5.11. Packages installing GConf2 + "#id2573442">12.5.11. Packages installing GConf2 data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2573657">12.5.12. Packages installing + "#id2573610">12.5.12. Packages installing scrollkeeper data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2573708">12.5.13. Packages installing X11 + "#id2573661">12.5.13. Packages installing X11 fonts</a></span></dt> <dt><span class="sect2"><a href= - "#id2573824">12.5.14. Packages installing GTK2 + "#id2573708">12.5.14. Packages installing GTK2 modules</a></span></dt> <dt><span class="sect2"><a href= - "#id2573893">12.5.15. Packages installing SGML or + "#id2573778">12.5.15. Packages installing SGML or XML data</a></span></dt> <dt><span class="sect2"><a href= - "#id2573945">12.5.16. Packages installing + "#id2573830">12.5.16. Packages installing extensions to the MIME database</a></span></dt> <dt><span class="sect2"><a href= - "#id2574016">12.5.17. Packages using + "#id2573969">12.5.17. Packages using intltool</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2574029">12.6. + <dt><span class="sect1"><a href="#id2573982">12.6. Feedback to the author</a></span></dt> </dl> </dd> @@ -4593,17 +4614,17 @@ fi <dd> <dl> - <dt><span class="sect1"><a href="#id2574491">14.1. + <dt><span class="sect1"><a href="#id2574444">14.1. Submitting your packages</a></span></dt> - <dt><span class="sect1"><a href="#id2574538">14.2. + <dt><span class="sect1"><a href="#id2574491">14.2. Committing: Importing a package into CVS</a></span></dt> - <dt><span class="sect1"><a href="#id2574738">14.3. + <dt><span class="sect1"><a href="#id2574691">14.3. Updating a package to a newer version</a></span></dt> - <dt><span class="sect1"><a href="#id2574825">14.4. + <dt><span class="sect1"><a href="#id2574710">14.4. Moving a package in pkgsrc</a></span></dt> </dl> </dd> @@ -4634,17 +4655,17 @@ fi <dt><span class="sect1"><a href= "#components.patches">7.3. patches/*</a></span></dt> - <dt><span class="sect1"><a href="#id2566249">7.4. Other + <dt><span class="sect1"><a href="#id2566134">7.4. Other mandatory files</a></span></dt> <dt><span class="sect1"><a href= "#components.optional">7.5. Optional files</a></span></dt> - <dt><span class="sect1"><a href="#id2566443">7.6. + <dt><span class="sect1"><a href="#id2566396">7.6. work*</a></span></dt> - <dt><span class="sect1"><a href="#id2566531">7.7. + <dt><span class="sect1"><a href="#id2566484">7.7. files/*</a></span></dt> </dl> </div> @@ -4902,47 +4923,6 @@ converters games mbone print x11 <tt class="filename">patch-aa</tt> is applied before <tt class="filename">patch-ab</tt>, etc.</p> - <p>Patch files which are optional and will depend on - local site configuration can be included with names - matching the pattern <tt class= - "filename">patches/patch-optional-*</tt>. Their suffixes - should match the configuration options. The selected - optional patch file names should be assigned to the - variable <tt class="varname">OPTIONAL_PATCHFILES</tt>. - They will not be applied by default.</p> - - <p>For example if a package data file needs patching to - indicate the default local printer paper size as - specified in the <tt class="varname">$PAPERSIZE</tt> file - you can include patches for all the possible paper sizes - other than the one the package comes configured for by - default. In this case you might have a patch called - "<tt class= - "filename">patch-optional-Letter-papersize</tt>" and/or - another patch called "<tt class= - "filename">patch-optional-A4-papersize</tt>". In your - <tt class="filename">Makefile</tt> you would select - between them with the following construct:</p> - <pre class="programlisting"> - - PATCHDIR= ${.CURDIR}/patches - .if exists(${PATCHDIR}/patch-optional-${PAPERSIZE}-papersize) - OPTIONAL_PATCHFILES+= ${PATCHDIR}/patch-optional-${PAPERSIZE}-papersize - .endif -</pre> - - <p>Note that you have to define the value of <tt class= - "varname">PATCHDIR</tt> in order to use it in a - “<span class="quote"><span><b class= - "command">.if</b></span></span>” statement like - this as otherwise it's not defined until too late during - the processing of the Makefile. You should use a - “<span class="quote"><span><b class= - "command">.if</b></span></span>” statement in order - to avoid problems should the configuration item - (<tt class="varname">$PAPERSIZE</tt> in this example) be - set to an unexpected value.</p> - <p>The <tt class="filename">patch-*</tt> files should be in <span><b class="command">diff -bu</b></span> format, and apply without a fuzz to avoid problems. (To force @@ -4983,7 +4963,7 @@ converters games mbone print x11 the checksums for the patch files by using the <span><b class="command">make makepatchsum</b></span> command, see <a href="#components.distinfo" title= - "7.2. distinfo">Section 7.2, + "7.2. distinfo">Section 7.2, “distinfo”</a>.</p> <p>Patch files that are distributed by the author or @@ -5012,7 +4992,7 @@ converters games mbone print x11 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2566249" id="id2566249"></a>7.4. Other + "id2566134" id="id2566134"></a>7.4. Other mandatory files</h2> </div> </div> @@ -5136,7 +5116,7 @@ MESSAGE_SUBST+= SOMEVAR="somevalue" <div> <div> <h2 class="title" style="clear: both"><a name= - "id2566443" id="id2566443"></a>7.6. <tt class= + "id2566396" id="id2566396"></a>7.6. <tt class= "filename">work*</tt></h2> </div> </div> @@ -5194,7 +5174,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <div> <div> <h2 class="title" style="clear: both"><a name= - "id2566531" id="id2566531"></a>7.7. <tt class= + "id2566484" id="id2566484"></a>7.7. <tt class= "filename">files/*</tt></h2> </div> </div> @@ -5226,10 +5206,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2566585">8.1. RCS + <dt><span class="sect1"><a href="#id2566538">8.1. RCS ID</a></span></dt> - <dt><span class="sect1"><a href="#id2566600">8.2. + <dt><span class="sect1"><a href="#id2566621">8.2. Semi-automatic PLIST generation</a></span></dt> <dt><span class="sect1"><a href="#print-PLIST">8.3. @@ -5238,13 +5218,13 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <dt><span class="sect1"><a href="#plist.misc">8.4. Variable substitution in PLIST</a></span></dt> - <dt><span class="sect1"><a href="#id2566921">8.5. + <dt><span class="sect1"><a href="#id2566874">8.5. Manpage-compression</a></span></dt> - <dt><span class="sect1"><a href="#id2566963">8.6. + <dt><span class="sect1"><a href="#id2566916">8.6. Changing PLIST source with PLIST_SRC</a></span></dt> - <dt><span class="sect1"><a href="#id2566980">8.7. + <dt><span class="sect1"><a href="#id2566933">8.7. Platform specific and differing PLISTs</a></span></dt> <dt><span class="sect1"><a href="#faq.common-dirs">8.8. @@ -5270,7 +5250,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <div> <div> <h2 class="title" style="clear: both"><a name= - "id2566585" id="id2566585"></a>8.1. RCS + "id2566538" id="id2566538"></a>8.1. RCS ID</h2> </div> </div> @@ -5288,8 +5268,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix <div> <div> <h2 class="title" style="clear: both"><a name= - "id2566600" id= - "id2566600"></a>8.2. Semi-automatic <tt class= + "id2566621" id= + "id2566621"></a>8.2. Semi-automatic <tt class= "filename">PLIST</tt> generation</h2> </div> </div> @@ -5482,8 +5462,8 @@ PLIST_SUBST+= SOMEVAR="somevalue" <div> <div> <h2 class="title" style="clear: both"><a name= - "id2566921" id= - "id2566921"></a>8.5. Manpage-compression</h2> + "id2566874" id= + "id2566874"></a>8.5. Manpage-compression</h2> </div> </div> </div> @@ -5507,7 +5487,7 @@ PLIST_SUBST+= SOMEVAR="somevalue" <div> <div> <h2 class="title" style="clear: both"><a name= - "id2566963" id="id2566963"></a>8.6. Changing + "id2566916" id="id2566916"></a>8.6. Changing PLIST source with <tt class= "varname">PLIST_SRC</tt></h2> </div> @@ -5527,7 +5507,7 @@ PLIST_SUBST+= SOMEVAR="somevalue" <div> <div> <h2 class="title" style="clear: both"><a name= - "id2566980" id="id2566980"></a>8.7. Platform + "id2566933" id="id2566933"></a>8.7. Platform specific and differing PLISTs</h2> </div> </div> @@ -5667,32 +5647,32 @@ PLIST_SUBST+= SOMEVAR="somevalue" <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2567252">9.1. + <dt><span class="sect1"><a href="#id2567137">9.1. Converting packages to use buildlink3</a></span></dt> - <dt><span class="sect1"><a href="#id2567579">9.2. + <dt><span class="sect1"><a href="#id2567532">9.2. Writing buildlink3.mk files</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2567717">9.2.1. + <dt><span class="sect2"><a href="#id2567670">9.2.1. Anatomy of a buildlink3.mk file</a></span></dt> - <dt><span class="sect2"><a href="#id2568157">9.2.2. + <dt><span class="sect2"><a href="#id2568110">9.2.2. Updating BUILDLINK_DEPENDS.pkg in buildlink3.mk files</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2568236">9.3. + <dt><span class="sect1"><a href="#id2568189">9.3. Writing builtin.mk files</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2568386">9.3.1. + <dt><span class="sect2"><a href="#id2568270">9.3.1. Anatomy of a builtin.mk file</a></span></dt> - <dt><span class="sect2"><a href="#id2568613">9.3.2. + <dt><span class="sect2"><a href="#id2568566">9.3.2. Global preferences for native or pkgsrc software</a></span></dt> </dl> @@ -5742,7 +5722,7 @@ PLIST_SUBST+= SOMEVAR="somevalue" <div> <div> <h2 class="title" style="clear: both"><a name= - "id2567252" id="id2567252"></a>9.1. Converting + "id2567137" id="id2567137"></a>9.1. Converting packages to use buildlink3</h2> </div> </div> @@ -5889,7 +5869,7 @@ DEPENDS+= foo>=1.1.0:../../category/foo <div> <div> <h2 class="title" style="clear: both"><a name= - "id2567579" id="id2567579"></a>9.2. Writing + "id2567532" id="id2567532"></a>9.2. Writing <tt class="filename">buildlink3.mk</tt> files</h2> </div> </div> @@ -5927,8 +5907,8 @@ DEPENDS+= foo>=1.1.0:../../category/foo <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2567717" id= - "id2567717"></a>9.2.1. Anatomy of a buildlink3.mk + <h3 class="title"><a name="id2567670" id= + "id2567670"></a>9.2.1. Anatomy of a buildlink3.mk file</h3> </div> </div> @@ -6147,8 +6127,8 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2568157" id= - "id2568157"></a>9.2.2. Updating <tt class= + <h3 class="title"><a name="id2568110" id= + "id2568110"></a>9.2.2. Updating <tt class= "varname">BUILDLINK_DEPENDS.<i class= "replaceable"><tt>pkg</tt></i></tt> in <tt class= "filename">buildlink3.mk</tt> files</h3> @@ -6214,7 +6194,7 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} <div> <div> <h2 class="title" style="clear: both"><a name= - "id2568236" id="id2568236"></a>9.3. Writing + "id2568189" id="id2568189"></a>9.3. Writing <tt class="filename">builtin.mk</tt> files</h2> </div> </div> @@ -6266,8 +6246,8 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2568386" id= - "id2568386"></a>9.3.1. Anatomy of a + <h3 class="title"><a name="id2568270" id= + "id2568270"></a>9.3.1. Anatomy of a <tt class="filename">builtin.mk</tt> file</h3> </div> </div> @@ -6389,8 +6369,8 @@ CHECK_BUILTIN.foo?= no <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2568613" id= - "id2568613"></a>9.3.2. Global preferences + <h3 class="title"><a name="id2568566" id= + "id2568566"></a>9.3.2. Global preferences for native or pkgsrc software</h3> </div> </div> @@ -6448,10 +6428,10 @@ CHECK_BUILTIN.foo?= no <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2568685">10.1. + <dt><span class="sect1"><a href="#id2568638">10.1. Global default options</a></span></dt> - <dt><span class="sect1"><a href="#id2568700">10.2. + <dt><span class="sect1"><a href="#id2568653">10.2. Converting packages to use bsd.options.mk</a></span></dt> </dl> @@ -6471,7 +6451,7 @@ CHECK_BUILTIN.foo?= no <div> <div> <h2 class="title" style="clear: both"><a name= - "id2568685" id="id2568685"></a>10.1. Global + "id2568638" id="id2568638"></a>10.1. Global default options</h2> </div> </div> @@ -6489,8 +6469,8 @@ CHECK_BUILTIN.foo?= no <div> <div> <h2 class="title" style="clear: both"><a name= - "id2568700" id= - "id2568700"></a>10.2. Converting packages to + "id2568653" id= + "id2568653"></a>10.2. Converting packages to use <tt class="filename">bsd.options.mk</tt></h2> </div> </div> @@ -6651,7 +6631,7 @@ CONFIGURE_ARGS+= --enable-sasl=${BUILDLINK_PREFIX.sasl} <dt><span class="sect1"><a href="#build.prefix">11.1. Program location</a></span></dt> - <dt><span class="sect1"><a href="#id2569445">11.2. Main + <dt><span class="sect1"><a href="#id2569330">11.2. Main targets</a></span></dt> <dt><span class="sect1"><a href= @@ -6845,7 +6825,7 @@ GTKDIR_DEFAULT= ${LOCALBASE} <div> <div> <h2 class="title" style="clear: both"><a name= - "id2569445" id="id2569445"></a>11.2. Main + "id2569330" id="id2569330"></a>11.2. Main targets</h2> </div> </div> @@ -7594,17 +7574,17 @@ make build <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2570842">12.1. + <dt><span class="sect1"><a href="#id2570795">12.1. General operation</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2570845">12.1.1. How to pull in variables from + "#id2570798">12.1.1. How to pull in variables from /etc/mk.conf</a></span></dt> <dt><span class="sect2"><a href= - "#id2570929">12.1.2. Restricted + "#id2570882">12.1.2. Restricted packages</a></span></dt> <dt><span class="sect2"><a href= @@ -7612,15 +7592,15 @@ make build dependencies</a></span></dt> <dt><span class="sect2"><a href= - "#id2571444">12.1.4. Handling conflicts with other + "#id2571260">12.1.4. Handling conflicts with other packages</a></span></dt> <dt><span class="sect2"><a href= - "#id2571494">12.1.5. Packages that cannot or should + "#id2571447">12.1.5. Packages that cannot or should not be built</a></span></dt> <dt><span class="sect2"><a href= - "#id2571520">12.1.6. Packages which should not be + "#id2571473">12.1.6. Packages which should not be deleted, once installed</a></span></dt> <dt><span class="sect2"><a href= @@ -7628,37 +7608,37 @@ make build security problems</a></span></dt> <dt><span class="sect2"><a href= - "#id2571611">12.1.8. How to handle compiler + "#id2571564">12.1.8. How to handle compiler bugs</a></span></dt> <dt><span class="sect2"><a href= - "#id2571634">12.1.9. How to handle incrementing + "#id2571587">12.1.9. How to handle incrementing versions when fixing an existing package</a></span></dt> <dt><span class="sect2"><a href= - "#id2571751">12.1.10. Portability of + "#id2571704">12.1.10. Portability of packages</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2571776">12.2. + <dt><span class="sect1"><a href="#id2571729">12.2. Possible downloading issues</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2571779">12.2.1. Packages whose distfiles + "#id2571732">12.2.1. Packages whose distfiles aren't available for plain downloading</a></span></dt> <dt><span class="sect2"><a href= - "#id2571978">12.2.2. How to handle modified + "#id2571795">12.2.2. How to handle modified distfiles with the 'old' name</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2571990">12.3. + <dt><span class="sect1"><a href="#id2571806">12.3. Configuration gotchas</a></span></dt> <dd> @@ -7668,64 +7648,64 @@ make build libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2572397">12.3.2. Using libtool on GNU packages + "#id2572350">12.3.2. Using libtool on GNU packages that already support libtool</a></span></dt> <dt><span class="sect2"><a href= - "#id2572482">12.3.3. GNU + "#id2572435">12.3.3. GNU Autoconf/Automake</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2572526">12.4. + <dt><span class="sect1"><a href="#id2572480">12.4. Building considerations</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2572530">12.4.1. CPP defines</a></span></dt> + "#id2572483">12.4.1. CPP defines</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2572560">12.5. + <dt><span class="sect1"><a href="#id2572513">12.5. Package specific actions</a></span></dt> <dd> <dl> <dt><span class="sect2"><a href= - "#id2572563">12.5.1. Package configuration + "#id2572516">12.5.1. Package configuration files</a></span></dt> <dt><span class="sect2"><a href= - "#id2572733">12.5.2. User + "#id2572618">12.5.2. User interaction</a></span></dt> <dt><span class="sect2"><a href= - "#id2572778">12.5.3. Handling + "#id2572663">12.5.3. Handling licenses</a></span></dt> <dt><span class="sect2"><a href= - "#id2572861">12.5.4. Creating an account from a + "#id2572746">12.5.4. Creating an account from a package</a></span></dt> <dt><span class="sect2"><a href= - "#id2572992">12.5.5. Installing score + "#id2572876">12.5.5. Installing score files</a></span></dt> <dt><span class="sect2"><a href= - "#id2573035">12.5.6. Packages providing login + "#id2573057">12.5.6. Packages providing login shells</a></span></dt> <dt><span class="sect2"><a href= - "#id2573161">12.5.7. Packages containing perl + "#id2573182">12.5.7. Packages containing perl scripts</a></span></dt> <dt><span class="sect2"><a href= - "#id2573248">12.5.8. Packages with hardcoded paths + "#id2573201">12.5.8. Packages with hardcoded paths to other interpreters</a></span></dt> <dt><span class="sect2"><a href= - "#id2573269">12.5.9. Packages installing perl + "#id2573222">12.5.9. Packages installing perl modules</a></span></dt> <dt><span class="sect2"><a href= @@ -7733,36 +7713,36 @@ make build files</a></span></dt> <dt><span class="sect2"><a href= - "#id2573557">12.5.11. Packages installing GConf2 + "#id2573442">12.5.11. Packages installing GConf2 data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2573657">12.5.12. Packages installing + "#id2573610">12.5.12. Packages installing scrollkeeper data files</a></span></dt> <dt><span class="sect2"><a href= - "#id2573708">12.5.13. Packages installing X11 + "#id2573661">12.5.13. Packages installing X11 fonts</a></span></dt> <dt><span class="sect2"><a href= - "#id2573824">12.5.14. Packages installing GTK2 + "#id2573708">12.5.14. Packages installing GTK2 modules</a></span></dt> <dt><span class="sect2"><a href= - "#id2573893">12.5.15. Packages installing SGML or + "#id2573778">12.5.15. Packages installing SGML or XML data</a></span></dt> <dt><span class="sect2"><a href= - "#id2573945">12.5.16. Packages installing + "#id2573830">12.5.16. Packages installing extensions to the MIME database</a></span></dt> <dt><span class="sect2"><a href= - "#id2574016">12.5.17. Packages using + "#id2573969">12.5.17. Packages using intltool</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2574029">12.6. + <dt><span class="sect1"><a href="#id2573982">12.6. Feedback to the author</a></span></dt> </dl> </div> @@ -7772,7 +7752,7 @@ make build <div> <div> <h2 class="title" style="clear: both"><a name= - "id2570842" id="id2570842"></a>12.1. General + "id2570795" id="id2570795"></a>12.1. General operation</h2> </div> </div> @@ -7782,8 +7762,8 @@ make build <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2570845" id= - "id2570845"></a>12.1.1. How to pull in + <h3 class="title"><a name="id2570798" id= + "id2570798"></a>12.1.1. How to pull in variables from /etc/mk.conf</h3> </div> </div> @@ -7841,8 +7821,8 @@ CFLAGS+= -your -flags <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2570929" id= - "id2570929"></a>12.1.2. Restricted + <h3 class="title"><a name="id2570882" id= + "id2570882"></a>12.1.2. Restricted packages</h3> </div> </div> @@ -8144,8 +8124,8 @@ pre-clean: <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2571444" id= - "id2571444"></a>12.1.4. Handling conflicts + <h3 class="title"><a name="id2571260" id= + "id2571260"></a>12.1.4. Handling conflicts with other packages</h3> </div> </div> @@ -8192,8 +8172,8 @@ CONFLICTS= Xaw3d-[0-9]* <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2571494" id= - "id2571494"></a>12.1.5. Packages that cannot + <h3 class="title"><a name="id2571447" id= + "id2571447"></a>12.1.5. Packages that cannot or should not be built</h3> </div> </div> @@ -8223,8 +8203,8 @@ CONFLICTS= Xaw3d-[0-9]* <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2571520" id= - "id2571520"></a>12.1.6. Packages which + <h3 class="title"><a name="id2571473" id= + "id2571473"></a>12.1.6. Packages which should not be deleted, once installed</h3> </div> </div> @@ -8286,8 +8266,8 @@ CONFLICTS= Xaw3d-[0-9]* <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2571611" id= - "id2571611"></a>12.1.8. How to handle + <h3 class="title"><a name="id2571564" id= + "id2571564"></a>12.1.8. How to handle compiler bugs</h3> </div> </div> @@ -8312,8 +8292,8 @@ CONFLICTS= Xaw3d-[0-9]* <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2571634" id= - "id2571634"></a>12.1.9. How to handle + <h3 class="title"><a name="id2571587" id= + "id2571587"></a>12.1.9. How to handle incrementing versions when fixing an existing package</h3> </div> @@ -8353,8 +8333,8 @@ DISTNAME= foo-17.43 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2571751" id= - "id2571751"></a>12.1.10. Portability of + <h3 class="title"><a name="id2571704" id= + "id2571704"></a>12.1.10. Portability of packages</h3> </div> </div> @@ -8370,8 +8350,8 @@ DISTNAME= foo-17.43 <div class="titlepage"> <div> <div> - <h4 class="title"><a name="id2571756" id= - "id2571756"></a>12.1.10.1. ${INSTALL}, + <h4 class="title"><a name="id2571709" id= + "id2571709"></a>12.1.10.1. ${INSTALL}, ${INSTALL_DATA_DIR}, ...</h4> </div> </div> @@ -8396,7 +8376,7 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2571776" id="id2571776"></a>12.2. Possible + "id2571729" id="id2571729"></a>12.2. Possible downloading issues</h2> </div> </div> @@ -8406,8 +8386,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2571779" id= - "id2571779"></a>12.2.1. Packages whose + <h3 class="title"><a name="id2571732" id= + "id2571732"></a>12.2.1. Packages whose distfiles aren't available for plain downloading</h3> </div> @@ -8469,8 +8449,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2 <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2571978" id= - "id2571978"></a>12.2.2. How to handle + <h3 class="title"><a name="id2571795" id= + "id2571795"></a>12.2.2. How to handle modified distfiles with the 'old' name</h3> </div> </div> @@ -8499,8 +8479,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2 <div> <div> <h2 class="title" style="clear: both"><a name= - "id2571990" id= - "id2571990"></a>12.3. Configuration + "id2571806" id= + "id2571806"></a>12.3. Configuration gotchas</h2> </div> </div> @@ -8722,8 +8702,8 @@ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${SOMELIB:.a=.la} ${PREFIX}/lib <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2572397" id= - "id2572397"></a>12.3.2. Using libtool on GNU + <h3 class="title"><a name="id2572350" id= + "id2572350"></a>12.3.2. Using libtool on GNU packages that already support libtool</h3> </div> </div> @@ -8800,8 +8780,8 @@ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${SOMELIB:.a=.la} ${PREFIX}/lib <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2572482" id= - "id2572482"></a>12.3.3. GNU + <h3 class="title"><a name="id2572435" id= + "id2572435"></a>12.3.3. GNU Autoconf/Automake</h3> </div> </div> @@ -8867,7 +8847,7 @@ pre-configure: <div> <div> <h2 class="title" style="clear: both"><a name= - "id2572526" id="id2572526"></a>12.4. Building + "id2572480" id="id2572480"></a>12.4. Building considerations</h2> </div> </div> @@ -8877,8 +8857,8 @@ pre-configure: <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2572530" id= - "id2572530"></a>12.4.1. CPP defines</h3> + <h3 class="title"><a name="id2572483" id= + "id2572483"></a>12.4.1. CPP defines</h3> </div> </div> </div> @@ -8917,7 +8897,7 @@ pre-configure: <div> <div> <h2 class="title" style="clear: both"><a name= - "id2572560" id="id2572560"></a>12.5. Package + "id2572513" id="id2572513"></a>12.5. Package specific actions</h2> </div> </div> @@ -8927,8 +8907,8 @@ pre-configure: <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2572563" id= - "id2572563"></a>12.5.1. Package + <h3 class="title"><a name="id2572516" id= + "id2572516"></a>12.5.1. Package configuration files</h3> </div> </div> @@ -8997,8 +8977,8 @@ pre-configure: <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2572733" id= - "id2572733"></a>12.5.2. User + <h3 class="title"><a name="id2572618" id= + "id2572618"></a>12.5.2. User interaction</h3> </div> </div> @@ -9047,8 +9027,8 @@ INTERACTIVE_STAGE= configure install <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2572778" id= - "id2572778"></a>12.5.3. Handling + <h3 class="title"><a name="id2572663" id= + "id2572663"></a>12.5.3. Handling licenses</h3> </div> </div> @@ -9121,8 +9101,8 @@ ACCEPTABLE_LICENSES+=graphviz-license <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2572861" id= - "id2572861"></a>12.5.4. Creating an account + <h3 class="title"><a name="id2572746" id= + "id2572746"></a>12.5.4. Creating an account from a package</h3> </div> </div> @@ -9175,8 +9155,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2572992" id= - "id2572992"></a>12.5.5. Installing score + <h3 class="title"><a name="id2572876" id= + "id2572876"></a>12.5.5. Installing score files</h3> </div> </div> @@ -9213,8 +9193,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2573035" id= - "id2573035"></a>12.5.6. Packages providing + <h3 class="title"><a name="id2573057" id= + "id2573057"></a>12.5.6. Packages providing login shells</h3> </div> </div> @@ -9248,8 +9228,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2573161" id= - "id2573161"></a>12.5.7. Packages containing + <h3 class="title"><a name="id2573182" id= + "id2573182"></a>12.5.7. Packages containing perl scripts</h3> </div> </div> @@ -9267,8 +9247,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2573248" id= - "id2573248"></a>12.5.8. Packages with + <h3 class="title"><a name="id2573201" id= + "id2573201"></a>12.5.8. Packages with hardcoded paths to other interpreters</h3> </div> </div> @@ -9294,8 +9274,8 @@ user:group[:[userid][:[description][:[home][:shell]]]] <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2573269" id= - "id2573269"></a>12.5.9. Packages installing + <h3 class="title"><a name="id2573222" id= + "id2573222"></a>12.5.9. Packages installing perl modules</h3> </div> </div> @@ -9431,8 +9411,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2573557" id= - "id2573557"></a>12.5.11. Packages installing + <h3 class="title"><a name="id2573442" id= + "id2573442"></a>12.5.11. Packages installing GConf2 data files</h3> </div> </div> @@ -9504,8 +9484,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2573657" id= - "id2573657"></a>12.5.12. Packages installing + <h3 class="title"><a name="id2573610" id= + "id2573610"></a>12.5.12. Packages installing scrollkeeper data files</h3> </div> </div> @@ -9549,8 +9529,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2573708" id= - "id2573708"></a>12.5.13. Packages installing + <h3 class="title"><a name="id2573661" id= + "id2573661"></a>12.5.13. Packages installing X11 fonts</h3> </div> </div> @@ -9585,8 +9565,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2573824" id= - "id2573824"></a>12.5.14. Packages installing + <h3 class="title"><a name="id2573708" id= + "id2573708"></a>12.5.14. Packages installing GTK2 modules</h3> </div> </div> @@ -9650,8 +9630,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2573893" id= - "id2573893"></a>12.5.15. Packages installing + <h3 class="title"><a name="id2573778" id= + "id2573778"></a>12.5.15. Packages installing SGML or XML data</h3> </div> </div> @@ -9712,8 +9692,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2573945" id= - "id2573945"></a>12.5.16. Packages installing + <h3 class="title"><a name="id2573830" id= + "id2573830"></a>12.5.16. Packages installing extensions to the MIME database</h3> </div> </div> @@ -9769,8 +9749,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2574016" id= - "id2574016"></a>12.5.17. Packages using + <h3 class="title"><a name="id2573969" id= + "id2573969"></a>12.5.17. Packages using intltool</h3> </div> </div> @@ -9795,7 +9775,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2574029" id="id2574029"></a>12.6. Feedback + "id2573982" id="id2573982"></a>12.6. Feedback to the author</h2> </div> </div> @@ -10024,17 +10004,17 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2574491">14.1. + <dt><span class="sect1"><a href="#id2574444">14.1. Submitting your packages</a></span></dt> - <dt><span class="sect1"><a href="#id2574538">14.2. + <dt><span class="sect1"><a href="#id2574491">14.2. Committing: Importing a package into CVS</a></span></dt> - <dt><span class="sect1"><a href="#id2574738">14.3. + <dt><span class="sect1"><a href="#id2574691">14.3. Updating a package to a newer version</a></span></dt> - <dt><span class="sect1"><a href="#id2574825">14.4. + <dt><span class="sect1"><a href="#id2574710">14.4. Moving a package in pkgsrc</a></span></dt> </dl> </div> @@ -10044,8 +10024,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2574491" id= - "id2574491"></a>14.1. Submitting your + "id2574444" id= + "id2574444"></a>14.1. Submitting your packages</h2> </div> </div> @@ -10106,8 +10086,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2574538" id= - "id2574538"></a>14.2. Committing: Importing a + "id2574491" id= + "id2574491"></a>14.2. Committing: Importing a package into CVS</h2> </div> </div> @@ -10162,7 +10142,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2574738" id="id2574738"></a>14.3. Updating + "id2574691" id="id2574691"></a>14.3. Updating a package to a newer version</h2> </div> </div> @@ -10213,7 +10193,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2574825" id="id2574825"></a>14.4. Moving a + "id2574710" id="id2574710"></a>14.4. Moving a package in pkgsrc</h2> </div> </div> @@ -10312,26 +10292,26 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2575051">A.1. + <dt><span class="sect1"><a href="#id2575004">A.1. files</a></span></dt> <dd> <dl> - <dt><span class="sect2"><a href="#id2575054">A.1.1. + <dt><span class="sect2"><a href="#id2575008">A.1.1. Makefile</a></span></dt> - <dt><span class="sect2"><a href="#id2575062">A.1.2. + <dt><span class="sect2"><a href="#id2575015">A.1.2. DESCR</a></span></dt> - <dt><span class="sect2"><a href="#id2575077">A.1.3. + <dt><span class="sect2"><a href="#id2575030">A.1.3. PLIST</a></span></dt> - <dt><span class="sect2"><a href="#id2575084">A.1.4. + <dt><span class="sect2"><a href="#id2575037">A.1.4. Checking a package with pkglint</a></span></dt> </dl> </dd> - <dt><span class="sect1"><a href="#id2575193">A.2. Steps + <dt><span class="sect1"><a href="#id2575078">A.2. Steps for building, installing, packaging</a></span></dt> </dl> </div> @@ -10348,7 +10328,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div> <div> <h2 class="title" style="clear: both"><a name= - "id2575051" id="id2575051"></a>A.1. files</h2> + "id2575004" id="id2575004"></a>A.1. files</h2> </div> </div> </div> @@ -10357,8 +10337,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2575054" id= - "id2575054"></a>A.1.1. Makefile</h3> + <h3 class="title"><a name="id2575008" id= + "id2575008"></a>A.1.1. Makefile</h3> </div> </div> </div> @@ -10385,8 +10365,8 @@ INFO_FILES= bison.info <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2575062" id= - "id2575062"></a>A.1.2. DESCR</h3> + <h3 class="title"><a name="id2575015" id= + "id2575015"></a>A.1.2. DESCR</h3> </div> </div> </div> @@ -10402,8 +10382,8 @@ of the NetBSD source tree is beyond me. <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2575077" id= - "id2575077"></a>A.1.3. PLIST</h3> + <h3 class="title"><a name="id2575030" id= + "id2575030"></a>A.1.3. PLIST</h3> </div> </div> </div> @@ -10426,8 +10406,8 @@ share/bison.hairy <div class="titlepage"> <div> <div> - <h3 class="title"><a name="id2575084" id= - "id2575084"></a>A.1.4. Checking a package with + <h3 class="title"><a name="id2575037" id= + "id2575037"></a>A.1.4. Checking a package with <span><b class="command">pkglint</b></span></h3> </div> </div> @@ -10462,7 +10442,7 @@ looks fine. <div> <div> <h2 class="title" style="clear: both"><a name= - "id2575193" id="id2575193"></a>A.2. Steps for + "id2575078" id="id2575078"></a>A.2. Steps for building, installing, packaging</h2> </div> </div> @@ -10878,10 +10858,10 @@ Registering depends:. <p><b>Table of Contents</b></p> <dl> - <dt><span class="sect1"><a href="#id2575976">D.1. + <dt><span class="sect1"><a href="#id2575861">D.1. Targets</a></span></dt> - <dt><span class="sect1"><a href="#id2576025">D.2. + <dt><span class="sect1"><a href="#id2576046">D.2. Procedure</a></span></dt> </dl> </div> @@ -10894,7 +10874,7 @@ Registering depends:. <div> <div> <h2 class="title" style="clear: both"><a name= - "id2575976" id="id2575976"></a>D.1. Targets</h2> + "id2575861" id="id2575861"></a>D.1. Targets</h2> </div> </div> </div> @@ -10934,8 +10914,8 @@ Registering depends:. <div> <div> <h2 class="title" style="clear: both"><a name= - "id2576025" id= - "id2576025"></a>D.2. Procedure</h2> + "id2576046" id= + "id2576046"></a>D.2. Procedure</h2> </div> </div> </div> diff --git a/doc/pkgsrc.txt b/doc/pkgsrc.txt index 0c4d1813fae..499cb273323 100644 --- a/doc/pkgsrc.txt +++ b/doc/pkgsrc.txt @@ -1410,8 +1410,15 @@ Utilities used by pkgsrc (not automatically installed): * pkgtools/pkg_tarup: create a binary package from an already-installed package. used by 'make replace' to save the old package + * pkgtools/dfdisk: adds extra functionality to pkgsrc, allowing it to fetch + distfiles from multiple locations. It currently supports the following + methods: multiple CD-ROMs and network FTP/HTTP connections. + * pkgtools/xpkgwedge: put X11 packages someplace else (enabled by default) + * devel/cpuflags: will determine the best compiler flags to optimise code for + your current CPU and compiler. + Utilities for keeping track of installed packages, being up to date, etc: * pkgtools/pkg_chk: installs pkg_chk, which reports on packages whose @@ -1930,32 +1937,6 @@ compile and run perfectly on NetBSD. The files are applied successively in alphabetic order (as returned by a shell "patches/patch-*" glob expansion), so patch-aa is applied before patch-ab, etc. -Patch files which are optional and will depend on local site configuration can -be included with names matching the pattern patches/patch-optional-*. Their -suffixes should match the configuration options. The selected optional patch -file names should be assigned to the variable OPTIONAL_PATCHFILES. They will -not be applied by default. - -For example if a package data file needs patching to indicate the default local -printer paper size as specified in the $PAPERSIZE file you can include patches -for all the possible paper sizes other than the one the package comes -configured for by default. In this case you might have a patch called -"patch-optional-Letter-papersize" and/or another patch called -"patch-optional-A4-papersize". In your Makefile you would select between them -with the following construct: - - - PATCHDIR= ${.CURDIR}/patches - .if exists(${PATCHDIR}/patch-optional-${PAPERSIZE}-papersize) - OPTIONAL_PATCHFILES+= ${PATCHDIR}/patch-optional-${PAPERSIZE}-papersize - .endif - -Note that you have to define the value of PATCHDIR in order to use it in a ".if -" statement like this as otherwise it's not defined until too late during the -processing of the Makefile. You should use a ".if" statement in order to avoid -problems should the configuration item ($PAPERSIZE in this example) be set to -an unexpected value. - The patch-* files should be in diff -bu format, and apply without a fuzz to avoid problems. (To force patches to apply with fuzz you can set PATCH_FUZZ_FACTOR=-F2). Furthermore, do not put changes for more than one file |