---
name: xpi-locale-switcher
version: 2.1
origin: www/xpi-locale-switcher
comment: Provides a convenient menu item to switch between installed languages
arch: freebsd:9:x86:64
www: http://benjamin.smedbergs.us/switch-locales/
maintainer: triosoft@triosoft.com.ua
prefix: /usr/local
licenselogic: single
flatsize: 5756
desc: |
  The default UI for Firefox and Thunderbird does not provide an easy way
  to switch between multiple installed language packs for the application,
  because ordinary users aren't expected to install multiple language packs
  However, some developers or users who speak multiple languages may wish
  to install language packs and easily switch between multiple languages.
  The locale-switcher extension provides simple menu to switch between
  languages. The extension adds a "Languages" item on the "Tools" menu
  under the existing Extensions/Themes options, allowing the user can
  select a language.

  WWW: http://benjamin.smedbergs.us/switch-locales/
categories: [www]
files:
  /usr/local/lib/xpi/{338e0b96-2285-4424-b4c8-e25560750fa3}/chrome.manifest: ad7ba7e77eb078e547dfe3e34d17e58abb1ba192d860aeeeeb3177a9022201e9
  /usr/local/lib/xpi/{338e0b96-2285-4424-b4c8-e25560750fa3}/chrome/content/switch-tbird.xul: 2c80367706eed54a1f0916250eca3e35903813e24212696bf55bdc1b93fea9b9
  /usr/local/lib/xpi/{338e0b96-2285-4424-b4c8-e25560750fa3}/chrome/content/switch.js: 2d5bfe71ad7517bbafafb1a33723d9c7f5e29da309ca6e70d70e25b63ed907c7
  /usr/local/lib/xpi/{338e0b96-2285-4424-b4c8-e25560750fa3}/chrome/content/switch.xul: 047355d27955a229155b93c1675aca9f5466beb0c9ec59f40d7c266f37152c8f
  /usr/local/lib/xpi/{338e0b96-2285-4424-b4c8-e25560750fa3}/install.rdf: aa1d17f79a01d36c5935dc80d8adb410f057a5372d255ca6fa597d9365b32450
directories:
  /usr/local/lib/xpi/{338e0b96-2285-4424-b4c8-e25560750fa3}/chrome/content/: n
  /usr/local/lib/xpi/{338e0b96-2285-4424-b4c8-e25560750fa3}/chrome/: n
  /usr/local/lib/xpi/{338e0b96-2285-4424-b4c8-e25560750fa3}/: n
  /usr/local/lib/xpi/symlinks/thunderbird3/: y
  /usr/local/lib/xpi/symlinks/thunderbird/: y
  /usr/local/lib/xpi/symlinks/seamonkey2/: y
  /usr/local/lib/xpi/symlinks/seamonkey/: y
  /usr/local/lib/xpi/symlinks/linux-thunderbird/: y
  /usr/local/lib/xpi/symlinks/linux-seamonkey/: y
  /usr/local/lib/xpi/symlinks/linux-firefox/: y
  /usr/local/lib/xpi/symlinks/linux-firefox-devel/: y
  /usr/local/lib/xpi/symlinks/firefox3/: y
  /usr/local/lib/xpi/symlinks/firefox/: y
  /usr/local/lib/xpi/symlinks/: y
  /usr/local/lib/xpi/: y
scripts:
  post-install: |
    install -d /usr/local/lib/xpi/symlinks/firefox /usr/local/lib/xpi/symlinks/firefox3 /usr/local/lib/xpi/symlinks/linux-firefox /usr/local/lib/xpi/symlinks/linux-firefox-devel /usr/local/lib/xpi/symlinks/thunderbird /usr/local/lib/xpi/symlinks/thunderbird3 /usr/local/lib/xpi/symlinks/linux-thunderbird /usr/local/lib/xpi/symlinks/seamonkey /usr/local/lib/xpi/symlinks/seamonkey2 /usr/local/lib/xpi/symlinks/linux-seamonkey
    for _dir in /usr/local/lib/*firefox*/extensions /usr/local/lib/*thunderbird*/extensions /usr/local/lib/*seamonkey*/extensions /usr/local/lib/xpi/symlinks/*firefox* /usr/local/lib/xpi/symlinks/*thunderbird* /usr/local/lib/xpi/symlinks/*seamonkey* ; { /bin/ln -sf /usr/local/lib/xpi/{338e0b96-2285-4424-b4c8-e25560750fa3} $_dir/ 2>/dev/null || true; }
  pre-deinstall: |
    for _dir in /usr/local/lib/*firefox*/extensions /usr/local/lib/*thunderbird*/extensions /usr/local/lib/*seamonkey*/extensions /usr/local/lib/xpi/symlinks/*firefox* /usr/local/lib/xpi/symlinks/*thunderbird* /usr/local/lib/xpi/symlinks/*seamonkey* ; { /bin/rm -f $_dir/{338e0b96-2285-4424-b4c8-e25560750fa3} ; }
