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 | |
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
-rw-r--r-- | lang/php4/Makefile.pear | 5 | ||||
-rw-r--r-- | lang/php4/pkg-plist.pear | 8 | ||||
-rw-r--r-- | lang/php5/Makefile.pear | 5 | ||||
-rw-r--r-- | lang/php5/pkg-plist.pear | 8 | ||||
-rw-r--r-- | lang/php53/Makefile.pear | 5 | ||||
-rw-r--r-- | lang/php53/pkg-plist.pear | 8 |
6 files changed, 27 insertions, 12 deletions
diff --git a/lang/php4/Makefile.pear b/lang/php4/Makefile.pear index 4c3e80e..f4480e1 100644 --- a/lang/php4/Makefile.pear +++ b/lang/php4/Makefile.pear @@ -1,3 +1,5 @@ +PORTREVISION= 1 + LIB_DEPENDS+= expat.5:${PORTSDIR}/textproc/expat2 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/php4/pkg-plist.pear b/lang/php4/pkg-plist.pear index 5bdbc68..f127fde 100644 --- a/lang/php4/pkg-plist.pear +++ b/lang/php4/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 @@ -32,8 +32,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 diff --git a/lang/php5/Makefile.pear b/lang/php5/Makefile.pear index 60f3583..b69f41a 100644 --- a/lang/php5/Makefile.pear +++ b/lang/php5/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/php5/pkg-plist.pear b/lang/php5/pkg-plist.pear index 6d94492..30fb654 100644 --- a/lang/php5/pkg-plist.pear +++ b/lang/php5/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 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 |