pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/pear The PEAR package contains:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19731536492e
branches:  trunk
changeset: 528492:19731536492e
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sat May 05 21:21:45 2007 +0000

description:
The PEAR package contains:
* the PEAR installer, for creating, distributing and installing packages
* the PEAR_Exception PHP5 error handling mechanism
* the PEAR_ErrorStack advanced error handling mechanism
* the PEAR_Error error handling mechanism
* the OS_Guess class for retrieving info about the OS where PHP is running on
* the System class for quick handling of common operations with files and
  directories
  * the PEAR base class

diffstat:

 lang/pear/DESCR             |     9 +
 lang/pear/MESSAGE           |    15 +
 lang/pear/Makefile          |    95 +
 lang/pear/PLIST             |   194 +++
 lang/pear/distinfo          |    15 +
 lang/pear/files/go-pear.php |  2496 +++++++++++++++++++++++++++++++++++++++++++
 lang/pear/files/pear.sh     |    30 +
 lang/pear/patches/patch-aa  |   143 ++
 8 files changed, 2997 insertions(+), 0 deletions(-)

diffs (truncated from 3029 to 300 lines):

diff -r ee0e0965b4e3 -r 19731536492e lang/pear/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pear/DESCR   Sat May 05 21:21:45 2007 +0000
@@ -0,0 +1,9 @@
+The PEAR package contains:
+* the PEAR installer, for creating, distributing and installing packages
+* the PEAR_Exception PHP5 error handling mechanism
+* the PEAR_ErrorStack advanced error handling mechanism
+* the PEAR_Error error handling mechanism
+* the OS_Guess class for retrieving info about the OS where PHP is running on
+* the System class for quick handling of common operations with files and
+  directories
+* the PEAR base class
diff -r ee0e0965b4e3 -r 19731536492e lang/pear/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pear/MESSAGE Sat May 05 21:21:45 2007 +0000
@@ -0,0 +1,15 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2007/05/05 21:21:45 adrianp Exp $
+
+In order to use PEAR packages you may want to alter the default
+include_path of PHP to include the PEAR installation directory where the
+packages are located.  To do this you need to edit the include_path
+directive in your php.ini file:
+
+       ${PKG_SYSCONFDIR}/php.ini
+
+Change the "include_path" directive to read as follows:
+
+       include_path = ".:${PREFIX}/lib/php"
+
+===========================================================================
diff -r ee0e0965b4e3 -r 19731536492e lang/pear/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pear/Makefile        Sat May 05 21:21:45 2007 +0000
@@ -0,0 +1,95 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/05/05 21:21:45 adrianp Exp $
+#
+
+DISTNAME=      PEAR-1.5.2
+PKGNAME=       ${PHP_PKG_PREFIX}-${DISTNAME:S/PEAR/pear/}
+CATEGORIES=    lang
+MASTER_SITES=  http://download.pear.php.net/package/
+EXTRACT_SUFX=  .tgz
+
+MAINTAINER=    adrianp%NetBSD.org@localhost
+HOMEPAGE=      http://pear.php.net/
+COMMENT=       PEAR Base System for PHP
+
+USE_LANGUAGES= # none
+EXTRACT_ONLY=  # none
+USE_TOOLS+=    gzcat
+
+.include "../../lang/php/phpversion.mk"
+
+.if ${PKG_PHP_VERSION} == "4"
+CONFLICTS+=    php<4.4.6nb1
+.elif ${PKG_PHP_VERSION} == "5"
+CONFLICTS+=    php<5.2.1nb2
+.endif
+
+BUNDLE=                ${WRKSRC}/install/go-pear-bundle
+
+# everything else that forms a part of the "base" PEAR install
+#
+PEAR_SRCS=             PEAR-1.5.2${EXTRACT_SUFX}
+DISTFILES+=            ${PEAR_SRCS}
+EXTRACT_ONLY+=         ${PEAR_SRCS}
+
+ARCHIVE_SRCS=          Archive_Tar-1.3.2${EXTRACT_SUFX}
+ARCHIVE_WRKSRC=                ${WRKDIR}/${ARCHIVE_SRCS:S/${EXTRACT_SUFX}//}
+DISTFILES+=            ${ARCHIVE_SRCS}
+EXTRACT_ONLY+=         ${ARCHIVE_SRCS}
+
+CONSOLE_SRCS=          Console_Getopt-1.2.2${EXTRACT_SUFX}
+CONSOLE_WRKSRC=                ${WRKDIR}/${CONSOLE_SRCS:S/${EXTRACT_SUFX}//}
+DISTFILES+=            ${CONSOLE_SRCS}
+EXTRACT_ONLY+=         ${CONSOLE_SRCS}
+
+STRUCTURES_SRCS=       Structures_Graph-1.0.2${EXTRACT_SUFX}
+DISTFILES+=            ${STRUCTURES_SRCS}
+#
+# end of base components
+
+SUBST_CLASSES+=                config
+SUBST_STAGE.config=    post-patch
+SUBST_FILES.config=    install/go-pear.php
+SUBST_SED.config=      -e "s|@PREFIX@|${PREFIX}|g"
+SUBST_SED.config+=     -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
+SUBST_MESSAGE.config=  Fixing configuration files.
+
+SUBST_CLASSES+=                pear
+SUBST_STAGE.pear=      post-patch
+SUBST_FILES.pear=      pear.sh
+SUBST_SED.pear=                -e "s|@php_bin@|${PREFIX}/bin/php|g"
+SUBST_SED.pear+=       -e "s|@php_dir@|${PREFIX}/lib/php|g"
+SUBST_SED.pear+=       -e "s|@SH@|${SH}|g"
+SUBST_MESSAGE.pear=    Fixing pear installation script.
+
+post-extract:
+       ${MKDIR} ${WRKSRC}/install
+       ${MKDIR} ${BUNDLE}
+       ${CP} ${FILESDIR}/go-pear.php ${WRKSRC}/install
+       ${CP} ${FILESDIR}/pear.sh ${WRKSRC}
+
+do-build:
+       ${GZCAT} ${DISTDIR}/${ARCHIVE_SRCS} > \
+               ${BUNDLE}/${ARCHIVE_SRCS:S/${EXTRACT_SUFX}/.tar/}
+       ${GZCAT} ${DISTDIR}/${CONSOLE_SRCS} > \
+               ${BUNDLE}/${CONSOLE_SRCS:S/${EXTRACT_SUFX}/.tar/}
+       ${GZCAT} ${DISTDIR}/${PEAR_SRCS} > \
+               ${BUNDLE}/${PEAR_SRCS:S/${EXTRACT_SUFX}/.tar/}
+       ${GZCAT} ${DISTDIR}/${STRUCTURES_SRCS} > \
+               ${BUNDLE}/${STRUCTURES_SRCS:S/${EXTRACT_SUFX}/.tar/}
+
+       ${CP} ${ARCHIVE_WRKSRC}/Archive/Tar.php ${BUNDLE}
+       ${CP} ${CONSOLE_WRKSRC}/Console/Getopt.php ${BUNDLE}
+       ${CP} ${WRKSRC}/PEAR.php ${BUNDLE}
+
+do-install:
+       ${PREFIX}/bin/php ${WRKSRC}/install/go-pear.php
+       ${INSTALL_SCRIPT} ${WRKSRC}/pear.sh ${PREFIX}/bin/pear
+
+.if ${PKG_PHP_VERSION} == "4"
+BUILDLINK_API_DEPENDS.php+=    php>=4.4.6nb1
+.elif ${PKG_PHP_VERSION} == "5"
+BUILDLINK_API_DEPENDS.php+=    php>=5.2.1nb2
+.endif
+
+.include "${PHPPKGSRCDIR}/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ee0e0965b4e3 -r 19731536492e lang/pear/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pear/PLIST   Sat May 05 21:21:45 2007 +0000
@@ -0,0 +1,194 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/05 21:21:45 adrianp Exp $
+bin/pear
+bin/peardev
+bin/pecl
+lib/php/.channels/.alias/pear.txt
+lib/php/.channels/.alias/pecl.txt
+lib/php/.channels/__uri.reg
+lib/php/.channels/pear.php.net.reg
+lib/php/.channels/pecl.php.net.reg
+lib/php/.depdb
+lib/php/.depdblock
+lib/php/.filemap
+lib/php/.lock
+@exec ${MKDIR} %D/lib/php/.registry/.channel.__uri
+@exec ${MKDIR} %D/lib/php/.registry/.channel.pecl.php.net
+lib/php/.registry/archive_tar.reg
+lib/php/.registry/console_getopt.reg
+lib/php/.registry/pear.reg
+lib/php/.registry/structures_graph.reg
+lib/php/Archive/Tar.php
+lib/php/Console/Getopt.php
+lib/php/OS/Guess.php
+lib/php/PEAR.php
+lib/php/PEAR/Autoloader.php
+lib/php/PEAR/Builder.php
+lib/php/PEAR/ChannelFile.php
+lib/php/PEAR/ChannelFile/Parser.php
+lib/php/PEAR/Command.php
+lib/php/PEAR/Command/Auth.php
+lib/php/PEAR/Command/Auth.xml
+lib/php/PEAR/Command/Build.php
+lib/php/PEAR/Command/Build.xml
+lib/php/PEAR/Command/Channels.php
+lib/php/PEAR/Command/Channels.xml
+lib/php/PEAR/Command/Common.php
+lib/php/PEAR/Command/Config.php
+lib/php/PEAR/Command/Config.xml
+lib/php/PEAR/Command/Install.php
+lib/php/PEAR/Command/Install.xml
+lib/php/PEAR/Command/Mirror.php
+lib/php/PEAR/Command/Mirror.xml
+lib/php/PEAR/Command/Package.php
+lib/php/PEAR/Command/Package.xml
+lib/php/PEAR/Command/Pickle.php
+lib/php/PEAR/Command/Pickle.xml
+lib/php/PEAR/Command/Registry.php
+lib/php/PEAR/Command/Registry.xml
+lib/php/PEAR/Command/Remote.php
+lib/php/PEAR/Command/Remote.xml
+lib/php/PEAR/Command/Test.php
+lib/php/PEAR/Command/Test.xml
+lib/php/PEAR/Common.php
+lib/php/PEAR/Config.php
+lib/php/PEAR/Dependency.php
+lib/php/PEAR/Dependency2.php
+lib/php/PEAR/DependencyDB.php
+lib/php/PEAR/Downloader.php
+lib/php/PEAR/Downloader/Package.php
+lib/php/PEAR/ErrorStack.php
+lib/php/PEAR/Exception.php
+lib/php/PEAR/Frontend.php
+lib/php/PEAR/Frontend/CLI.php
+lib/php/PEAR/Installer.php
+lib/php/PEAR/Installer/Role.php
+lib/php/PEAR/Installer/Role/Common.php
+lib/php/PEAR/Installer/Role/Data.php
+lib/php/PEAR/Installer/Role/Data.xml
+lib/php/PEAR/Installer/Role/Doc.php
+lib/php/PEAR/Installer/Role/Doc.xml
+lib/php/PEAR/Installer/Role/Ext.php
+lib/php/PEAR/Installer/Role/Ext.xml
+lib/php/PEAR/Installer/Role/Php.php
+lib/php/PEAR/Installer/Role/Php.xml
+lib/php/PEAR/Installer/Role/Script.php
+lib/php/PEAR/Installer/Role/Script.xml
+lib/php/PEAR/Installer/Role/Src.php
+lib/php/PEAR/Installer/Role/Src.xml
+lib/php/PEAR/Installer/Role/Test.php
+lib/php/PEAR/Installer/Role/Test.xml
+lib/php/PEAR/PackageFile.php
+lib/php/PEAR/PackageFile/Generator/v1.php
+lib/php/PEAR/PackageFile/Generator/v2.php
+lib/php/PEAR/PackageFile/Parser/v1.php
+lib/php/PEAR/PackageFile/Parser/v2.php
+lib/php/PEAR/PackageFile/v1.php
+lib/php/PEAR/PackageFile/v2.php
+lib/php/PEAR/PackageFile/v2/Validator.php
+lib/php/PEAR/PackageFile/v2/rw.php
+lib/php/PEAR/Packager.php
+lib/php/PEAR/REST.php
+lib/php/PEAR/REST/10.php
+lib/php/PEAR/REST/11.php
+lib/php/PEAR/Registry.php
+lib/php/PEAR/Remote.php
+lib/php/PEAR/RunTest.php
+lib/php/PEAR/Task/Common.php
+lib/php/PEAR/Task/Postinstallscript.php
+lib/php/PEAR/Task/Postinstallscript/rw.php
+lib/php/PEAR/Task/Replace.php
+lib/php/PEAR/Task/Replace/rw.php
+lib/php/PEAR/Task/Unixeol.php
+lib/php/PEAR/Task/Unixeol/rw.php
+lib/php/PEAR/Task/Windowseol.php
+lib/php/PEAR/Task/Windowseol/rw.php
+lib/php/PEAR/Validate.php
+lib/php/PEAR/Validator/PECL.php
+lib/php/PEAR/XMLParser.php
+lib/php/Structures/Graph.php
+lib/php/Structures/Graph/Manipulator/AcyclicTest.php
+lib/php/Structures/Graph/Manipulator/TopologicalSorter.php
+lib/php/Structures/Graph/Node.php
+lib/php/System.php
+lib/php/data/PEAR/package.dtd
+lib/php/data/PEAR/template.spec
+lib/php/data/Structures_Graph/LICENSE
+lib/php/data/Structures_Graph/genpackage.xml.pl
+lib/php/data/Structures_Graph/package.sh
+lib/php/data/Structures_Graph/publish.sh
+lib/php/doc/Archive_Tar/docs/Archive_Tar.txt
+lib/php/doc/PEAR/INSTALL
+lib/php/doc/PEAR/README
+lib/php/doc/Structures_Graph/docs/generate.sh
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Manipulator_AcyclicTest.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Manipulator_TopologicalSorter.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Node.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Manipulator_AcyclicTest_php.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Manipulator_TopologicalSorter_php.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Node_php.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_php.html
+lib/php/doc/Structures_Graph/docs/html/Structures_Graph/tutorial_Structures_Graph.pkg.html
+lib/php/doc/Structures_Graph/docs/html/classtrees_Structures_Graph.html
+lib/php/doc/Structures_Graph/docs/html/elementindex.html
+lib/php/doc/Structures_Graph/docs/html/elementindex_Structures_Graph.html
+lib/php/doc/Structures_Graph/docs/html/errors.html
+lib/php/doc/Structures_Graph/docs/html/index.html
+lib/php/doc/Structures_Graph/docs/html/li_Structures_Graph.html
+lib/php/doc/Structures_Graph/docs/html/media/banner.css
+lib/php/doc/Structures_Graph/docs/html/media/stylesheet.css
+lib/php/doc/Structures_Graph/docs/html/packages.html
+lib/php/doc/Structures_Graph/docs/html/todolist.html
+lib/php/doc/Structures_Graph/docs/tutorials/Structures_Graph/Structures_Graph.pkg
+lib/php/pearcmd.php
+lib/php/peclcmd.php
+lib/php/test/Structures_Graph/tests/README
+lib/php/test/Structures_Graph/tests/all-tests.php
+lib/php/test/Structures_Graph/tests/testCase/BasicGraph.php
+@dirrm lib/php/doc/Archive_Tar/docs
+@dirrm lib/php/doc/Archive_Tar
+@dirrm lib/php/doc/PEAR
+@dirrm lib/php/data/Structures_Graph
+@dirrm lib/php/data/PEAR
+@unexec ${RMDIR} %D/lib/php/data 2>/dev/null || ${TRUE}
+@dirrm lib/php/Structures/Graph/Manipulator
+@dirrm lib/php/Structures/Graph
+@dirrm lib/php/Structures
+@dirrm lib/php/PEAR/Validator
+@dirrm lib/php/PEAR/Task/Windowseol
+@dirrm lib/php/PEAR/Task/Unixeol
+@dirrm lib/php/PEAR/Task/Replace
+@dirrm lib/php/PEAR/Task/Postinstallscript
+@dirrm lib/php/PEAR/Task
+@dirrm lib/php/PEAR/REST
+@dirrm lib/php/PEAR/PackageFile/v2
+@dirrm lib/php/PEAR/PackageFile/Parser



Home | Main Index | Thread Index | Old Index