どうぞ
http://wiki.pcbsd.org/index.php/PBI_Module_Builder_Guide