---
name: xpi-jsview
version: 2.0.8_1
origin: www/xpi-jsview
comment: Easily view embedded/external JS and CSS
arch: freebsd:9:x86:64
www: https://addons.mozilla.org/en-US/firefox/addon/jsview/
maintainer: gecko@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses: [GPLv2]
flatsize: 167861
desc: |
  All browsers include a "View Source" option, but none of them offer the
  ability to view the source code of external files. Most websites store
  their javascripts and style sheets in external files and then link to
  them within a web page's source code. Previously if you wanted to view
  the source code of an external javascript/css you would have to manually
  look through the source code to find the url and then type that into
  your browser.

  Well now there's a much easier way. You can use the JSView extension to
  solve the problem. You can access it from the context menu, from the
  toolbar, from the view menu, or from the status bar. If the website you
  are viewing contains any external js/css files, an icon will appear that
  says "CSS", "JS", or both. Each individual file can then be viewed by
  clicking on the filename. The file will be opened in a new window. You
  can also choose to open all external files by clicking on "View All".

  Author: Ron Beckman
  WWW: https://addons.mozilla.org/en-US/firefox/addon/jsview/
categories: [www]
files:
  /usr/local/lib/xpi/{cf15270e-cf08-4def-b4ea-6a5ac23f3bca}/chrome.manifest: 92b6810690176b862c20c76c89400deb61a037b27e879722032c26421f968adc
  /usr/local/lib/xpi/{cf15270e-cf08-4def-b4ea-6a5ac23f3bca}/chrome/jsview.jar: 19d06f8dbad57aa3f38c3b8f321c2740b19aaa1fd86f0df2e00de80a0920c4a0
  /usr/local/lib/xpi/{cf15270e-cf08-4def-b4ea-6a5ac23f3bca}/defaults/preferences/jsview.js: 2f3d818c0d844be10a678b019a731fbf0505d4c9e64797846daf70e69fcab507
  /usr/local/lib/xpi/{cf15270e-cf08-4def-b4ea-6a5ac23f3bca}/install.js: f68450860424d3bc8b2b87e49c7d9327194ef60b8667f972f4eebd73a34a49d9
  /usr/local/lib/xpi/{cf15270e-cf08-4def-b4ea-6a5ac23f3bca}/install.rdf: 2ce57eaabb550f801523cd99062a5271c4d73b9759369521337b9488dcac8993
  /usr/local/share/licenses/xpi-jsview-2.0.8_1/GPLv2: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
  /usr/local/share/licenses/xpi-jsview-2.0.8_1/LICENSE: 7e1394d03c5f275a402fe721ff1d1349449ea8602b52af954c76463afcdb6ef7
  /usr/local/share/licenses/xpi-jsview-2.0.8_1/catalog.mk: f64f48fe1b36a8f7e5326a087b0e42b543c2e7efa18ce6f38f0ea7d9edd59ef3
directories:
  /usr/local/share/licenses/xpi-jsview-2.0.8_1/: n
  /usr/local/share/licenses/: y
  /usr/local/lib/xpi/{cf15270e-cf08-4def-b4ea-6a5ac23f3bca}/defaults/preferences/: n
  /usr/local/lib/xpi/{cf15270e-cf08-4def-b4ea-6a5ac23f3bca}/defaults/: n
  /usr/local/lib/xpi/{cf15270e-cf08-4def-b4ea-6a5ac23f3bca}/chrome/: n
  /usr/local/lib/xpi/{cf15270e-cf08-4def-b4ea-6a5ac23f3bca}/: 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/xpi/symlinks/*firefox* ; { /bin/ln -sf /usr/local/lib/xpi/{cf15270e-cf08-4def-b4ea-6a5ac23f3bca} $_dir/ 2>/dev/null || true; }
    cd /usr/local
  pre-deinstall: |
    for _dir in /usr/local/lib/*firefox*/extensions /usr/local/lib/xpi/symlinks/*firefox* ; { /bin/rm -f $_dir/{cf15270e-cf08-4def-b4ea-6a5ac23f3bca} ; }
    cd /usr/local
  post-deinstall: |
    cd /usr/local
