freebsd-ports/devel/pear-PEAR/pkg-deinstall
Norikatsu Shigemura 077b4b53b0 Update to pear-Archive_Tar 1.1.
Update to pear-PEAR 1.1.
Update to pear-HTML_Common 1.2.
Update to pear-Net_SMTP 1.2.3.
Update to pear-Log 1.6.5.
Update to pear-I18N 0.8.5.
Update to pear 4.3.2.

Adapt following ports for pear-PEAR's Makefile.common.
pear-Console_Getopt, pear-Auth, pear-Auth_SASL, devel/pear-Date,
net/pear-Net_Socket, pear-Mail_Mime, pear-Crypt_CBC, pear-mailparse,
pear-File, pear-HTML_Select_Common, and pear-Net_Sieve

PR:		ports/52596, ports/52641, ports/52655, ports/52656,
		ports/52671, ports/52678, ports/52845
Submitted by:	Thierry Thomas <thierry@pompo.net>
2003-06-07 23:00:46 +00:00

13 lines
249 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# Remove package declaration from PEAR's registry.
if [ x$2 != xDEINSTALL ]; then
exit
fi
PKG_NAME=${1%%-[0-9._]*}
PACKAGE=$(echo $PKG_NAME | sed 's/pear-//')
${PKG_PREFIX}/bin/pear uninstall -r -n ${PACKAGE} || true