View | Details | Raw Unified | Return to bug 122997
Collapse All | Expand All

(-)chapter.sgml (-16 / +16 lines)
Lines 318-324 Link Here
318
        Ports Collection's built-in search mechanism.  To use the
318
        Ports Collection's built-in search mechanism.  To use the
319
        search feature, you will need to be in the
319
        search feature, you will need to be in the
320
        <filename>/usr/ports</filename> directory.  Once in that
320
        <filename>/usr/ports</filename> directory.  Once in that
321
        directory, run <command>make search
321
        directory, run <command>make <maketarget>search</maketarget>
322
        name=<replaceable>program-name</replaceable></command> where
322
        name=<replaceable>program-name</replaceable></command> where
323
        <replaceable>program-name</replaceable> is the name of the
323
        <replaceable>program-name</replaceable> is the name of the
324
        program you want to find.  For example, if you were looking
324
        program you want to find.  For example, if you were looking
Lines 341-347 Link Here
341
        will not be covered here.</para>
341
        will not be covered here.</para>
342
342
343
      <para>For more in-depth searching you can also use <command>make
343
      <para>For more in-depth searching you can also use <command>make
344
       search key=<replaceable>string</replaceable></command> where
344
       <maketarget>search</maketarget> key=<replaceable>string</replaceable></command> where
345
       <replaceable>string</replaceable> is some text to search for.
345
       <replaceable>string</replaceable> is some text to search for.
346
       This searches port names, comments, descriptions and
346
       This searches port names, comments, descriptions and
347
       dependencies and can be used to find ports which relate to a
347
       dependencies and can be used to find ports which relate to a
Lines 946-952 Link Here
946
	  returned to your prompt.  The next step is to install the
946
	  returned to your prompt.  The next step is to install the
947
	  port.  In order to install it, you simply need to tack one word
947
	  port.  In order to install it, you simply need to tack one word
948
	  onto the <command>make</command> command, and that word is
948
	  onto the <command>make</command> command, and that word is
949
	  <command>install</command>:</para>
949
	  <maketarget>install</maketarget>:</para>
950
950
951
        <screen>&prompt.root; <userinput>make install</userinput>
951
        <screen>&prompt.root; <userinput>make install</userinput>
952
===&gt;  Installing for lsof-4.57
952
===&gt;  Installing for lsof-4.57
Lines 981-988 Link Here
981
981
982
        <note>
982
        <note>
983
          <para>You can save two extra steps by just running <command>make
983
          <para>You can save two extra steps by just running <command>make
984
	    install clean</command> instead of <command>make</command>,
984
	    <maketarget>install clean</maketarget></command> instead of <command>make</command>,
985
	    <command>make install</command> and <command>make clean</command>
985
	    <command>make <maketarget>install</maketarget></command> and <command>make <maketarget>clean</maketarget></command>
986
	    as three separate steps.</para>
986
	    as three separate steps.</para>
987
	</note>
987
	</note>
988
988
Lines 1042-1048 Link Here
1042
	<note><para>You can build all the ports in a category or as a
1042
	<note><para>You can build all the ports in a category or as a
1043
	  whole by running <command>make</command> in the top level
1043
	  whole by running <command>make</command> in the top level
1044
	  directory, just like the aforementioned <command>make
1044
	  directory, just like the aforementioned <command>make
1045
	  <makevar>fetch</makevar></command> method.  This is
1045
	  <maketarget>fetch</maketarget></command> method.  This is
1046
	  dangerous, however, as some ports cannot co-exist.  In other
1046
	  dangerous, however, as some ports cannot co-exist.  In other
1047
	  cases, some ports can install two different files with the
1047
	  cases, some ports can install two different files with the
1048
	  same filename.</para></note>
1048
	  same filename.</para></note>
Lines 1128-1140 Link Here
1128
	  It is not uncommon for users to wish to revisit this menu to add,
1128
	  It is not uncommon for users to wish to revisit this menu to add,
1129
	  remove, or change these options after a port has been built.  There
1129
	  remove, or change these options after a port has been built.  There
1130
	  are many ways to do this.  One option is to go into the directory
1130
	  are many ways to do this.  One option is to go into the directory
1131
	  containing the port and type <command>make</command>
1131
	  containing the port and type <command>make
1132
	  <maketarget>config</maketarget>, which will simply present the menu
