---
name: Andika
version: 1.004
origin: x11-fonts/andika
comment: Andika TrueType fonts
arch: freebsd:9:x86:64
www: http://scripts.sil.org/cms/scripts/page.php?item_id=Andika
maintainer: gabor@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses:
- OFL
flatsize: 1524941
desc: |
  The Andika font is designed to work on systems and with applications that
  provide support for TrueType fonts and for Unicode character encoding.
  This includes Microsoft Windows 9x or greater, as well as recent versions
  of the Mac OS (version 9.0 and later), and also some implementations of
  Unix / Linux (TrueType font support on Unix and Linux may depend upon the
  particular applications in use). On some systems (true, at least, of
  32-bit Windows), it can also be used with older applications that use
  legacy, industry-standard, 8-bit character encodings.

  The preceding characterization of system requirements describes the
  minimum needed to display characters. Realizing the full capabilities of
  this font involves additional requirements. This font is designed to work
  with either of two advanced font technologies, Graphite or OpenType.
  To take advantage of the advanced typographic capabilities of this font,
  you must be using applications that provide an adequate level of support
  for Graphite and OpenType.

  WWW: http://scripts.sil.org/cms/scripts/page.php?item_id=Andika
deps:
  xproto: {origin: x11/xproto, version: 7.0.24}
  mkfontscale: {origin: x11-fonts/mkfontscale, version: 1.1.1}
  mkfontdir: {origin: x11-fonts/mkfontdir, version: 1.0.7}
  libfontenc: {origin: x11-fonts/libfontenc, version: 1.1.2}
  fontconfig: {origin: x11-fonts/fontconfig, version: '2.10.93,1'}
  expat: {origin: textproc/expat2, version: 2.1.0}
  freetype2: {origin: print/freetype2, version: 2.4.12_1}
categories:
- x11-fonts
files:
  /usr/local/lib/X11/fonts/Andika/Andika-R.ttf: 67822bb3d9de9f4309115cd2c1b778738fe66334640a12ce8364862b69a9922e
  /usr/local/share/doc/Andika/FONTLOG.txt: ebbb7c2e30d61d27baef775df9ed22582e747819d3fa407fe5d601657dcd9a41
  /usr/local/share/doc/Andika/OFL-FAQ.txt: 2226f2d4aaa2fba54ebb26ff7f0256fb3d3b621e7714329a7de6f9429129a091
  /usr/local/share/doc/Andika/README.txt: cf18e05fe375628910be58eb0f4b34dbc775d8cca34b9a71316528552bb5781e
  /usr/local/share/licenses/Andika-1.004/LICENSE: c0c54264e6c1778fc60100775c9f17407491535a854acc1ae617cc0c2894b305
  /usr/local/share/licenses/Andika-1.004/OFL: ff8c638b8780661964031aa852660294b951306c69134e72484580e7549ca039
  /usr/local/share/licenses/Andika-1.004/catalog.mk: 8bec8d930a764acec61ac42d4bc5b4a0828d8c2565cbfa1a1355e56cad9d9c39
directories:
  /usr/local/share/licenses/Andika-1.004/: n
  /usr/local/share/licenses/: y
  /usr/local/share/doc/Andika/: n
  /usr/local/lib/X11/fonts/Andika/: y
scripts:
  post-install: |
    cd /usr/local
    fc-cache -s /usr/local/lib/X11/fonts/Andika 2>/dev/null || true
    mkfontscale /usr/local/lib/X11/fonts/Andika 2>/dev/null || true
    mkfontdir /usr/local/lib/X11/fonts/Andika 2>/dev/null || true
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    fc-cache -s /usr/local/lib/X11/fonts/Andika 2>/dev/null || true
    mkfontscale /usr/local/lib/X11/fonts/Andika 2>/dev/null || true
    if [ -e /usr/local/lib/X11/fonts/Andika/fonts.scale -a "`stat -f '%25z' /usr/local/lib/X11/fonts/Andika/fonts.scale 2>/dev/null`" = '2' ]; then rm /usr/local/lib/X11/fonts/Andika/fonts.scale; fi
    mkfontdir /usr/local/lib/X11/fonts/Andika 2>/dev/null || true
    if [ -e /usr/local/lib/X11/fonts/Andika/fonts.dir -a "`stat -f '%25z' /usr/local/lib/X11/fonts/Andika/fonts.dir 2>/dev/null`" = '2' ]; then rm /usr/local/lib/X11/fonts/Andika/fonts.dir; fi
    cd /usr/local
message: "To use these fonts, add the following line to the \"Files\" section of\nxorg.conf:\n\n\tFontPath
  \"/usr/local/lib/X11/fonts/Andika/\"\n\nUsers of older versions of X may additionally
  have to make sure that\nthe freetype module is loaded.  Check /var/log/Xorg.0.log
  for error\nmessages.  If freetype is required, add the following line to the\n\"Modules\"
  section of xorg.conf:\n\n\tLoad \"freetype\"\n\n"
