Quoth Ade Lovett on Wednesday, 27 April 2011: > On Apr 27, 2011, at 13:46 , Chip Camden wrote: > > > > Modifying the script that was posted earlier, we can list out all > > installed ports that are currently deprecated, and why: > > Won't work -- need to handle slave ports etc, where the DEPRECATED may be in > the MASTER_PORT. > > Try this: > > #!/bin/sh > # > PORTSDIR=${1-"/usr/ports"} > for port in $(pkg_info -oa | grep /) > do > dep=$(make -C ${PORTSDIR}/${port} -V DEPRECATED) > [ -n "${dep}" ] && echo "${port}: ${dep}" > done > > > -aDe > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Nice, thanks! -- .O. | Sterling (Chip) Camden | http://camdensoftware.com ..O | sterl...@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com
pgp5qYJQh9YGn.pgp
Description: PGP signature