with /Developer/Applications/Utilities/PackageMaker.app, then
converted from blob to the equivalent XML with:
$ plutil -convert xml1 macpkg.pmproj
mkbinarykit will run this file through a bit of sed, then use the
result to generate a double-clickable Mac package.