From 12af41b4d35ee3c5f26d7b062d7983beaed0f88d Mon Sep 17 00:00:00 2001 From: ale Date: Mon, 11 Apr 2005 08:40:48 +0000 Subject: Create directory and touch files that "pear" creates when dealing with pear modules and the port will later delete. Suggested by: kris --- lang/php53/Makefile.pear | 5 +++++ lang/php53/pkg-plist.pear | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'lang/php53') diff --git a/lang/php53/Makefile.pear b/lang/php53/Makefile.pear index 60f3583..b69f41a 100644 --- a/lang/php53/Makefile.pear +++ b/lang/php53/Makefile.pear @@ -1,3 +1,5 @@ +PORTREVISION= 2 + USE_GNOME= libxml2 GNU_CONFIGURE= yes @@ -28,4 +30,7 @@ post-patch: post-install: @${INSTALL_SCRIPT} ${WRKSRC}/pear/scripts/pear ${PREFIX}/bin + @${MKDIR} ${PREFIX}/lib/php/pear/.registry + @${TOUCH} ${PREFIX}/lib/php/pear/.filemap + @${TOUCH} ${PREFIX}/lib/php/pear/.lock @${SED} "s|\$${LOCALBASE}|${LOCALBASE}|g;s|\$${PREFIX}|${PREFIX}|g" < ${PKGMESSAGE} diff --git a/lang/php53/pkg-plist.pear b/lang/php53/pkg-plist.pear index 6d94492..30fb654 100644 --- a/lang/php53/pkg-plist.pear +++ b/lang/php53/pkg-plist.pear @@ -1,6 +1,6 @@ bin/pear -@unexec rm %D/lib/php/pear/.filemap 2> /dev/null || true -@unexec rm %D/lib/php/pear/.lock 2> /dev/null || true +lib/php/pear/.filemap +lib/php/pear/.lock share/pear/bootstrap/Archive/Tar.php share/pear/bootstrap/PEAR.php share/pear/bootstrap/System.php @@ -33,8 +33,8 @@ 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 -@unexec rmdir %D/lib/php/pear/.registry 2> /dev/null || true -@unexec rmdir %D/lib/php/pear 2> /dev/null || true +@dirrm lib/php/pear/.registry +@dirrm lib/php/pear @unexec rmdir %D/lib/php 2> /dev/null || true @dirrm share/pear/bootstrap/Archive @dirrm share/pear/bootstrap/Console -- cgit v1.1