#!/bin/sh
#
# $FreeBSD: ports/textproc/sphinxsearch/files/pkg-deinstall.in,v 1.2 2009/12/03 09:07:28 pav Exp $
#

sphinx_usr=_sphinx
sphinx_grp=_sphinx
sphinx_dir=/var/db/sphinxsearch
portname=sphinxsearch

case $2 in
    POST-DEINSTALL)

    cat <<EOMSG

The $portname port has been deleted.  If you are not
upgrading and don't intend to use $portname any more
then you may wish to delete the $sphinx_usr account,
and the $sphinx_grp group together with the working
directory $sphinx_dir; which can be done with the
following commands:

    # pw userdel -n $sphinx_usr
    # rm -rf $sphinx_dir
EOMSG
    echo
    ;;
esac

#
# That's All Folks!
#
