From owner-freebsd-questions Wed Aug 30 16:22:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.andrew.cmu.edu (MAIL1.ANDREW.CMU.EDU [128.2.10.131]) by hub.freebsd.org (Postfix) with ESMTP id BA65037B424 for ; Wed, 30 Aug 2000 16:22:10 -0700 (PDT) Received: from ece.cmu.edu (HEAVYSIDE.ECE.CMU.EDU [128.2.129.115]) by mail1.andrew.cmu.edu (8.9.3/8.9.3) with ESMTP id TAA25760; Wed, 30 Aug 2000 19:21:26 -0400 (EDT) Message-ID: <39AD96F6.2F2CBBBC@ece.cmu.edu> Date: Wed, 30 Aug 2000 19:21:26 -0400 From: Nilmoni Deb X-Mailer: Mozilla 4.5 [en] (X11; I; HP-UX B.10.20 9000/782) X-Accept-Language: en MIME-Version: 1.0 To: Neil Blakey-Milner , Theo Bell , freebsd-questions@FreeBSD.ORG, Oscar Ricardo Silva Subject: proposed 4.2.1.3 section to handbook Content-Type: multipart/mixed; boundary="------------FA8FE94BE2CE9584E2FE03E3" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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
Here it is. Let me know what u think.
- Nil
  --------------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" 4.2.1.3. Installing ports from existing distribution files

This section makes an assumption that you have the distribution files on your local disk.
 

  • You must know  what files this port <port_name> requires. So do this:

  • # cd  /usr/ports/<port_name>
    # /usr/bin/make fetch-list

        Note that the GNU make command may not work for this purpose. So stick with /usr/bin/make .
    Get all the files listed.
     

  • Now, you must know where the port looks for the distribution files. So do this:

  • # cd  /usr/ports/<port_name>
    # /usr/bin/make -V DISTDIR -V DIST_SUBDIR

    The last command will list two directories, one in each line.
    Place your distribution files in the subdirectory (if any, it will be indicated in the second line)
    off the directory on the first line.  For example, you may get:

    /usr/ports/distfiles
    squid2.2

    You should then place the file in /usr/ports/distfiles/squid2.2 .
    If nothing is listed in the second line then put the files in the directory on the first line.
     

  • In the last step do this:

  • # /usr/bin/make install all

    This installs the port and you are ready to go.

    For interested users, after the package is retrieved and extracted, it is kept in
        /usr/ports/<port_name>/work/<directory name of extracted source>
    For example, for dvips576.tar.gz, if the directory name obtained after extraction is dvips576,
    then the extracted files are kept in
        /usr/ports/print/dvips/work/dvips576

    That about does it for installing ports onto your system. --------------FA8FE94BE2CE9584E2FE03E3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message