openbsd-ports/databases/postgresql/pkg/INSTALL
espie 594099de65 Patches to fix dynamic libraries, especially on ppc which understands
only major/minor.

Add DYNLIBDIR where needed.

Some style issues.

From peter@, brad@ and peter_e@gmx.net
2001-04-23 21:58:44 +00:00

49 lines
948 B
Plaintext

#!/bin/sh
#
# $OpenBSD: INSTALL,v 1.4 2001/04/23 21:58:44 espie Exp $
#
# Pre/post-installation setup of postgresql
# exit on errors, use a sane path and install prefix
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
# Function: tell the user what s/he needs to do to use the port just installed
#
do_notice()
{
echo
echo "+---------------"
echo "| The $1 package installation completed."
echo "| See $PREFIX/share/doc/postgresql/README.OpenBSD for"
echo "| information on using PostgreSQL package in OpenBSD environment."
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