---
name: xpi-mldonkey
version: 2.5
origin: www/xpi-mldonkey
comment: A ed2k, magnet and sig2dat protocol handler
arch: freebsd:9:x86:64
www: http://www.informatik.uni-oldenburg.de/~dyna/mldonkey/
maintainer: miwi@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 24734
desc: |
  This is a protocol handler for Mozilla and Firefox that forwards
  some link types to a running MLdonkey (see www.mldonkey.net) or
  eMule (see www.emule-project.net) client.

  Supported protocols are ed2k:, magnet: and sig2dat:. For eMule,
  only ed2k: is supported, of course.

  Also note that eMule support is still beta and has only been
  tested to work with eMule versions 0.45* and 0.46a as of yet.
  Please send eMule specific questions to Dan Fritz.

  The protocol handler is implemented in JavaScript and should run
  on any platform supported by Mozilla or Firefox.

  WWW: http://www.informatik.uni-oldenburg.de/~dyna/mldonkey/
categories: [www, net-p2p]
files:
  /usr/local/lib/xpi/{bc72206d-b3ce-4b49-88b9-d59b388a0cde}/chrome.manifest: d0f609c1952444506b9cb5a5046d3f845bbd6011971a01679723dd1ddd758608
  /usr/local/lib/xpi/{bc72206d-b3ce-4b49-88b9-d59b388a0cde}/chrome/mldonkey.jar: 5e6bbdb06601165ecfe07ad1b0022df09c0ae59385e12e47cb124f47f5afbe7f
  /usr/local/lib/xpi/{bc72206d-b3ce-4b49-88b9-d59b388a0cde}/components/ed2kprotocol.js: 76e0e94039a8196594b96c92f288986bffda45ff72fe481d70d60fa1261241e1
  /usr/local/lib/xpi/{bc72206d-b3ce-4b49-88b9-d59b388a0cde}/defaults/preferences/defaultprefs.js: 8dfc5dc6ba61a461043982ec7787779656e68a0f85c16a6e4a1d6ee33413b575
  /usr/local/lib/xpi/{bc72206d-b3ce-4b49-88b9-d59b388a0cde}/install.rdf: 6edec92373af7ef5a78de142770dab3223d1c3d69c07c261acfd4337886ac148
directories:
  /usr/local/lib/xpi/{bc72206d-b3ce-4b49-88b9-d59b388a0cde}/defaults/preferences/: n
  /usr/local/lib/xpi/{bc72206d-b3ce-4b49-88b9-d59b388a0cde}/defaults/: n
  /usr/local/lib/xpi/{bc72206d-b3ce-4b49-88b9-d59b388a0cde}/components/: n
  /usr/local/lib/xpi/{bc72206d-b3ce-4b49-88b9-d59b388a0cde}/chrome/: n
  /usr/local/lib/xpi/{bc72206d-b3ce-4b49-88b9-d59b388a0cde}/: 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/{bc72206d-b3ce-4b49-88b9-d59b388a0cde} $_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/{bc72206d-b3ce-4b49-88b9-d59b388a0cde} ; }
