1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Remove pkg-install and pkg-deinstall.

Bump PORTREVISION accordingly.

Submitted by:	Thierry Thomas <thierry@pompo.net>
Pointy hat to:	myself
This commit is contained in:
Norikatsu Shigemura 2003-06-08 16:02:54 +00:00
parent bf2ba4d989
commit b29cf2c53f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82539
3 changed files with 1 additions and 28 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= Mail_Mime
PORTVERSION= 1.2.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= mail www
MAINTAINER= ports@FreeBSD.org

View File

@ -1,13 +0,0 @@
#!/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

View File

@ -1,14 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
#
# Register the package $1 in the port registry
PREFIX=${PKG_PREFIX:-/usr/local}
PEAR=${PREFIX}/bin/pear
PKGREGDIR=${PREFIX}/.PEAR.pkg/$1
[ "x$1" = "x" ] && exit 1
if [ "x$2" = "xPOST-INSTALL" ]; then
${PEAR} install -r -f ${PKGREGDIR}/package.xml
fi