1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/flashplugin/pkg-req
Chris Piazza 63f4bcf9d7 BROKEN on 4.0 and clean up some ambiguities about this being
official from macromedia or not (etc).

PR:		16628
Submitted by:	"Akinori -Aki- MUSHA" <knu@idaemons.org>
2000-02-12 08:54:54 +00:00

32 lines
594 B
Bash

#!/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
****
It seems you are using Netscape for Linux, but the binary
that you are going to install is a FreeBSD's a.out.
Go get the Linux binary at:
http://www.geocities.com/TimesSquare/Labyrinth/5084/flash.html
or use Netscape for FreeBSD with this port.
****
EOF
exit 1
fi