freebsd-ports/www/linux-firefox/files/linkfarm.in
Jean-Yves Lefort 5c1072719f [1]:
- Respect %%X11BASE%% in linkfarm
  - Add linux-adobesvg support

[2]:
  - Add linux-sun-jdk support

[1]:
PR:		ports/93519
Submitted by:	jylefort
Approved by:	maintainer

[2]:
PR:		ports/93476
Submitted by:	Pawel Pekala <c0rn@o2.pl>
Approved by:	maintainer
2006-02-18 10:42:11 +00:00

18 lines
730 B
Bash

#!/bin/sh
# Run this after installing Beonex, Mozilla or Netscape plugins
cd %%PREFIX%%/lib/%%FIREFOX_NAME%%/plugins
find -L . -type l -delete
find %%X11BASE%%/lib/linux-beonex/plugins \
%%X11BASE%%/lib/netscape-linux/plugins \
%%X11BASE%%/lib/flash \
%%X11BASE%%/lib/linux-mozilla/plugins \
%%X11BASE%%/lib/linux-netscape*/plugins \
%%X11BASE%%/lib/linux-flashplugin6 \
%%X11BASE%%/lib/linux-flashplugin7 \
%%LOCALBASE%%/linux-sun-jdk1.4.2/jre/plugin/i386/ns610-gcc32 \
%%X11BASE%%/linux-blackdown-jdk1.3.1/jre/plugin/i386/mozilla \
%%X11BASE%%/linux-blackdown-jdk1.4.2/jre/plugin/i386/mozilla \
-type f -maxdepth 1 -exec ln -s {} \; 2>/dev/null
ln -sf %%X11BASE%%/lib/linux-adobesvg/libNPSVG3.so . 2>/dev/null
exit 0