Manually registering dependencies for ports

Ulrich Spörlein uqs at
Wed Jun 9 14:53:39 UTC 2010

On Mon, 07.06.2010 at 01:53:32 +0200, Thomas Rasmussen wrote:
> Hello,
> I've been wondering about something: When I write a script or webapp that
> needs some port to run, like a perl module, I install the needed port and
> life is good (tm). A year later when I've completely forgotten about the
> script I go do some spring-cleaning of the ports on the server, and I see
> some perl module that doesn't have any dependencies, and delete it. Fast
> forward a few days when I discover the script doesn't work anymore, cue
> face-palm, remove bullet from foot, etc.

Been there, done that. Apart from all that has already been suggested,
you might want to take a look at pkg_cutleaves. You can make an exclude
list of ports you don't want to have removed, other than that, it really
helps when doing the spring cleaning :)


More information about the freebsd-ports mailing list