K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-23T05:33:20.761461Z K 7 svn:log V 880 The --clean-packages and --clean-packages-all features were added just a little too hastily, so overhaul them. 1. Don't do the test for whether or not the package is installed until we are sure both that it's up to date, and that we're not using -all. This makes the whole thing a little slower, but is more friendly to the "master build server" idea, and doesn't prompt unecessarily. Now more useful information is printed to help the user decide if the package can safely be deleted in the !-all case. 2. Try to display information for out of date versions more intelligently 3. Use a little more white space in the output to make it easier to parse For both --clean-packages-all and --clean-distfiles-all use a simpler method of handling the -all version. Inappropriate prompting for --clean-packages-all was raised in: PR: ports/149787 Submitted by: mandree END