---
name: xpi-user_agent_switcher
version: 0.7.3
origin: www/xpi-user_agent_switcher
comment: The User Agent Switcher extension
arch: freebsd:9:x86:64
www: http://chrispederick.com/work/user-agent-switcher/
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 178991
desc: "The User Agent Switcher extension adds a menu and\na toolbar button to switch
  the user agent of the\nbrowser. It is designed for Firefox, Flock  and\nSeamonkey,
  and will run on any platform that these\nbrowsers support including Windows, Mac
  OS  X and\nLinux. \n\nWWW: http://chrispederick.com/work/user-agent-switcher/\n"
categories: [www]
files:
  /usr/local/lib/xpi/{e968fc70-8f95-4ab9-9e79-304de2a71ee1}/chrome.manifest: 1a6edd2aad9fa003d778b7d0e353e1b0931b15c23cdf0c3413a92aaf9755568d
  /usr/local/lib/xpi/{e968fc70-8f95-4ab9-9e79-304de2a71ee1}/chrome/useragentswitcher.jar: 54249490c0b0b80a140e48b353fed8c8a0e1aa6a3bcf75dc0fd9b1ac19d009a6
  /usr/local/lib/xpi/{e968fc70-8f95-4ab9-9e79-304de2a71ee1}/install.js: c21ed8377c2323b57e0e9783d56a2114195f12bae566402d00742414008ce498
  /usr/local/lib/xpi/{e968fc70-8f95-4ab9-9e79-304de2a71ee1}/install.rdf: 12852a124641383894bf41ecf870e5a627b21ae2de7782904424f075f5f6059b
  /usr/local/lib/xpi/{e968fc70-8f95-4ab9-9e79-304de2a71ee1}/license.txt: c53a65c2fd561c87eaabf1072ef5dcab8653042bc15308465f52413585eb6271
directories:
  /usr/local/lib/xpi/{e968fc70-8f95-4ab9-9e79-304de2a71ee1}/chrome/: n
  /usr/local/lib/xpi/{e968fc70-8f95-4ab9-9e79-304de2a71ee1}/: 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/{e968fc70-8f95-4ab9-9e79-304de2a71ee1} $_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/{e968fc70-8f95-4ab9-9e79-304de2a71ee1} ; }
