Ifdef things FreeNAS/TrueNAS.

Right now we are only syncing the ports.  The rest of
this file will follow.