Various linux packages can usually be transferred from one distribution to another. As such you should be able to convert PKG linux package to TGZ packages using the alien program or something similar. Usually should not be used for system packages.
Articles and other information relating to pkg into tgz conversion:
How to convert DEB to RPM and RPM to DEB or other packages - Converting Linux packages using alien program