---
name: generator
version: 0.35_12
origin: emulators/generator
comment: SEGA Genesis emulator
arch: freebsd:9:x86:64
www: http://www.squish.net/generator/
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 1137856
desc: |
  SEGA Genesis emulator

  Generator is an open source emulator designed to emulate the Sega Genesis /
  Mega Drive console, a popular games machine produced in the early 1990s. It is
  a portable program written in C and has been ported to the Amiga, Macintosh,
  Windows and even pocket PCs such as the iPAQ and Cassiopeia. Natively it
  compiles under unix for X Windows with either tcl/tk or gtk/SDL, for svgalib
  and even cross-compiles to DOS with djgpp/allegro.

  Generator uses it's own custom 68000 processor emulation which is and uses
  compilation techniques such as block-marking, flag calculation removal,
  operand pre-calculation, endian pre-conversion etc. There are approximately
  1600 C routines generated by the first stage of compilation to cope with the
  67 instruction families. These include two versions of every instruction - one
  that calculates flags and one that doesn't, so that unnecessary flag
  computation is avoided.

  Author: James Ponder
  WWW: http://www.squish.net/generator/
deps:
  xproto: {origin: x11/xproto, version: 7.0.24}
  xf86vidmodeproto: {origin: x11/xf86vidmodeproto, version: 2.3.1}
  xextproto: {origin: x11/xextproto, version: 7.2.1}
  renderproto: {origin: x11/renderproto, version: 0.11.1}
  randrproto: {origin: x11/randrproto, version: 1.4.0}
  libxcb: {origin: x11/libxcb, version: 1.9.1}
  libXxf86vm: {origin: x11/libXxf86vm, version: 1.1.3}
  libXrender: {origin: x11/libXrender, version: 0.9.8}
  libXrandr: {origin: x11/libXrandr, version: 1.4.1}
  libXi: {origin: x11/libXi, version: '1.7.2,1'}
  libXfixes: {origin: x11/libXfixes, version: 5.0.1}
  libXext: {origin: x11/libXext, version: '1.3.2,1'}
  libXdmcp: {origin: x11/libXdmcp, version: 1.1.1}
  libXdamage: {origin: x11/libXdamage, version: 1.1.4}
  libXau: {origin: x11/libXau, version: 1.0.8}
  libX11: {origin: x11/libX11, version: '1.6.1,1'}
  libSM: {origin: x11/libSM, version: '1.2.1,1'}
  libICE: {origin: x11/libICE, version: '1.0.8,1'}
  kbproto: {origin: x11/kbproto, version: 1.0.6}
  inputproto: {origin: x11/inputproto, version: 2.3}
  fixesproto: {origin: x11/fixesproto, version: 5.0}
  dri2proto: {origin: x11/dri2proto, version: 2.8}
  damageproto: {origin: x11/damageproto, version: 1.2.1}
  gtk: {origin: x11-toolkits/gtk12, version: 1.2.10_22}
  libxml2: {origin: textproc/libxml2, version: 2.8.0_2}
  expat: {origin: textproc/expat2, version: 2.1.0}
  pciids: {origin: misc/pciids, version: 20130818}
  libdrm: {origin: graphics/libdrm, version: 2.4.46}
  libGLU: {origin: graphics/libGLU, version: 9.0.0}
  libGL: {origin: graphics/libGL, version: 8.0.5_4}
  jpeg: {origin: graphics/jpeg, version: 8_4}
  aalib: {origin: graphics/aalib, version: 1.4.r5_6}
  sdl: {origin: devel/sdl12, version: '1.2.15_2,2'}
  pkgconf: {origin: devel/pkgconf, version: 0.9.2_1}
  libpthread-stubs: {origin: devel/libpthread-stubs, version: 0.3_3}
  libpciaccess: {origin: devel/libpciaccess, version: 0.13.2}
  glib: {origin: devel/glib12, version: 1.2.10_13}
  gettext: {origin: devel/gettext, version: 0.18.3}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories:
- emulators
shlibs_required:
- libjpeg.so.11
- libgtk-12.so.2
- libgdk-12.so.2
- libgmodule-12.so.3
- libglib-12.so.3
- libintl.so.9
- libXi.so.6
- libXext.so.6
- libX11.so.6
- libSDL-1.2.so.11
options: {SDL: off, RAZE: off, OPTIMIZED_CFLAGS: off}
message: |
  Generator has been installed.

  If you enabled the option SDL_AUDIO and your sound is delayed try setting the
  variable "sound_maxfields" and "sound_minfields" in your configuration file
  (usually "~/.genrc") to lower values. Like:

  # default: 5
  sound_minfields = 1

  # default: 10
  sound_maxfields = 2

  To gain more performance set the CPUTYPE variable in "make.conf" as appropiate
  (in addition to enabling the build option OPTIMIZED_CFLAGS), then rebuild and
  install generator.

  NOTE: if you want more features use the port "emulators/generator-cbiere".

  For more information visit: http://www.squish.net/generator/
