It takes time to debug inorder to get the build depends right
It's 2011. Just to show my way of adding receipts:
1. get a receipt skeleton 2. go to pkgsrc.se/freshports/gentoo packages 3. find out minimal build requirements for this software 4. add them to receipt 5. build. If failed, go to 4
6. clean up files 7. rebuild again 8. push to repos.
No crappy automation - be straight and old-school, so nothing can even break (cause there is nothing too complicated).