summaryrefslogblamecommitdiff
path: root/www/flashplugin/pkg-req
blob: c49d386b69f730aa631ccc6e5c0b3b2864aa1b83 (plain) (tree)






























                                                                 
#!/bin/sh

[ X"$2" = X"INSTALL" ] || exit 0;

check=${PKG_PREFIX}/lib/netscape/plugins/libnullplugin.so

if [ ! -f $check ]; then
    cat <<EOF
****
Please install Netscape Communicator/Navigator 4.0 or later
before installing this plugin.
****
EOF
    exit 1
fi

if file $check | grep -qw ELF ; then
    cat <<EOF
****
You seem to be using Netscape for Linux, but the binary 
that you are going to install is a FreeBSD's a.out.

Go get the Linux binary to:
   http://www.geocities.com/TimesSquare/Labyrinth/5084/flash.html

or use Netscape for FreeBSD.
****
EOF
    exit 1
fi