Toga II is a Fruit 2.1 derivative. Fruit 2.1 is licensed under the GPL v2 or later. The same applies to these ports. This is a UCI engine, so you'll need to install an appropriate interface, such as Scid or Knights, or Polyglot to use it with Xboard.