01eb432f0f
o patch doc to reflect proper location of config files o add INSTALL/DEINSTALL scripts o call INSTALL script from a post-install target in Makefile o remove de-install message from packing list (now in DEINSTALL script) THIS PORT IS NOW FROZEN FOR 2.5
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
#!/bin/sh
|
|
# $OpenBSD: INSTALL,v 1.1 1999/04/08 17:36:49 marc Exp $
|
|
#
|
|
# Pre/post-installation setup of pine
|
|
|
|
# Function: tell the user what s/he needs to do to use the port just installed
|
|
#
|
|
do_notice()
|
|
{
|
|
echo
|
|
echo "+---------------"
|
|
echo "| Some documentation for $1 can be found in"
|
|
echo "| ${PREFIX}/share/doc/pine as well as pine(1)."
|
|
echo "|"
|
|
echo "| Please read the documentation for instruction on how to make/update"
|
|
echo "| the configuration files /etc/pine.conf and /etc/pine.conf.fixed"
|
|
echo "+---------------"
|
|
echo
|
|
}
|
|
|
|
# exit on errors, use a sane path and install prefix
|
|
#
|
|
set -e
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
|
PIDFILE=/var/run/sshd.pid
|
|
|
|
# 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
|