- Add some basic info about porttools

PR:		docs/99845
Submitted by:	clsung
Approved by:	keramida (mentor)
This commit is contained in:
Gabor Kovesdan 2007-02-20 15:44:47 +00:00
parent 6d52d5da5f
commit ffb3a54c68
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=29614

View file

@ -8443,6 +8443,24 @@ as .putsy.conf and edit it.</programlisting>
doubt, the best thing to do is ask on &a.ports;.</para>
</sect1>
<sect1 id="testing-porttools">
<title>Port Tools</title>
<para>The <filename role="package">ports-mgmt/porttools</filename>
program is part of the Ports Collection.</para>
<para><command>port</command> is the front-end script,
which can help you simplify the testing job. Whenever you want
to test a new port or update an existing one, you can use
<command>port test</command> to test your port, including the
<link linkend="testing-portlint"><command>portlint</command></link>
checking. This command also detects and lists any files that
are not listed in <filename>pkg-plist</filename>. See the
following example:</para>
<screen>&prompt.root; <userinput>port test /usr/ports/net/csup</userinput></screen>
</sect1>
<sect1 id="porting-prefix">
<title><makevar>PREFIX</makevar> and <makevar>DESTDIR</makevar></title>