On 2010-1-2 17:03 , Scott Haneda wrote: > A few things have led to a less than awesome repo of local software that > MacPorts has helped me to install. By no fault of MacPorts or course; > though I am often abusing MacPorts to get something intalled for myself, > or maybe making a port for submission, or on those rare occasions, I can > get in a port at the request of a user here on the list. > > My `port installed` was a few hundred lines, I got it down to 63 by way > of obvious uninstalls. > > I need a working MAMP stack, and all the dependencies with their links > in the chain. A few other things, rsync, I think outside of MAMP, not > of the stuff I need has dependencies, > > I am sitting on stuff like this: > libgpg-error @1.7_0 (active) > libiconv @1.13_0 (active) > libidn @1.15_0 (active) > libmcrypt @2.5.8_1 (active) > libnet11 @1.1.4_0 (active) > libogg @1.1.4_0 (active) > libpcap @1.0.0_0 (active) > libpng @1.2.38_0 (active) > libtool @2.2.6b_0 (active) > libvorbis @1.2.3_0 (active) > libxml2 @2.7.6_0 (active) > libxslt @1.1.24_2 (active) > > I have no idea how they got there, and sticking a `port info` into all > ~60 of these to see, is a bit tiresome. I was wondering is there a way > to give a list of what I want, and all the dependencies, then uninstall > whatever was left remaining. > > Sort of a `port uninstall whatever is not part of item 1, 2, 3, and 4, > plus all dependencies.
Install port_cutleaves and use the excludes file as described in the man page. - Josh _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
