I've got the wrapper script I use for building and uploading all of pkgsrc on DragonFly cleaned up, and I put together a web page for it:
http://www.shiningsilence.com/simplepbulk/ It's a few shell scripts, so it's easy to look at. Changes/improvements are welcomed.