Create directory and touch files that "pear" creates when dealing
with pear modules and the port will later delete. Suggested by: kris
This commit is contained in:
parent
57b41f2de5
commit
cab92a3dee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133002
6 changed files with 27 additions and 12 deletions
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue