head	1.3;
access;
symbols
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.1
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1;
locks; strict;
comment	@# @;


1.3
date	2010.06.24.11.24.43;	author jadawin;	state dead;
branches;
next	1.2;

1.2
date	2001.08.04.05.41.37;	author trevor;	state Exp;
branches;
next	1.1;

1.1
date	2000.09.17.19.05.58;	author ade;	state Exp;
branches;
next	;


desc
@@


1.3
log
@- Update to 2.2.7

PR:		ports/146977
Submitted by:	Anonymous <swell.k _AT_ gmail.com>
Feature safe:	yes
@
text
@#!/bin/sh
#
# De-installation setup of surfraw

# exit on errors, use a sane path and install prefix
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=${PREFIX}/etc/surfraw.conf

# Function: tell the user what they need to do to delete the port completely
#
do_notice()
{
    echo
    echo "+---------------"
    echo "| To completely deinstall the $1 package you need to perform"
    echo "| these steps as root:"
    echo "|"
    echo "|       rm -f ${CONFIG_FILE}"
    echo "|"
    echo "| Do not do this if you plan on re-installing $1"
    echo "| at some future time."
    echo "+---------------"
    echo
}

# Verify proper execution
#
if [ $# -ne 2 ]; then
    echo "usage: $0 distname { DEINSTALL | POST-DEINSTALL }" >&2
    exit 1
fi

# Verify/process the command
#
case $2 in
    DEINSTALL)
        : nothing to deinstall for this port
	;;
    POST-DEINSTALL)
	if [ -f ${CONFIG_FILE} ]; then
	    do_notice "$1"
	fi
        ;;
    *)
	echo "usage: $0 distname { DEINSTALL | POST-DEINSTALL }" >&2
	exit 1
	;;
esac

exit 0
@


1.2
log
@Update to 1.0.3.

PR:  29050
Submitted by:  maintainer
@
text
@@


1.1
log
@Update to version 1.0.1

PR:		21326
Submitted by:	maintainer
@
text
@d40 3
a45 3
	;;
    POST-DEINSTALL)
        : nothing to post-deinstall for this port
@

