openbsd-ports/net/cvsup-bin/pkg/REQ
naddy 6492858dad current version of cvsup for i386 only; reviewed by kevlo@
old sparc version is handled by cvsup-bin-old now
2000-07-11 01:07:53 +00:00

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