Saves a lot of time vs ports.
Code:
script weekly_thu_upgrade pkg upgrade
One answers "n" , result is a file
Code:
grep p5 weekly_thu_upgrade | sed 's/:/ /g' | awk '{print $1}' | grep -v mous | xargs -J % pkg install %
One greps out ports that pull in unwanted dependencies to build manually.
A second run with "pkg install -y" actually does the command, as the pipe in the code example is non-interactive and assumes NO.
Many more aspects to this weekly upgrade and a few unmentioned steps (editing out extra lines from the first file result in the first code block above etc) but may be useful to some readers of this post or thread.
Sorry no time to include more useful information.
A few suggestions here to make pkg more robust but not the venue...
edit:
the grep can be changed to//replaced with a "head -10 " "head -30" "head -50" sequence also...