Fetching sources for ports

taxman taxman at acd.net
Wed Apr 16 10:17:25 PDT 2003


On Wednesday 16 April 2003 11:49 am, Kent Stewart wrote:
> On Wednesday 16 April 2003 08:54 am, Wayne Pascoe wrote:
> > On Wed, Apr 16, 2003 at 05:12:30PM +0200, Jalle wrote:
> > > Hi, I'm wondering if there's any way to fetch the sources
> > > (tarballs, gzips, bzips etc) for a port, including it's
> > > dependencies, without installing the whole thing right away?
> > > I could, of course, check http://www.freebsd.org/ports and see what
> > > the requirements are, download these, see what the requirements for
> > > the requirements are, download there, see what the... (you get it
> > > right?) But for a rather large port (like KDE, which I happened to
> > > have in mind) this would take ages!
> >
> > In the port directory, make fetch will fetch the sources.
> >
> > I'm not sure how this works for meta ports like KDE, Gnome and X11.
> > I'm also not sure if this will recurse and fetch ports for dependency
> > apps.
>
> I use "make fetch-recursive". When I did this in ../kde3, it fetched all
> of the updated tarballs for 3.1.1.

you can look in /usr/ports/Mk/bsd.port.mk  for all of the options you can put 
to make for ports.  In there you'll see  the above, and also 
fetch-recursive-list  - Show list of files that would be retrieved by 
fetch-recursive.  That may help you too.

Tim


More information about the freebsd-questions mailing list