6492858dad
old sparc version is handled by cvsup-bin-old now
43 lines
728 B
Bash
43 lines
728 B
Bash
#!/bin/sh
|
|
|
|
# Function: tell the user the requirements for this port
|
|
#
|
|
do_notice()
|
|
{
|
|
case `uname -m` in
|
|
i386)
|
|
echo
|
|
echo "+---------------"
|
|
echo "| This application requires a kernel compiled with"
|
|
echo "| 'option COMPAT_FREEBSD' for proper operation. The"
|
|
echo "| GENERIC kernel contains this option."
|
|
echo "+---------------"
|
|
echo
|
|
;;
|
|
esac
|
|
}
|
|
|
|
# Verify proper execution
|
|
#
|
|
if [ $# -ne 2 ]; then
|
|
echo "usage: $0 distname { INSTALL | DEINSTALL }" >&2
|
|
exit 1
|
|
fi
|
|
|
|
# Verify/process the command
|
|
#
|
|
case $2 in
|
|
DEINSTALL)
|
|
: nothing to de-install for this port
|
|
;;
|
|
INSTALL)
|
|
do_notice
|
|
;;
|
|
*)
|
|
echo "usage: $0 distname { INSTALL | DEINSTALL }" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|