Smithfield Foods has agreed to acquire Nathan’s Famous in a $102-per-share cash deal valued at approximately $450 million.