Is there a question in there, or are you just commenting?
If the former, I'd recommend reading the entire rc(8) manpages. It is probably more information than you wanted to know, but it is really valuable in troubleshooting rc script problems. Also, there is a good EXAMPLES section that shows a minimal rc.d/ script.
I experimented with the tor / privoxy Ports a couple years back. IIRC even then one (or both) of their rc scripts were borked. I had to do some tweaking to get them behave properly.