1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/mail/pecl-mailparse/pkg-deinstall
Edwin Groothuis 3e58e0c900 New port: mail/pear-mailparse
PEAR classes to create and decode MIME messages.

PR:		ports/48121
Submitted by:	Thierry Thomas <thierry@pompo.net>
2003-02-24 05:51:29 +00:00

14 lines
246 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 ${PACKAGE} || true