openbsd-ports/www/jserv/pkg/INSTALL
reinhard cfaba9a100 Tomcat is the Java Servlet / Java Server Page environment produced
by the Apache Foundation's Jakarta Project.  This package provides
the Apache Tomcat connector.
2001-06-17 12:22:17 +00:00

48 lines
857 B
Plaintext

#!/bin/sh
#
# $OpenBSD: INSTALL,v 1.1.1.1 2001/06/17 12:22:17 reinhard Exp $
#
# jserv installation
# exit on errors, use a sane path and install prefix
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
do_notice()
{
echo
echo "+---------------"
echo "| To finish the install, you need to enable the jserv"
echo "| module using the following command"
echo "|"
echo "| $PREFIX/sbin/jserv-enable"
echo "+---------------"
echo
}
# verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
PRE-INSTALL)
: nothing to pre-install for this port
;;
POST-INSTALL)
do_notice $1
;;
*)
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
;;
esac
exit 0