Make this work with pkgng, and allow PORTS_OPTS to be passed in