Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 1996 18:52:22 -0700
From:      Doug White <dwhite@riley-net170-164.uoregon.edu>
To:        John Clark <jrclark@felix.iupui.edu>
Cc:        questions@FreeBSD.org
Subject:   Re: Where to find documentation on the ports collection? 
Message-ID:  <199605220152.SAA01595@riley-net170-164.uoregon.edu>
In-Reply-To: Your message of "Mon, 20 May 1996 21:17:23 CDT." <2.2.32.19960520212155.002f6e24@felix.iupui.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help

> I am trying to use the ports collection with only the scant information
> available in the handbook.  Does anyone know where documentation on "how to
> use the ports collection" can be found?
> 
> I have tried to get just the "Makefile" and put it into some subdirectory,
> and then type "make."  It does seem to fetch a few files, then it chokes and
> spits out all kinds of errors -- obviously doing this wrong.  It would be
> nice if this "ports" collection were documented somewhere -- or it is and I
> can't find it.  Seems like it should be so simple...
> 

It should be. What were you trying to install?  Ports do get stale if the 
distribution file has changed (and probably has in 5 months).

Here's a quick summary of the procedure:

1) cd to the appropriate port directory.  The ports are organized by category, 
so you have to get into a specific product directory.  
2) Type 'make'.  The distribution package will be pulled from 
/usr/ports/distfiles or ftp'd off the net, configured, and compiled.
3)  Type 'make install' to install the new file.
4)  Type 'make clean' to clear out the build directory to save space.

Does this help?
Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605220152.SAA01595>