Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2007 14:19:51 -0500
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        "Robert Huff" <roberthuff@rcn.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Ports Dir
Message-ID:  <d7195cff0707041219u37915af1qb3ade2005bc4406c@mail.gmail.com>
In-Reply-To: <18059.55651.790757.504527@jerusalem.litteratus.org>
References:  <002601c7be4c$4767b7c0$6501a8c0@GRANT> <cf841d6b0707041003t4308a4ebv9e7f3cd9ee63cd34@mail.gmail.com> <18059.55651.790757.504527@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/07/07, Robert Huff <roberthuff@rcn.com> wrote:
> Pablo Mora writes:
>
> >  > Can one run
> >  >
> >  > 'make clean'
> >  >
> >  > in the /usr/ports directory in the hope of reducing disk space?
> >
> >  portsclean -CDD
>
>         "portsclean" is part of the "portupgrade" port, not the base
> system.  Not everyone has it installed, or wants to.
>         To the original poster: yes, you can.  Mind you, I'm not sure
> it's the most efficient way - since I have "portupgrade" installed,
> I prefer portsclean.
>

Indeed.  If you set WRKDIRPREFIX you can merely
rm -r $WRKDIRPREFIX/ports.  The distfiles can be
a bit more difficult to deal with in a sane manner
without some sort of add-on tool.

-- 
--



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