mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-08 23:06:56 +00:00
aa8cc2cf03
- Download and install the binary compiled on 2.2.x. - Recommend to install linux-flashplugin instead for Linux Netscape. (For old installations) Define CXXFLAGS in Makefile to build correctly.
28 lines
498 B
Bash
28 lines
498 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.
|
|
|
|
Install www/linux-flashplugin port instead.
|
|
****
|
|
EOF
|
|
exit 1
|
|
fi
|