[Midnightbsd-cvs] mports: mports/devel: Remove pear port

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Apr 29 00:31:00 EDT 2008


Log Message:
-----------
Remove pear port

Modified Files:
--------------
    mports/devel:
        Makefile (r1.210 -> r1.211)

Removed Files:
-------------
    mports/devel/pear:
        Makefile
        bsd.pear.mk
        distinfo
        pear-deinstall
        pear-install
        pkg-descr
        pkg-plist
    mports/devel/pear/files:
        PEAR_Installer.php.patch
        patch-go-pear
        pkg-message.in

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/Makefile,v
retrieving revision 1.210
retrieving revision 1.211
diff -L devel/Makefile -L devel/Makefile -u -r1.210 -r1.211
--- devel/Makefile
+++ devel/Makefile
@@ -212,7 +212,6 @@
     SUBDIR += pccts
     SUBDIR += pcre
     SUBDIR += pcre-utf8
-    SUBDIR += pear
     SUBDIR += pecl-json
     SUBDIR += performance
     SUBDIR += perltidy
--- devel/pear/pear-deinstall
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: ports/devel/pear/pear-deinstall,v 1.1 2005/12/09 18:58:03 ale Exp $
-#
-# Remove package declaration from PEAR's registry.
-
-if [ x$2 != xDEINSTALL ]; then
-    exit
-fi
-PKG_NAME=${1%%-[0-9._]*}
-PACKAGE=$(echo $PKG_NAME | sed 's/pear-//')
-
-PEAR=${PKG_PREFIX}/bin/pear
-
-${PEAR} uninstall -r -n ${PACKAGE} || true
--- devel/pear/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-PEAR is a framework and distribution system for reusable PHP components.
-
-PEAR is short for "PHP Extension and Application Repository" and is
-pronounced just like the fruit. The purpose of PEAR is to provide:
- - A structured library of open-sourced code for PHP users
- - A system for code distribution and package maintenance
- - A standard style for code written in PHP
- - The PHP Extension Community Library (PECL)
-
-WWW: http://pear.php.net/
-
-- Alex Dupre
-ale at FreeBSD.org
--- devel/pear/pkg-plist
+++ /dev/null
@@ -1,170 +0,0 @@
-bin/pear
-bin/peardev
-bin/pecl
-etc/pear.conf
-%%DOCSDIR%%/Archive_Tar/docs/Archive_Tar.txt
- at exec mkdir -p %D/share/pear/.channels/.alias
- at exec mkdir -p %D/share/pear/.registry/.channel.__uri
- at exec mkdir -p %D/share/pear/.registry/.channel.pecl.php.net
- at exec touch %D/share/pear/.channels/.alias/pear.txt
- at exec touch %D/share/pear/.channels/.alias/pecl.txt
- at exec touch %D/share/pear/.channels/__uri.reg
- at exec touch %D/share/pear/.channels/pear.php.net.reg
- at exec touch %D/share/pear/.channels/pecl.php.net.reg
- at exec touch %D/share/pear/.depdb
- at exec touch %D/share/pear/.depdblock
- at exec touch %D/share/pear/.filemap
- at exec touch %D/share/pear/.lock
-%%DATADIR%%/.registry/archive_tar.reg
-%%DATADIR%%/.registry/console_getopt.reg
-%%DATADIR%%/.registry/pear.reg
-%%DATADIR%%/.registry/xml_rpc.reg
-%%DATADIR%%/Archive/Tar.php
-%%DATADIR%%/Console/Getopt.php
-%%DATADIR%%/OS/Guess.php
-%%DATADIR%%/PEAR/Autoloader.php
-%%DATADIR%%/PEAR/Builder.php
-%%DATADIR%%/PEAR/ChannelFile/Parser.php
-%%DATADIR%%/PEAR/ChannelFile.php
-%%DATADIR%%/PEAR/Command/Auth.php
-%%DATADIR%%/PEAR/Command/Auth.xml
-%%DATADIR%%/PEAR/Command/Build.php
-%%DATADIR%%/PEAR/Command/Build.xml
-%%DATADIR%%/PEAR/Command/Channels.php
-%%DATADIR%%/PEAR/Command/Channels.xml
-%%DATADIR%%/PEAR/Command/Common.php
-%%DATADIR%%/PEAR/Command/Config.php
-%%DATADIR%%/PEAR/Command/Config.xml
-%%DATADIR%%/PEAR/Command/Install.php
-%%DATADIR%%/PEAR/Command/Install.xml
-%%DATADIR%%/PEAR/Command/Mirror.php
-%%DATADIR%%/PEAR/Command/Mirror.xml
-%%DATADIR%%/PEAR/Command/Package.php
-%%DATADIR%%/PEAR/Command/Package.xml
-%%DATADIR%%/PEAR/Command/Pickle.php
-%%DATADIR%%/PEAR/Command/Pickle.xml
-%%DATADIR%%/PEAR/Command/Registry.php
-%%DATADIR%%/PEAR/Command/Registry.xml
-%%DATADIR%%/PEAR/Command/Remote.php
-%%DATADIR%%/PEAR/Command/Remote.xml
-%%DATADIR%%/PEAR/Command/Test.php
-%%DATADIR%%/PEAR/Command/Test.xml
-%%DATADIR%%/PEAR/Command.php
-%%DATADIR%%/PEAR/Common.php
-%%DATADIR%%/PEAR/Config.php
-%%DATADIR%%/PEAR/Dependency.php
-%%DATADIR%%/PEAR/Dependency2.php
-%%DATADIR%%/PEAR/DependencyDB.php
-%%DATADIR%%/PEAR/Downloader/Package.php
-%%DATADIR%%/PEAR/Downloader.php
-%%DATADIR%%/PEAR/ErrorStack.php
-%%DATADIR%%/PEAR/Exception.php
-%%DATADIR%%/PEAR/Frontend/CLI.php
-%%DATADIR%%/PEAR/Frontend.php
-%%DATADIR%%/PEAR/Installer/Role/Common.php
-%%DATADIR%%/PEAR/Installer/Role/Data.php
-%%DATADIR%%/PEAR/Installer/Role/Data.xml
-%%DATADIR%%/PEAR/Installer/Role/Doc.php
-%%DATADIR%%/PEAR/Installer/Role/Doc.xml
-%%DATADIR%%/PEAR/Installer/Role/Ext.php
-%%DATADIR%%/PEAR/Installer/Role/Ext.xml
-%%DATADIR%%/PEAR/Installer/Role/Php.php
-%%DATADIR%%/PEAR/Installer/Role/Php.xml
-%%DATADIR%%/PEAR/Installer/Role/Script.php
-%%DATADIR%%/PEAR/Installer/Role/Script.xml
-%%DATADIR%%/PEAR/Installer/Role/Src.php
-%%DATADIR%%/PEAR/Installer/Role/Src.xml
-%%DATADIR%%/PEAR/Installer/Role/Test.php
-%%DATADIR%%/PEAR/Installer/Role/Test.xml
-%%DATADIR%%/PEAR/Installer/Role.php
-%%DATADIR%%/PEAR/Installer.php
-%%DATADIR%%/PEAR/PackageFile/Generator/v1.php
-%%DATADIR%%/PEAR/PackageFile/Generator/v2.php
-%%DATADIR%%/PEAR/PackageFile/Parser/v1.php
-%%DATADIR%%/PEAR/PackageFile/Parser/v2.php
-%%DATADIR%%/PEAR/PackageFile/v1.php
-%%DATADIR%%/PEAR/PackageFile/v2/Validator.php
-%%DATADIR%%/PEAR/PackageFile/v2/rw.php
-%%DATADIR%%/PEAR/PackageFile/v2.php
-%%DATADIR%%/PEAR/PackageFile.php
-%%DATADIR%%/PEAR/Packager.php
-%%DATADIR%%/PEAR/REST/10.php
-%%DATADIR%%/PEAR/REST/11.php
-%%DATADIR%%/PEAR/REST.php
-%%DATADIR%%/PEAR/Registry.php
-%%DATADIR%%/PEAR/Remote.php
-%%DATADIR%%/PEAR/RunTest.php
-%%DATADIR%%/PEAR/Task/Common.php
-%%DATADIR%%/PEAR/Task/Postinstallscript/rw.php
-%%DATADIR%%/PEAR/Task/Postinstallscript.php
-%%DATADIR%%/PEAR/Task/Replace/rw.php
-%%DATADIR%%/PEAR/Task/Replace.php
-%%DATADIR%%/PEAR/Task/Unixeol/rw.php
-%%DATADIR%%/PEAR/Task/Unixeol.php
-%%DATADIR%%/PEAR/Task/Windowseol/rw.php
-%%DATADIR%%/PEAR/Task/Windowseol.php
-%%DATADIR%%/PEAR/Validate.php
-%%DATADIR%%/PEAR/Validator/PECL.php
-%%DATADIR%%/PEAR/XMLParser.php
-%%DATADIR%%/PEAR.php
-%%DATADIR%%/System.php
-%%DATADIR%%/XML/RPC/Dump.php
-%%DATADIR%%/XML/RPC/Server.php
-%%DATADIR%%/XML/RPC.php
-%%DATADIR%%/data/PEAR/package.dtd
-%%DATADIR%%/data/PEAR/template.spec
-%%DATADIR%%/pearcmd.php
-%%DATADIR%%/peclcmd.php
-%%DATADIR%%/tests/XML_RPC/tests/allgot.inc
-%%DATADIR%%/tests/XML_RPC/tests/empty-value-struct.php
-%%DATADIR%%/tests/XML_RPC/tests/empty-value.php
-%%DATADIR%%/tests/XML_RPC/tests/extra-lines.php
-%%DATADIR%%/tests/XML_RPC/tests/protoport.php
-%%DATADIR%%/tests/XML_RPC/tests/test_Dump.php
-%%DATADIR%%/tests/XML_RPC/tests/types.php
- at dirrm %%DOCSDIR%%/Archive_Tar/docs
- at dirrm %%DOCSDIR%%/Archive_Tar
- at dirrmtry share/doc/pear
- at unexec rm %D/share/pear/.channels/.alias/pear.txt 2> /dev/null || true
- at unexec rm %D/share/pear/.channels/.alias/pecl.txt 2> /dev/null || true
- at unexec rm %D/share/pear/.channels/__uri.reg 2> /dev/null || true
- at unexec rm %D/share/pear/.channels/pear.php.net.reg 2> /dev/null || true
- at unexec rm %D/share/pear/.channels/pecl.php.net.reg 2> /dev/null || true
- at unexec rm %D/share/pear/.depdb 2> /dev/null || true
- at unexec rm %D/share/pear/.depdblock 2> /dev/null || true
- at unexec rm %D/share/pear/.filemap 2> /dev/null || true
- at unexec rm %D/share/pear/.lock 2> /dev/null || true
- at dirrmtry share/pear/.channels/.alias
- at dirrmtry share/pear/.channels
- at dirrmtry share/pear/.registry/.channel.__uri
- at dirrmtry share/pear/.registry/.channel.pecl.php.net
- at dirrmtry share/pear/.registry
- at dirrm %%DATADIR%%/Archive
- at dirrm %%DATADIR%%/Console
- at dirrm %%DATADIR%%/OS
- at dirrm %%DATADIR%%/PEAR/ChannelFile
- at dirrm %%DATADIR%%/PEAR/Command
- at dirrm %%DATADIR%%/PEAR/Downloader
- at dirrm %%DATADIR%%/PEAR/Frontend
- at dirrm %%DATADIR%%/PEAR/Installer/Role
- at dirrm %%DATADIR%%/PEAR/Installer
- at dirrm %%DATADIR%%/PEAR/PackageFile/Generator
- at dirrm %%DATADIR%%/PEAR/PackageFile/Parser
- at dirrm %%DATADIR%%/PEAR/PackageFile/v2
- at dirrm %%DATADIR%%/PEAR/PackageFile
- at dirrm %%DATADIR%%/PEAR/REST
- at dirrm %%DATADIR%%/PEAR/Task/Postinstallscript
- at dirrm %%DATADIR%%/PEAR/Task/Replace
- at dirrm %%DATADIR%%/PEAR/Task/Unixeol
- at dirrm %%DATADIR%%/PEAR/Task/Windowseol
- at dirrm %%DATADIR%%/PEAR/Task
- at dirrm %%DATADIR%%/PEAR/Validator
- at dirrm %%DATADIR%%/PEAR
- at dirrm %%DATADIR%%/XML/RPC
- at dirrmtry share/pear/XML
- at dirrm %%DATADIR%%/data/PEAR
- at dirrmtry share/pear/data
- at dirrm %%DATADIR%%/tests/XML_RPC/tests
- at dirrm %%DATADIR%%/tests/XML_RPC
- at dirrmtry share/pear/tests
- at dirrmtry share/pear
--- devel/pear/pear-install
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: ports/devel/pear/pear-install,v 1.1 2005/12/09 18:58:03 ale Exp $
-#
-# Register the package $1 in the port registry
-
-PREFIX=${PKG_PREFIX:=%%PREFIX%%}
-PEAR=${PREFIX}/bin/pear
-PKGREGDIR=${PREFIX}/share/pear/packages/$1
-
-[ "x$1" = "x" ] && exit 1
-if [ "x$2" = "xPOST-INSTALL" ]; then
-	${PEAR} install -r -n -f ${PKGREGDIR}/package.xml
-fi
--- devel/pear/bsd.pear.mk
+++ /dev/null
@@ -1,236 +0,0 @@
-# $FreeBSD: ports/devel/pear/bsd.pear.mk,v 1.6 2006/05/04 21:40:59 edwin Exp $
-
-# Common code for pear- ports.
-
-MASTER_SITES=	http://pear.php.net/get/
-PKGNAMEPREFIX=	pear-
-EXTRACT_SUFX=	.tgz
-DIST_SUBDIR=	PEAR
-
-RUN_DEPENDS+=	pear:${PORTSDIR}/devel/pear
-
-.if !defined(USE_PHPIZE)
-NO_BUILD=	yes
-.endif
-
-.if exists(${LOCALBASE}/bin/php-config)
-PHP_BASE!=	${LOCALBASE}/bin/php-config --prefix
-.else
-PHP_BASE=	${LOCALBASE}
-.endif
-LPEARDIR=	share/pear
-LPKGREGDIR=	${LPEARDIR}/packages/${PKGNAME}
-LDATADIR=	${LPEARDIR}/data/${PORTNAME}
-LDOCSDIR=	share/doc/pear/${PORTNAME}
-LEXAMPLESDIR=	share/examples/pear/${PORTNAME}
-LSQLSDIR=	${LPEARDIR}/sql/${PORTNAME}
-LSCRIPTSDIR=	bin
-LTESTSDIR=	${LPEARDIR}/tests/${PORTNAME}
-PEARDIR=	${PHP_BASE}/${LPEARDIR}
-PKGREGDIR=	${PHP_BASE}/${LPKGREGDIR}
-DATADIR=	${PHP_BASE}/${LDATADIR}
-DOCSDIR=	${PHP_BASE}/${LDOCSDIR}
-EXAMPLESDIR=	${PHP_BASE}/${LEXAMPLESDIR}
-SQLSDIR=	${PHP_BASE}/${LSQLSDIR}
-SCRIPTFILESDIR=	${LOCALBASE}/bin
-TESTSDIR=	${PHP_BASE}/${LTESTSDIR}
-.if defined(CATEGORY) && !empty(CATEGORY)
-LINSTDIR=	${LPEARDIR}/${CATEGORY}
-.else
-LINSTDIR=	${LPEARDIR}
-.endif
-INSTDIR=	${PHP_BASE}/${LINSTDIR}
-
-.if !defined(USE_PHPIZE) && !exists(${.CURDIR}/pkg-plist)
-PLIST=		${WRKDIR}/PLIST
-.endif
-PLIST_SUB=	PEARDIR=${LPEARDIR} PKGREGDIR=${LPKGREGDIR} \
-		TESTSDIR=${LTESTSDIR} INSTDIR=${LINSTDIR} SQLSDIR=${LSQLSDIR} \
-		SCRIPTFILESDIR=${LCRIPTSDIR}
-
-PKGINSTALL=	${PORTSDIR}/devel/pear/pear-install
-PKGDEINSTALL=	${PORTSDIR}/devel/pear/pear-deinstall
-
-FILES?=
-DATA?=
-DOCS?=
-EXAMPLES?=
-SQLS?=
-SCRIPTFILES?=
-TESTS?=
-_DATADIR?=	data
-_DOCSDIR?=	docs
-_EXAMPLESDIR?=	examples
-_SQLSDIR?=	sql
-_TESTSDIR?=	tests
-
-# this is an easy way to eliminate duplicate entries in a variable :)
-# if someone knows how to achieve the result without this terrible
-# hack, please tell me!
-.for v in FILES DOCS TESTS EXAMPLES SQLS SCRIPTFILES DATA
-X${v}DIRS=	${${v}:M*/*:C;/[^/]+$;;}
-. for XD in ${X${v}DIRS}
-ALREADYTHERE=	0
-.  for D in ${${v}DIRS}
-DD=	${D}
-.   if ${DD} == ${XD}
-ALREADYTHERE=	1
-.   endif
-.  endfor
-.  if ${ALREADYTHERE} == 0
-${v}DIRS+=		${XD}
-.  endif
-. endfor
-.endfor
-
-pre-install:
-.if exists(${LOCALBASE}/lib/php.DIST_PHP)	\
-	|| exists(${PHP_BASE}/lib/php.DIST_PHP)	\
-	|| exists(${LOCALBASE}/.PEAR.pkg)	\
-	|| exists(${PHP_BASE}/.PEAR.pkg)
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "	Sorry, the PEAR structure has been modified;"
-	@${ECHO_MSG} "	Please deinstall your installed pear- ports."
-	@${ECHO_MSG} ""
-	@${FALSE}
-.endif
-
-DIRFILTER=	${SED} -En '\:^.*/[^/]*$$:s:^(.+)/[^/]*$$:\1:p' | ${SORT} -ru
-
-.if !defined(USE_PHPIZE)
-do-generate-plist:
-. if !exists(${.CURDIR}/pkg-plist)
-	@${ECHO_MSG} "===>   Generating packing list"; \
-	(for file in ${FILES}; do echo "${LINSTDIR}/$${file}"; done; \
-	for file in ${TESTS}; do echo "${LTESTSDIR}/$${file}"; done; \
-	for file in ${DATA}; do echo "${LDATADIR}/$${file}"; done; \
-	for file in ${SQLS}; do echo "${LSQLSDIR}/$${file}"; done; \
-	for file in ${SCRIPTFILES}; do echo "${LSCRIPTSDIR}/$${file}"; done; \
-	for file in ${DOCS}; do echo "%%PORTDOCS%%${LDOCSDIR}/$${file}"; done; \
-	for file in ${EXAMPLES}; do echo "%%PORTDOCS%%${LEXAMPLESDIR}/$${file}"; done; \
-	echo "${LPKGREGDIR}/package.xml"; \
-	for d in ${FILES} ${FILES:H}; do echo $${d}; done | ${DIRFILTER} | \
-	    while read dir; do echo "@dirrm ${LINSTDIR}/$${dir}"; done; \
-	for d in ${TESTS}; do echo $${d}; done | ${DIRFILTER} | \
-	    while read dir; do echo "@dirrm ${LTESTSDIR}/$${dir}"; done; \
-	for d in ${DATA}; do echo $${d}; done | ${DIRFILTER} | \
-	    while read dir; do echo "@dirrm ${LDATADIR}/$${dir}"; done; \
-	for d in ${SQLS}; do echo $${d}; done | ${DIRFILTER} | \
-	    while read dir; do echo "@dirrm ${LSQLSDIR}/$${dir}"; done; \
-	for d in ${DOCS}; do echo $${d}; done | ${DIRFILTER} | \
-	    while read dir; do echo "%%PORTDOCS%%@dirrm ${LDOCSDIR}/$${dir}"; done; \
-	for d in ${EXAMPLES}; do echo $${d}; done | ${DIRFILTER} | \
-	    while read dir; do echo "%%PORTDOCS%%@dirrm ${LEXAMPLESDIR}/$${dir}"; done; \
-	if [ -n "${TESTS}" ]; then echo "@dirrm ${LTESTSDIR}"; fi; \
-	if [ -n "${DATA}" ]; then echo "@dirrm ${LDATADIR}"; fi; \
-	if [ -n "${SQLS}" ]; then echo "@dirrm ${LSQLSDIR}"; fi; \
-	if [ -n "${DOCS}" ]; then echo "%%PORTDOCS%%@dirrm ${LDOCSDIR}"; fi; \
-	if [ -n "${EXAMPLES}" ]; then echo "%%PORTDOCS%%@dirrm ${LEXAMPLESDIR}"; fi; \
-	echo "@dirrm ${LPKGREGDIR}"; \
-	if [ -n "${CATEGORY}" ]; then echo "@dirrmtry ${LINSTDIR}"; fi; \
-	if [ -n "${CATEGORY:M*/*}" ]; then echo "@dirrmtry ${LINSTDIR:H}"; fi; \
-	echo "@dirrmtry ${LPKGREGDIR:H}"; \
-	echo "@dirrmtry ${LDOCSDIR:H}"; \
-	echo "@dirrmtry ${LEXAMPLESDIR:H}"; \
-	echo "@dirrmtry ${LTESTSDIR:H}"; \
-	echo "@dirrmtry ${LDATADIR:H}"; \
-	echo "@dirrmtry ${LSQLSDIR:H}") > ${PLIST}
-. endif
-
-. for t in files docs tests sqls scriptfiles examples data
-.  if !target(do-install-${t}-msg)
-do-install-${t}-msg: .USE
-.  endif
-. endfor
-
-pre-install: 	do-generate-plist
-do-install: 	do-install-files do-install-docs do-install-tests do-install-sqls \
-		do-install-scriptfiles do-install-examples do-install-data
-
-do-install-files: do-install-files-msg
-	@${MKDIR} ${INSTDIR}
-. for dir in ${FILESDIRS}
-	@${MKDIR} ${INSTDIR}/${dir}
-. endfor
-. for file in ${FILES}
-	@${INSTALL_DATA} ${WRKSRC}/${file} ${INSTDIR}/${file}
-. endfor
-
-do-install-docs: do-install-docs-msg
-. if !defined(NOPORTDOCS) && !empty(DOCS)
-	@${ECHO_MSG} "===> Installing documentation in ${DOCSDIR}."
-	@${MKDIR} ${DOCSDIR}
-.  for dir in ${DOCSDIRS}
-	@${MKDIR} ${DOCSDIR}/${dir}
-.  endfor
-.  for file in ${DOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${_DOCSDIR}/${file} ${DOCSDIR}/${file}
-.  endfor
-. endif
-
-do-install-tests: do-install-tests-msg
-. if !empty(TESTS)
-	@${ECHO_MSG} "===> Installing tests in ${TESTSDIR}."
-	@${MKDIR} ${TESTSDIR}
-.  for dir in ${TESTSDIRS}
-	@${MKDIR} ${TESTSDIR}/${dir}
-.  endfor
-.  for file in ${TESTS}
-	@${INSTALL_DATA} ${WRKSRC}/${_TESTSDIR}/${file} ${TESTSDIR}/${file}
-.  endfor
-. endif
-
-do-install-data: do-install-data-msg
-. if !empty(DATA)
-	@${ECHO_MSG} "===> Installing data in ${DATADIR}."
-	@${MKDIR} ${DATADIR}
-.  for dir in ${DATADIRS}
-	@${MKDIR} ${DATADIR}/${dir}
-.  endfor
-.  for file in ${DATA}
-	@${INSTALL_DATA} ${WRKSRC}/${_DATADIR}/${file} ${DATADIR}/${file}
-.  endfor
-. endif
-
-do-install-sqls: do-install-sqls-msg
-. if !empty(SQLS)
-	@${ECHO_MSG} "===> Installing sqls in ${SQLSDIR}."
-	@${MKDIR} ${SQLSDIR}
-.  for dir in ${SQLSDIRS}
-	@${MKDIR} ${SQLSDIR}/${dir}
-.  endfor
-.  for file in ${SQLS}
-	@${INSTALL_DATA} ${WRKSRC}/${_SQLSDIR}/${file} ${SQLSDIR}/${file}
-.  endfor
-. endif
-
-do-install-scriptfiles: do-install-scriptfiles-msg
-. if !empty(SCRIPTFILES)
-	@${ECHO_MSG} "===> Installing scripts in ${SCRIPTFILESDIR}."
-.  for file in ${SCRIPTFILES}
-	@${CP} ${WRKSRC}/pear-${file} ${WRKSRC}/${file}
-	@${REINPLACE_CMD} -e "s|@php_bin@|${SCRIPTFILESDIR}/php|g" ${WRKSRC}/${file}
-	@${REINPLACE_CMD} -e "s|@php_dir@|${PREFIX}/lib/php|g" ${WRKSRC}/${file}
-	@${REINPLACE_CMD} -e "s|@include_path@|${PREFIX}/${LPEARDIR}|g" ${WRKSRC}/${file}
-	@${INSTALL_SCRIPT} ${WRKSRC}/${file} ${SCRIPTFILESDIR}/${file}
-.  endfor
-. endif
-
-do-install-examples: do-install-examples-msg
-. if !defined(NOPORTDOCS) && !empty(EXAMPLES)
-	@${ECHO_MSG} "===> Installing examples in ${EXAMPLESDIR}."
-	@${MKDIR} ${EXAMPLESDIR}
-.  for dir in ${EXAMPLESDIRS}
-	@${MKDIR} ${EXAMPLESDIR}/${dir}
-.  endfor
-.  for file in ${EXAMPLES}
-	@${INSTALL_DATA} ${WRKSRC}/${_EXAMPLESDIR}/${file} ${EXAMPLESDIR}/${file}
-.  endfor
-. endif
-.endif
-
-post-install:
-	@${MKDIR} ${PKGREGDIR}
-	@${INSTALL_DATA} ${WRKDIR}/package.xml ${PKGREGDIR}
-	@${SETENV} PKG_PREFIX=${PREFIX} \
-	${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
--- devel/pear/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-# New ports collection makefile for:	pear
-# Date created:			25 Nov 2005
-# Whom:				Alex Dupre <ale at FreeBSD.org>
-#
-# $FreeBSD: ports/devel/pear/Makefile,v 1.19 2006/08/21 08:42:30 ale Exp $
-# $MidnightBSD: mports/devel/pear/Makefile,v 1.2 2007/10/01 19:47:03 ctriv Exp $
-#
-
-PORTNAME=	pear
-PORTVERSION=	1.4.11
-CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=	ale
-
-MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	PEAR framework for PHP
-
-USE_BZIP2=	yes
-NO_BUILD=	yes
-
-WANT_PHP_CLI=	yes
-USE_PHP=	pcre xml
-USE_PHP_BUILD=	yes
-
-SUB_FILES=	pkg-message
-PKGMESSAGE=	${WRKDIR}/pkg-message
-
-PEARDIR=	${PREFIX}/share/pear
-
-BROKEN=		does not fake
-
-post-patch:
-	@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/go-pear
-
-do-install:
-	@${MKDIR} ${PEARDIR}
-	${LOCALBASE}/bin/php -q ${WRKSRC}/go-pear
-	${PATCH} -p0 -s -b .orig -d ${PEARDIR} < ${PATCHDIR}/PEAR_Installer.php.patch
-	${RM} -f ${PEARDIR}/PEAR/Installer.php.orig
-
-.include <bsd.port.mk>
--- devel/pear/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pear-1.4.11.tar.bz2) = fe0953c0443ed7de1c1c4d6bdeda4c70
-SHA256 (pear-1.4.11.tar.bz2) = e68429c7fd5da250c472d8f78cf8605b6207d7b4a5465a6f597bf24332d47ac6
-SIZE (pear-1.4.11.tar.bz2) = 279164
--- devel/pear/files/pkg-message.in
+++ /dev/null
@@ -1,8 +0,0 @@
-*********************************************************
-
-To use PEAR you have to add the correct include path into
-your ${LOCALBASE}/etc/php.ini configuration file, like:
-
-include_path = ".:%%PREFIX%%/share/pear"
-
-*********************************************************
--- devel/pear/files/patch-go-pear
+++ /dev/null
@@ -1,126 +0,0 @@
---- go-pear.orig	Fri Aug 18 21:14:19 2006
-+++ go-pear	Mon Aug 21 09:31:30 2006
-@@ -308,6 +308,7 @@
-     $install_pfc = $_SESSION['go-pear']['install_pfc'];
- }
- 
-+/*
- if (!WEBINSTALLER) {
-     $tty = WINDOWS ? @fopen('\con', 'r') : @fopen('/dev/tty', 'r');
- 
-@@ -351,6 +352,7 @@
-         $http_proxy = $tmp;
-     }
- }
-+*/
- 
- $origpwd = getcwd();
- 
-@@ -423,6 +425,7 @@
-     }
- }
- 
-+/*
- while (!WEBINSTALLER) {
-     print "
- Below is a suggested file layout for your new PEAR installation.  To
-@@ -505,6 +508,7 @@
-         }
-     }
- }
-+*/
- 
- foreach ($config_vars as $n => $var) {
-     for ($m = 1; $m <= count($config_vars); $m++) {
-@@ -573,6 +577,7 @@
-     }
- }
- 
-+/*
- if (!WEBINSTALLER) {
-     $msg = "The following PEAR packages are bundled with PHP: " .
-         implode(', ', $pfc_packages);
-@@ -581,6 +586,7 @@
-     $install_pfc = !stristr(fgets($tty, 1024), "n");
-     print "\n";
- }
-+*/
- 
- ####
- # Download
-@@ -592,6 +598,7 @@
-    ini_set('include_path', $ptmp);
- }
- 
-+/*
- if (!extension_loaded('zlib') && !WEBINSTALLER) { // In Web context we could be in multithread env which makes dl() end up with a fatal error.
-     if (WINDOWS) {
-         @dl('php_zlib.dll');
-@@ -616,6 +623,7 @@
- if (!$have_gzip) {
-     print "Downloading uncompressed packages\n";
- };
-+*/
- 
- if ($install_pfc) {
-     $to_install = array_merge($installer_packages, $pfc_packages);
-@@ -765,7 +773,7 @@
- if (WEBINSTALLER || isset($_SERVER['argv'][1]) && $_SERVER['argv'][1] == 'local') {
-     $config = &PEAR_Config::singleton($prefix."/pear.conf", '');
- } else {
--    $config = &PEAR_Config::singleton();
-+    $config = &PEAR_Config::singleton($prefix."/etc/pear.conf", '');
- }
- 
- 
-@@ -801,6 +809,7 @@
- 
- // Base installation finished
- 
-+/*
- ini_restore("include_path");
- 
- if (!WEBINSTALLER) {
-@@ -958,6 +967,7 @@
- if (WINDOWS && !WEBINSTALLER) {
-     win32CreateRegEnv();
- }
-+*/
- // Set of functions following
- 
- // {{{ download_url()
-@@ -1354,17 +1364,17 @@
-         }
-     } else {
-         if ($_prefix === null) {
--            $prefix    = dirname(PHP_BINDIR);
-+            $prefix    = "%%PREFIX%%";
-         } else {
-             $prefix = $_prefix;
-         }
-         $bin_dir   = '$prefix/bin';
-         $php_dir   = '$prefix/share/pear';
--        $doc_dir   = '$php_dir/docs';
-+        $doc_dir   = '$prefix/share/doc/pear';
-         $data_dir  = '$php_dir/data';
-         $test_dir  = '$php_dir/tests';
--        $temp_dir   = '$prefix/temp';
--
-+        $temp_dir   = '/tmp';
-+/*
-         // check if the user has installed PHP with PHP or GNU layout
-         if (@is_dir("$prefix/lib/php/.registry")) {
-             $php_dir = '$prefix/lib/php';
-@@ -1376,6 +1386,7 @@
-         } elseif (@is_dir("$prefix/share/php/.registry")) {
-             $php_dir = '$prefix/share/php';
-         }
-+*/
-     }
- }
- 
-@@ -2481,3 +2492,4 @@
-     }
-     return true;
- }
-+?>
--- devel/pear/files/PEAR_Installer.php.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- PEAR/Installer.php.orig	Mon Aug 21 10:20:13 2006
-+++ PEAR/Installer.php	Mon Aug 21 10:20:53 2006
-@@ -1464,7 +1464,8 @@
-                 $this->log(0, $e[0]);
-             }
-         }
--        // {{{ Delete the files
-+        // {{{ Delete the files, if not set 'register-only' option
-+        if (!isset($options['register-only'])) {
-         $this->startFileTransaction();
-         PEAR::pushErrorHandling(PEAR_ERROR_RETURN);
-         if (PEAR::isError($err = $this->_deletePackageFiles($package, $channel))) {
-@@ -1505,6 +1506,7 @@
-             }
-         }
-         // }}}
-+        }
- 
-         $this->configSet('default_channel', $savechannel);
-         // Register that the package is no longer installed


More information about the Midnightbsd-cvs mailing list