1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/flashplugin/pkg-req
SADA Kenji 0b03673fc0 A Macromedia Flash plugin for Netscape.
This port installs an a.out binary which won't run on
linux-netscape*. The REQ script aborts the installation
when linux-netscape is installed.

PR:		ports/14093
Submitted by:	Akinori MUSHA aka knu <knu@idaemons.org>
1999-10-10 19:49:03 +00:00

32 lines
578 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
****
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