Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2000 19:21:26 -0400
From:      Nilmoni Deb <ndeb@ece.cmu.edu>
To:        Neil Blakey-Milner <nbm@mithrandr.moria.org>, Theo Bell <freebsd@cfdnet.me.tuns.ca>, freebsd-questions@FreeBSD.ORG, Oscar Ricardo Silva <oscars@mail.utexas.edu>
Subject:   proposed 4.2.1.3 section to handbook
Message-ID:  <39AD96F6.2F2CBBBC@ece.cmu.edu>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------FA8FE94BE2CE9584E2FE03E3
Content-Type: multipart/alternative;
 boundary="------------7F7BDF1C4D3E69C0FDF702ED"


--------------7F7BDF1C4D3E69C0FDF702ED
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Here it is. Let me know what u think.

- Nil



--------------7F7BDF1C4D3E69C0FDF702ED
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>

<pre>Here it is. Let me know what u think.</pre>

<pre>- Nil</pre>
&nbsp;</html>

--------------7F7BDF1C4D3E69C0FDF702ED--

--------------FA8FE94BE2CE9584E2FE03E3
Content-Type: text/html; charset=us-ascii;
 name="4.2.1.3.html"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="4.2.1.3.html"

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="GENERATOR" content="Mozilla/4.5 [en] (X11; I; HP-UX B.10.20 9000/782) [Netscape]">
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EE" vlink="#FF9900" alink="#FF0000">
<b><font size=+1>4.2.1.3. Installing ports from existing distribution files</font></b>
<p>This section makes an assumption that you have the distribution files
on your local disk.
<br>&nbsp;
<li>
<font color="#000000">You must know&nbsp; what files this port </font><b><font size=-1>&lt;<i>port_name</i>>
</font></b><font color="#000000">requires.
So do this:</font></li>

<p><br><b><font size=-1># cd&nbsp; /usr/ports/&lt;<i>port_name</i>></font></b>
<br><b><font size=-1># /usr/bin/make fetch-list</font></b>
<p><font color="#950000">&nbsp;&nbsp;&nbsp; Note that the GNU&nbsp;<font size=-1>make</font>
command may not work for this purpose. So stick with <font size=-1>/usr/bin/make
.</font></font>
<br>Get all the files listed.
<br>&nbsp;
<li>
Now, you must know where the port looks for the distribution files. So
do this:</li>

<p><br><b><font size=-1># cd&nbsp; /usr/ports/&lt;<i>port_name</i>></font></b>
<br><b><font size=-1># /usr/bin/make -V DISTDIR -V DIST_SUBDIR</font></b>
<p>The last command will list two directories, one in each line.
<br>Place your distribution files in the subdirectory (if any, it will
be indicated in the second line)
<br>off the directory on the first line.&nbsp; For example, you may get:
<p>/<font size=-1>usr/ports/distfiles</font>
<br><font size=-1>squid2.2</font>
<p>You should then place the file in <font size=-1>/usr/ports/distfiles/squid2.2</font>
.
<br>If nothing is listed in the second line then put the files in the directory
on the first line.
<br>&nbsp;
<li>
In the last step do this:</li>

<p><br><b><font size=-1># /usr/bin/make install all</font></b>
<p>This installs the port and you are ready to go.
<p>For interested users, after the package is retrieved and extracted,
it is kept in
<br>&nbsp;&nbsp;&nbsp; <font size=-1>/usr/ports/&lt;<i>port_name</i>>/work/&lt;<i>directory
name of extracted source</i>></font>
<br>For example, for <font size=-1>dvips576.tar.gz, </font>if the directory
name obtained after extraction is<font size=-1> dvips576,</font>
<br>then the extracted files are kept in
<br>&nbsp;&nbsp;&nbsp;<font size=-1> /usr/ports/print/dvips/work/dvips576</font>
<p>That about does it for installing ports onto your system.
</body>
</html>

--------------FA8FE94BE2CE9584E2FE03E3--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39AD96F6.2F2CBBBC>