1132
	  <maketarget>config</maketarget></command>, which will simply present the menu
1133
	  again with the same options selected.  Another option is to use
1133
	  again with the same options selected.  Another option is to use
1134
	  <command>make</command> <maketarget>showconfig</maketarget> which
1134
	  <command>make <maketarget>showconfig</maketarget></command> which
1135
	  will show you all the configuration options for the port.  Yet
1135
	  will show you all the configuration options for the port.  Yet
1136
	  another option is to execute <command>make</command>
1136
	  another option is to execute <command>make
1137
	  <maketarget>rmconfig</maketarget> which will remove all selected
1137
	  <maketarget>rmconfig</maketarget></command> which will remove all selected
1138
	  options and allow you to start over.  All of these options, and
1138
	  options and allow you to start over.  All of these options, and
1139
	  others, are explained in great detail in in the man page for
1139
	  others, are explained in great detail in in the man page for
1140
	  &man.ports.7;.</para>
1140
	  &man.ports.7;.</para>
Lines 1200-1207 Link Here
1200
      <para>The <application>portupgrade</application> utility is designed
1200
      <para>The <application>portupgrade</application> utility is designed
1201
	to easily upgrade installed ports.  It is available from the <filename
1201
	to easily upgrade installed ports.  It is available from the <filename
1202
	role="package">ports-mgmt/portupgrade</filename> port.  Install it like
1202
	role="package">ports-mgmt/portupgrade</filename> port.  Install it like
1203
	any other port, using the <command>make <makevar>install
1203
	any other port, using the <command>make <maketarget>install
1204
	clean</makevar></command> command:</para>
1204
	clean</maketarget></command> command:</para>
1205
1205
1206
      <screen>&prompt.root; <userinput>cd /usr/ports/ports-mgmt/portupgrade</userinput>
1206
      <screen>&prompt.root; <userinput>cd /usr/ports/ports-mgmt/portupgrade</userinput>
1207
&prompt.root; <userinput>make install clean</userinput></screen>
1207
&prompt.root; <userinput>make install clean</userinput></screen>
Lines 1267-1273 Link Here
1267
	  confirmation of every step <application>Portmanager</application>
1267
	  confirmation of every step <application>Portmanager</application>
1268
	  will perform.  <application>Portmanager</application> can also be
1268
	  will perform.  <application>Portmanager</application> can also be
1269
	  used to install new ports on the system.  Unlike the usual
1269
	  used to install new ports on the system.  Unlike the usual
1270
	  <command>make install clean</command> command, it will upgrade all
1270
	  <command>make <maketarget>install clean</maketarget></command> command, it will upgrade all
1271
	  the dependencies prior to building and installing the
1271
	  the dependencies prior to building and installing the
1272
	  selected port.</para>
1272
	  selected port.</para>
1273
1273
Lines 1386-1392 Link Here
1386
	space over time.  After building and installing software from the
1386
	space over time.  After building and installing software from the
1387
	ports, you should always remember to clean up
1387
	ports, you should always remember to clean up
1388
	the temporary <filename class="directory">work</filename> directories using the <command>make
1388
	the temporary <filename class="directory">work</filename> directories using the <command>make
1389
	<makevar>clean</makevar></command> command.  You can sweep the whole
1389
	<maketarget>clean</maketarget></command> command.  You can sweep the whole
1390
	Ports Collection with the following command:</para>
1390
	Ports Collection with the following command:</para>
1391
1391
1392
      <screen>&prompt.root; <userinput>portsclean -C</userinput></screen>
1392
      <screen>&prompt.root; <userinput>portsclean -C</userinput></screen>
Lines 1503-1509 Link Here
1503
1503
1504
	<listitem>
1504
	<listitem>
1505
	  <para>Ask the maintainer of the port for help.  Type
1505
	  <para>Ask the maintainer of the port for help.  Type
1506
	    <command>make maintainer</command> or read the
1506
	    <command>make <maketarget>maintainer</maketarget></command> or read the
1507
	    <filename>Makefile</filename> to find the maintainer's
1507
	    <filename>Makefile</filename> to find the maintainer's
1508
	    email address.  Remember to include the name and version
1508
	    email address.  Remember to include the name and version
1509
	    of the port (send the <literal>&dollar;FreeBSD:</literal>
1509
	    of the port (send the <literal>&dollar;FreeBSD:</literal>

Return to bug 122997