blob: 3b10dd00364b5900dafe16f2be9b4138b6725222 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/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
|