---
name: Lohit
version: 20130612
origin: x11-fonts/lohit
comment: Lohit fonts
arch: freebsd:9:x86:64
www: https://fedorahosted.org/lohit/
maintainer: gabor@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses:
- OFL
flatsize: 1239696
desc: |
  In 2004, Red Hat has released five Indian language fonts as open source
  licensed under the GPL. In 2011 Red Hat relicensed fonts under SIL OFL 1.1
  license. The fonts named Lohit which means Red in Sanskrit. Currently, the
  font family supports 21 Indian languages: Assamese, Bengali, Devanagari
  (Hindi, Kashmiri, Konkani, Maithili, Marathi, Nepali, Sindhi, Santali,
  Bodo, Dogri), Gujarati, Kannada, Malayalam, Manipuri, Oriya, Punjabi,
  Tamil, and Telugu. Now, Fedora Project and its contributors took the
  responsibility to consolidate the further efforts and improvements of
  the Lohit fonts.

  Lohit Fonts are Unicode 6.0 compatible.

  WWW: https://fedorahosted.org/lohit/
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/Lohit/Lohit-Assamese.ttf: 492686734e874cb18c16412d7e7d4f224f1d01e507b3e8a9098ff19aebc6316d
  /usr/local/lib/X11/fonts/Lohit/Lohit-Bengali.ttf: 582e5d56751fffef8e8e081c11eb2226ea603efaded1aaa0f6131c4f475a5703
  /usr/local/lib/X11/fonts/Lohit/Lohit-Devanagari.ttf: cdf45315c2934aed7e10f6c0af33b936e1d12e0fc2022c80e27740e64a9523c5
  /usr/local/lib/X11/fonts/Lohit/Lohit-Gujarati.ttf: 674130425d775717661f2b24181c254223a65cc0fd17e15edde50ea1f69b8032
  /usr/local/lib/X11/fonts/Lohit/Lohit-Kannada.ttf: baf27722f57b6f88068bdc5fccb570d9823996355b8d310001536678829b99d0
  /usr/local/lib/X11/fonts/Lohit/Lohit-Malayalam.ttf: ab25caf2c0229181d0ab185306ea0bb7c402fcb75f08c466b66f31bc40e16ab4
  /usr/local/lib/X11/fonts/Lohit/Lohit-Marathi.ttf: 3bbea896ec2d38959ce5b3c3f8ae86abe5dee31cfced2e924d5389d6be80fedd
  /usr/local/lib/X11/fonts/Lohit/Lohit-Nepali.ttf: 6def577a51f25e8ef2425dfd26613ef997bdca88dd462c23468c629ab44b8f9d
  /usr/local/lib/X11/fonts/Lohit/Lohit-Oriya.ttf: 5f87d2ce54ae13aff6b41c2dd077f963a5075ffbed18d4d9bfa3e42887474797
  /usr/local/lib/X11/fonts/Lohit/Lohit-Punjabi.ttf: 76b0032f20b94cc82e09e6aee98a5d3c61da1801ec2be97644e2c8447aeab629
  /usr/local/lib/X11/fonts/Lohit/Lohit-Tamil-Classical.ttf: 60e4b02b1e7408824ac5179ec68fe178e9646064674d0b53098db99a2cee3781
  /usr/local/lib/X11/fonts/Lohit/Lohit-Tamil.ttf: db3f6b7090541239fc73c2a62e611b64d33e24f117404b77a6c96393ea0a383f
  /usr/local/lib/X11/fonts/Lohit/Lohit-Telugu.ttf: 55af9182a8a48eb273b615382524a319f477a2f0ad5aa0b28c9cca05e93590d3
  /usr/local/share/licenses/Lohit-20130612/LICENSE: c0c54264e6c1778fc60100775c9f17407491535a854acc1ae617cc0c2894b305
  /usr/local/share/licenses/Lohit-20130612/OFL: 7ade8852c994e94b6282201a0739e374e7efec345fcc0cdbbb62695444f6dcd3
  /usr/local/share/licenses/Lohit-20130612/catalog.mk: 7fe64730e395b57582efa54f54c459976c0c3ad19ce0a0555c7f03cce8585771
directories:
  /usr/local/share/licenses/Lohit-20130612/: n
  /usr/local/share/licenses/: y
  /usr/local/lib/X11/fonts/Lohit/: y
scripts:
  post-install: |
    cd /usr/local
    fc-cache -s /usr/local/lib/X11/fonts/Lohit 2>/dev/null || true
    mkfontscale /usr/local/lib/X11/fonts/Lohit 2>/dev/null || true
    mkfontdir /usr/local/lib/X11/fonts/Lohit 2>/dev/null || true
  pre-deinstall: |
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    fc-cache -s /usr/local/lib/X11/fonts/Lohit 2>/dev/null || true
    mkfontscale /usr/local/lib/X11/fonts/Lohit 2>/dev/null || true
    if [ -e /usr/local/lib/X11/fonts/Lohit/fonts.scale -a "`stat -f '%25z' /usr/local/lib/X11/fonts/Lohit/fonts.scale 2>/dev/null`" = '2' ]; then rm /usr/local/lib/X11/fonts/Lohit/fonts.scale; fi
    mkfontdir /usr/local/lib/X11/fonts/Lohit 2>/dev/null || true
    if [ -e /usr/local/lib/X11/fonts/Lohit/fonts.dir -a "`stat -f '%25z' /usr/local/lib/X11/fonts/Lohit/fonts.dir 2>/dev/null`" = '2' ]; then rm /usr/local/lib/X11/fonts/Lohit/fonts.dir; fi
message: "To use these fonts, add the following line to the \"Files\" section of\nxorg.conf:\n\n\tFontPath
  \"/usr/local/lib/X11/fonts/Lohit/\"\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"
