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"

Reply via email to