freebsd-ports/www/linuxpluginwrapper/files/pkg-message.in
Pete Fritchman 188fd47f90 1. drop the RUN_DEPENDS on mozilla so the users can choose what mozilla
they want to install.
2. make the pkg-message refer to ${PREFIX}/lib/browser_plugins/

Suggested by:	obrien (a long time ago, sorry I forgot about this)  [1],
		marcus [2]
2003-01-09 06:13:17 +00:00

16 lines
576 B
Text

If you are using a Mozilla browser, you first need to copy the linux
flash plugin into the mozilla plugins directory:
# cp %%LOCALBASE%%/lib/flash/libflashplayer.so \
%%X11BASE%%/lib/browser_plugins/libflashplayer_linux.so
# cp %%LOCALBASE%%/lib/flash/ShockwaveFlash.class \
%%X11BASE%%/lib/browser_plugins/
Next, change the Mozilla startup script, %%X11BASE%%/bin/mozilla
to have:
LD_PRELOAD=%%PREFIX%%/lib/libflashplayer.so.1
export LD_PRELOAD
at the top of it (but after #!/bin/sh). Now start mozilla and go to
'about:plugins' and the flash plugin is enabled!