do not install the pear.conf file as it is not needed and it just
breaks things
This commit is contained in:
parent
4f20f8df6f
commit
487295d6ff
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/03/19 23:13:23 robert Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2007/03/20 11:12:22 robert Exp $
|
||||
|
||||
COMMENT-main= "base classes for common PHP tasks"
|
||||
COMMENT-utils= "utilities for managing pear extensions"
|
||||
@ -41,7 +41,6 @@ do-install:
|
||||
|
||||
@mv ${WRKINST}${PREFIX-main}/bin ${WRKINST}${PREFIX-utils}/
|
||||
@mv ${WRKINST}${PREFIX-main}/share/doc/pear ${WRKINST}${PREFIX-utils}/share/doc/
|
||||
@mv ${WRKINST}${PREFIX-main}/etc/pear.conf ${WRKINST}${PREFIX-utils}/share/doc/pear
|
||||
@rm -rf ${WRKINST}${PREFIX-main}/share ${WRKINST}${PREFIX-main}/etc
|
||||
|
||||
@find ${WRKINST}${PREFIX-main} -name "*.php" -exec perl -pi -e "s,${WRKINST},,g" {} \;
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile.pear,v 1.1.1.1 2007/03/19 23:13:23 robert Exp $
|
||||
# $OpenBSD: Makefile.pear,v 1.2 2007/03/20 11:12:22 robert Exp $
|
||||
# Default Makefile to install a PHP PEAR module
|
||||
|
||||
default:
|
||||
@ -8,6 +8,6 @@ install:
|
||||
mkdir -p ${PREFIX}/lib/php
|
||||
${LOCALBASE}/bin/pear install -R ${WRKINST} -n ${.CURDIR}/package.xml
|
||||
|
||||
# These directories and files are not needed
|
||||
cd ${WRKINST}/var/www/pear && rm -rf cache lib/.channels lib/.channels/__uri.reg \
|
||||
# These directories and files are not needed
|
||||
@cd ${WRKINST}/var/www/pear && rm -rf cache lib/.channels lib/.channels/__uri.reg \
|
||||
lib/.depdb* lib/.registry/.channel*
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-utils,v 1.1.1.1 2007/03/19 23:13:23 robert Exp $
|
||||
@comment $OpenBSD: PLIST-utils,v 1.2 2007/03/20 11:12:22 robert Exp $
|
||||
@group daemon
|
||||
bin/pear
|
||||
bin/peardev
|
||||
@ -38,5 +38,3 @@ share/doc/pear/Structures_Graph/docs/html/todolist.html
|
||||
share/doc/pear/Structures_Graph/docs/tutorials/
|
||||
share/doc/pear/Structures_Graph/docs/tutorials/Structures_Graph/
|
||||
share/doc/pear/Structures_Graph/docs/tutorials/Structures_Graph/Structures_Graph.pkg
|
||||
share/doc/pear/pear.conf
|
||||
@sample ${SYSCONFDIR}/pear.conf
|
||||
|
Loading…
Reference in New Issue
Block a user