I've actually read a bit of the Porter's Handbook.I beleive you have to create the ports Makefile first. There are options you can set that helps the building process.
It says to compile the program first. Is it bad practice to do the Makefile and go from there?