diff options
author | ale <ale@FreeBSD.org> | 2005-04-11 08:40:48 +0000 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2005-04-11 08:40:48 +0000 |
commit | 12af41b4d35ee3c5f26d7b062d7983beaed0f88d (patch) | |
tree | d9e5ff839f8937c266d7ca844c02a9e80aae00ea /lang/php53 | |
parent | 9998cc4675c4951f43a8127c39aed3afa6d8c6f6 (diff) | |
download | FreeBSD-ports-12af41b4d35ee3c5f26d7b062d7983beaed0f88d.zip FreeBSD-ports-12af41b4d35ee3c5f26d7b062d7983beaed0f88d.tar.gz |
Create directory and touch files that "pear" creates when dealing
with pear modules and the port will later delete.
Suggested by: kris
Diffstat (limited to 'lang/php53')
-rw-r--r-- | lang/php53/Makefile.pear | 5 | ||||
-rw-r--r-- | lang/php53/pkg-plist.pear | 8 |
2 files changed, 9 insertions, 4 deletions
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 |