aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php4
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2005-04-15 16:12:00 +0800
committerale <ale@FreeBSD.org>2005-04-15 16:12:00 +0800
commit8b8902331b53c7f9ebca22d558ca18d1f98699ae (patch)
treec40db7097535df6db7e09aa7de2c243b90e9be22 /lang/php4
parentbb632c9ded1bd6c59214ef50589439b6b44b4d0a (diff)
downloadfreebsd-ports-gnome-8b8902331b53c7f9ebca22d558ca18d1f98699ae.tar.gz
freebsd-ports-gnome-8b8902331b53c7f9ebca22d558ca18d1f98699ae.tar.zst
freebsd-ports-gnome-8b8902331b53c7f9ebca22d558ca18d1f98699ae.zip
Fix definitely pear package deinstallation.
PR: ports/79830 Submitted by: leeym
Diffstat (limited to 'lang/php4')
-rw-r--r--lang/php4/Makefile.pear2
-rw-r--r--lang/php4/pkg-plist.pear10
2 files changed, 7 insertions, 5 deletions
diff --git a/lang/php4/Makefile.pear b/lang/php4/Makefile.pear
index f4480e1d0936..21fbfcac7dcb 100644
--- a/lang/php4/Makefile.pear
+++ b/lang/php4/Makefile.pear
@@ -1,4 +1,4 @@
-PORTREVISION= 1
+PORTREVISION= 2
LIB_DEPENDS+= expat.5:${PORTSDIR}/textproc/expat2
diff --git a/lang/php4/pkg-plist.pear b/lang/php4/pkg-plist.pear
index 117317321c14..9e0a562ecc98 100644
--- a/lang/php4/pkg-plist.pear
+++ b/lang/php4/pkg-plist.pear
@@ -1,7 +1,7 @@
bin/pear
-lib/php/pear/.filemap
-lib/php/pear/.lock
@exec mkdir -p %D/lib/php/pear/.registry
+@exec touch %D/lib/php/pear/.filemap
+@exec touch %D/lib/php/pear/.lock
share/pear/bootstrap/Archive/Tar.php
share/pear/bootstrap/PEAR.php
share/pear/bootstrap/System.php
@@ -33,8 +33,10 @@ share/pear/bootstrap/PEAR/Remote.php
share/pear/bootstrap/PEAR/RunTest.php
share/pear/bootstrap/XML/RPC.php
share/pear/bootstrap/XML/RPC/Server.php
-@dirrm lib/php/pear/.registry
-@dirrm lib/php/pear
+@unexec rm %D/lib/php/pear/.filemap 2> /dev/null || true
+@unexec rm %D/lib/php/pear/.lock 2> /dev/null || true
+@unexec rmdir %D/lib/php/pear/.registry 2> /dev/null || true
+@unexec rmdir %D/lib/php/pear 2> /dev/null || true
@unexec rmdir %D/lib/php 2> /dev/null || true
@dirrm share/pear/bootstrap/Archive
@dirrm share/pear/bootstrap/Console