Resurrection of port devel/pear

PR:	ports/44473
Submitted by:	Thierry Thomas <thierry@pompo.net>
This commit is contained in:
SADA Kenji 2002-11-17 05:03:54 +00:00
parent cf19879c06
commit 050dd1b103
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70285
47 changed files with 499 additions and 0 deletions

View File

@ -623,6 +623,10 @@
SUBDIR += pcre
SUBDIR += pcre++
SUBDIR += pcsc-lite
SUBDIR += pear
SUBDIR += pear-Console_Getopt
SUBDIR += pear-PEAR
SUBDIR += pear-install
SUBDIR += pedisassem
SUBDIR += perforce
SUBDIR += perltidy

View File

@ -0,0 +1,38 @@
# Ports collection makefile for: pear-Console_Getopt
# Date created: 23 October 2002
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
PORTNAME= Console_Getopt
PORTVERSION= 1.0
CATEGORIES= devel www
MASTER_SITES= http://pear.php.net/get/
PKGNAMEPREFIX= pear-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
RUN_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install \
${LOCALBASE}/bin/php:${PORTSDIR}/lang/php4
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/php-config)
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
.endif
LPHP_LIB= lib/php
PEARDIR= ${PHP_BASE}/${LPHP_LIB}
PLIST_SUB= PEARDIR=${LPHP_LIB}
do-install:
@${MV} ${PEARDIR}/Console/Getopt.php ${PEARDIR}/Console/Getopt.php.dist
@${CP} -Rp ${WRKSRC}/Console/Getopt.php ${PEARDIR}/Console
@${CHOWN} -R root:wheel ${PEARDIR}/Console/Getopt.php
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
MD5 (PEAR/Console_Getopt-1.0.tgz) = 0a80d98559c9c0d20f6128b5edcb9aac

View File

@ -0,0 +1 @@
PEAR command-line option parser

View File

@ -0,0 +1,4 @@
This is a PHP implementation of "getopt" supporting both short and long
options.
WWW: http://pear.php.net/manual/en/core.console.getopt.php

View File

@ -0,0 +1,3 @@
@exec mv %D/lib/php/Console/Getopt.php %D/lib/php/Console/Getopt.php.dist
%%PEARDIR%%/Console/Getopt.php
@unexec mv %D/lib/php/Console/Getopt.php.dist %D/lib/php/Console/Getopt.php || true

45
devel/pear-PEAR/Makefile Normal file
View File

@ -0,0 +1,45 @@
# Ports collection makefile for: pear-PEAR
# Date created: 22 October 2002
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
PORTNAME= PEAR
PORTVERSION= 1.0.1
CATEGORIES= devel www
MASTER_SITES= http://pear.php.net/get/
PKGNAMEPREFIX= pear-
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.1/b1/}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
RUN_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/php-config)
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
.endif
LPHP_LIB= lib/php
PEARDIR= ${PHP_BASE}/${LPHP_LIB}
PLIST_SUB= PEARDIR=${LPHP_LIB}
do-install:
@${MV} ${PEARDIR}/PEAR ${PEARDIR}/PEAR.dist
@${MV} ${PEARDIR}/PEAR.php ${PEARDIR}/PEAR.php.dist
@${MV} ${PEARDIR}/System.php ${PEARDIR}/System.php.dist
@${CP} -Rp ${WRKSRC}/* ${PEARDIR}
@${CHOWN} -R root:wheel ${PEARDIR}/OS
@${CHOWN} -R root:wheel ${PEARDIR}/PEAR*
@${CHOWN} -R root:wheel ${PEARDIR}/System.php
@${CHOWN} -R root:wheel ${PEARDIR}/package.dtd
@${CHOWN} -R root:wheel ${PEARDIR}/scripts
@${CHOWN} -R root:wheel ${PEARDIR}/template.spec
.include <bsd.port.post.mk>

1
devel/pear-PEAR/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (PEAR/PEAR-1.0b1.tgz) = 6109077247d825df343f766713e899de

View File

@ -0,0 +1 @@
PEAR Base System

View File

@ -0,0 +1,4 @@
PEAR Base System, with the PEAR base class and the PEAR_Error error handling
mechanism.
WWW: http://pear.php.net/manual/en/reference.php

34
devel/pear-PEAR/pkg-plist Normal file
View File

@ -0,0 +1,34 @@
%%PEARDIR%%/package.dtd
%%PEARDIR%%/template.spec
%%PEARDIR%%/PEAR.php
%%PEARDIR%%/System.php
%%PEARDIR%%/OS/Guess.php
%%PEARDIR%%/PEAR/Autoloader.php
%%PEARDIR%%/PEAR/Command.php
%%PEARDIR%%/PEAR/Command/Auth.php
%%PEARDIR%%/PEAR/Command/Build.php
%%PEARDIR%%/PEAR/Command/Common.php
%%PEARDIR%%/PEAR/Command/Config.php
%%PEARDIR%%/PEAR/Command/Install.php
%%PEARDIR%%/PEAR/Command/Package.php
%%PEARDIR%%/PEAR/Command/Registry.php
%%PEARDIR%%/PEAR/Command/Remote.php
%%PEARDIR%%/PEAR/Common.php
%%PEARDIR%%/PEAR/Config.php
%%PEARDIR%%/PEAR/Dependency.php
%%PEARDIR%%/PEAR/Frontend/CLI.php
%%PEARDIR%%/PEAR/Builder.php
%%PEARDIR%%/PEAR/Installer.php
%%PEARDIR%%/PEAR/Packager.php
%%PEARDIR%%/PEAR/Registry.php
%%PEARDIR%%/PEAR/Remote.php
%%PEARDIR%%/scripts/pear.in
%%PEARDIR%%/scripts/pear.bat
@dirrm %%PEARDIR%%/OS
@dirrm %%PEARDIR%%/PEAR/Command
@dirrm %%PEARDIR%%/PEAR/Frontend
@dirrm %%PEARDIR%%/PEAR
@dirrm %%PEARDIR%%/scripts
@unexec mv %D/lib/php/PEAR.dist %D/lib/php/PEAR || true
@unexec mv %D/lib/php/PEAR.php.dist %D/lib/php/PEAR.php || true
@unexec mv %D/lib/php/System.php.dist %D/lib/php/System.php || true

View File

@ -0,0 +1,39 @@
# Ports collection makefile for: pear-install
# Date created: 21 October 2002
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
PORTNAME= pear-install
PORTVERSION= ${PHP_VERSION}
CATEGORIES= devel www
MASTER_SITES= # empty
DISTFILES= # none
EXTRACT_ONLY= # empty
MAINTAINER= thierry@pompo.net
BUILD_DEPENDS= ${LOCALBASE}/bin/php-config:${PORTSDIR}/www/mod_php4
RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/php-config)
PHP_VERSION!= ${LOCALBASE}/bin/php-config --version
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
.else
PHP_VERSION= 4.2.3
.endif
LPHP_LIB= lib/php
PEARDIR= ${PHP_BASE}/${LPHP_LIB}
do-install:
@${ECHO_MSG} "===> Backuping the original PEAR from mod_php4 into ${PEARDIR}.DIST_PHP ..."
@${MKDIR} ${PEARDIR}.DIST_PHP
@${CP} -Rp ${PEARDIR}/* ${PEARDIR}.DIST_PHP
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
Prepare the installation of the PEAR framework

View File

@ -0,0 +1,6 @@
This port does not install anything, but it prepares the installation of
new PEAR packages.
It is required by every pear- package in the FreeBSD ports tree.
WWW: http://pear.php.net/

View File

@ -0,0 +1,4 @@
@exec rm -r %D/lib/php.DIST_PHP 2>/dev/null || true
@exec cp -Rp %D/lib/php %D/lib/php.DIST_PHP
@unexec rm -r %D/lib/php || true
@unexec mv %D/lib/php.DIST_PHP %D/lib/php || true

42
devel/pear/Makefile Normal file
View File

@ -0,0 +1,42 @@
# Ports collection makefile for: pear
# Date created: Sat Nov 10, 2001
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
PORTNAME= pear
PORTVERSION= ${PHP_VERSION}
CATEGORIES= devel www
MASTER_SITES= # empty
DISTFILES= # none
EXTRACT_ONLY= # empty
MAINTAINER= thierry@pompo.net
BUILD_DEPENDS= ${LOCALBASE}/bin/php-config:${PORTSDIR}/www/mod_php4
RUN_DEPENDS= ${PEARDIR}/PEAR.php.dist:${PORTSDIR}/devel/pear-PEAR \
${PEARDIR}/Console/Getopt.php.dist:${PORTSDIR}/devel/pear-Console_Getopt \
${PEARDIR}/File.php:${PORTSDIR}/sysutils/pear-File \
${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log \
${PEARDIR}/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime \
${PEARDIR}/Net/Sieve.php:${PORTSDIR}/net/pear-Net_Sieve
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/php-config)
PHP_VERSION!= ${LOCALBASE}/bin/php-config --version
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
.else
PHP_VERSION= 4.2.3
PHP_BASE= ${LOCALBASE}
.endif
LPHP_LIB= lib/php
PEARDIR= ${PHP_BASE}/${LPHP_LIB}
do-install: # empty
${DO_NADA}
.include <bsd.port.post.mk>

1
devel/pear/pkg-comment Normal file
View File

@ -0,0 +1 @@
A framework and distribution system for reusable PHP components

20
devel/pear/pkg-descr Normal file
View File

@ -0,0 +1,20 @@
PEAR is a code repository for PHP extensions and PHP library code
inspired by TeX's CTAN and Perl's CPAN.
The purpose of PEAR is:
* to provide a consistent means for library code authors to
share their code with other developers;
* to give the PHP community an infrastructure for sharing code;
* to define standards that help developers write portable and
reusable code;
* to provide tools for code maintenance and distribution.
PEAR comes bundled with PHP4. However, since it is a rapidly evolving
target, not everyone who has a workable version of PHP4 has a recent
enough PEAR installation.
WWW: http://pear.php.net/

1
devel/pear/pkg-plist Normal file
View File

@ -0,0 +1 @@
@comment this plist intentionally left empty

View File

@ -175,6 +175,7 @@
SUBDIR += pantomime
SUBDIR += pantomime-ssl
SUBDIR += pathalias
SUBDIR += pear-Mail_Mime
SUBDIR += perdition
SUBDIR += pflogsumm
SUBDIR += pgen

View File

@ -0,0 +1,39 @@
# Ports collection makefile for: pear-Mail_Mime
# Date created: 24 October 2002
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
PORTNAME= Mail_Mime
PORTVERSION= 1.2.1
CATEGORIES= mail www
MASTER_SITES= http://pear.php.net/get/
PKGNAMEPREFIX= pear-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
RUN_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/php-config)
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
.endif
LPHP_LIB= lib/php
PEARDIR= ${PHP_BASE}/${LPHP_LIB}
PLIST_SUB= PEARDIR=${LPHP_LIB}
do-install:
@${CP} -Rp ${WRKSRC}/* ${PEARDIR}/Mail
@${CHOWN} -R root:wheel ${PEARDIR}/Mail/*
.for BUGMODE in mimeDecode.php mimePart.php xmail.dtd xmail.xsl
@${CHMOD} a-x ${PEARDIR}/Mail/${BUGMODE}
.endfor
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
MD5 (PEAR/Mail_Mime-1.2.1.tgz) = 667f631d9b128ef559bf97b9cd182c48

View File

@ -0,0 +1 @@
PEAR classes to create and decode MIME messages

View File

@ -0,0 +1,3 @@
PEAR classes to deal with creation and manipulation of MIME messages.
WWW: http://pear.php.net/manual/en/core.mail.mime.php

View File

@ -0,0 +1,5 @@
%%PEARDIR%%/Mail/mime.php
%%PEARDIR%%/Mail/mimeDecode.php
%%PEARDIR%%/Mail/mimePart.php
%%PEARDIR%%/Mail/xmail.dtd
%%PEARDIR%%/Mail/xmail.xsl

View File

@ -431,6 +431,8 @@
SUBDIR += pchar
SUBDIR += pcnfsd
SUBDIR += pdnsd
SUBDIR += pear-Net_Sieve
SUBDIR += pear-Net_Socket
SUBDIR += pen
SUBDIR += perldap
SUBDIR += pfinger

View File

@ -0,0 +1,37 @@
# Ports collection makefile for: pear-Net_Sieve
# Date created: 25 October 2002
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
PORTNAME= Net_Sieve
PORTVERSION= 0.8.1
CATEGORIES= net www
MASTER_SITES= http://pear.php.net/get/
PKGNAMEPREFIX= pear-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
RUN_DEPENDS= ${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/php-config)
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
.endif
LPHP_LIB= lib/php
PEARDIR= ${PHP_BASE}/${LPHP_LIB}
PLIST_SUB= PEARDIR=${LPHP_LIB}
do-install:
@${CP} -Rp ${WRKSRC}/* ${PEARDIR}/Net
@${CHOWN} root:wheel ${PEARDIR}/Net/Sieve.php
@${CHMOD} a-x ${PEARDIR}/Net/Sieve.php
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
MD5 (PEAR/Net_Sieve-0.8.1.tgz) = bc43d7a9f00ba2e2b2cfbb7c02ce6488

View File

@ -0,0 +1 @@
PEAR class to handle talking to timsieved

View File

@ -0,0 +1,6 @@
Net_Sieve is a PEAR class which handles talking to timsieved.
Provides an API to talk to the timsieved server that comes with Cyrus
IMAPd. Can be used to install, remove, mark active, etc. SIEVE scripts.
WWW: http://pear.php.net/package-info.php?pacid=71

View File

@ -0,0 +1 @@
%%PEARDIR%%/Net/Sieve.php

View File

@ -0,0 +1,36 @@
# Ports collection makefile for: pear-Net_Socket
# Date created: 24 October 2002
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
PORTNAME= Net_Socket
PORTVERSION= 1.0.1
CATEGORIES= net www
MASTER_SITES= http://pear.php.net/get/
PKGNAMEPREFIX= pear-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
RUN_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/php-config)
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
.endif
LPHP_LIB= lib/php
PEARDIR= ${PHP_BASE}/${LPHP_LIB}
PLIST_SUB= PEARDIR=${LPHP_LIB}
do-install:
@${CP} -Rp ${WRKSRC}/* ${PEARDIR}/Net
@${CHOWN} -R root:wheel ${PEARDIR}/Net/Socket.php
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
MD5 (PEAR/Net_Socket-1.0.1.tgz) = f2b5f199a8586b855a549c2dccfbbd81

View File

@ -0,0 +1 @@
PEAR Network Socket Interface

View File

@ -0,0 +1,7 @@
Net_Socket is a PEAR class interface to TCP sockets.
It provides blocking and non-blocking operation, with different reading
and writing modes (byte-wise, block-wise, line-wise and special formats
like network byte-order ip addresses).
WWW: http://pear.php.net/manual/en/core.networking.net_socket.php

View File

@ -0,0 +1 @@
%%PEARDIR%%/Net/Socket.php

View File

@ -159,6 +159,8 @@
SUBDIR += p5-User
SUBDIR += paicc
SUBDIR += pdumpfs
SUBDIR += pear-File
SUBDIR += pear-Log
SUBDIR += penv
SUBDIR += perf
SUBDIR += personality

View File

@ -0,0 +1,37 @@
# Ports collection makefile for: pear-File
# Date created: 24 October 2002
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
PORTNAME= File
PORTVERSION= 1.0.2
CATEGORIES= sysutils www
MASTER_SITES= http://pear.php.net/get/
PKGNAMEPREFIX= pear-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
RUN_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/php-config)
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
.endif
LPHP_LIB= lib/php
PEARDIR= ${PHP_BASE}/${LPHP_LIB}
PLIST_SUB= PEARDIR=${LPHP_LIB}
do-install:
@${CP} -Rp ${WRKSRC}/* ${PEARDIR}
@${CHOWN} -R root:wheel ${PEARDIR}/${PORTNAME}*
@${CHOWN} -R root:wheel ${PEARDIR}/tests
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
MD5 (PEAR/File-1.0.2.tgz) = 4ce1d2880cafcbf4a84e4adc2374a30b

View File

@ -0,0 +1 @@
PEAR common file and directory routines

View File

@ -0,0 +1,5 @@
PEAR classes providing easy access to read/write to files along with
some common routines to deal with paths. Also provides interface for
handling CSV files.
WWW: http://pear.php.net/manual/en/packages.file.php

View File

@ -0,0 +1,5 @@
%%PEARDIR%%/File/CSV.php
%%PEARDIR%%/File.php
%%PEARDIR%%/tests/parser.php
%%PEARDIR%%/tests/test.csv
@dirrm %%PEARDIR%%/tests

View File

@ -0,0 +1,36 @@
# Ports collection makefile for: pear-Log
# Date created: 22 October 2002
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
PORTNAME= Log
PORTVERSION= 1.5
CATEGORIES= sysutils www
MASTER_SITES= http://pear.php.net/get/
PKGNAMEPREFIX= pear-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
RUN_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/php-config)
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
.endif
LPHP_LIB= lib/php
PEARDIR= ${PHP_BASE}/${LPHP_LIB}
PLIST_SUB= PEARDIR=${LPHP_LIB}
do-install:
@${CP} -Rp ${WRKSRC}/* ${PEARDIR}
@${CHOWN} -R root:wheel ${PEARDIR}/${PORTNAME}*
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
MD5 (PEAR/Log-1.5.tgz) = 30421577a99e0837c0235abb89578697

View File

@ -0,0 +1 @@
PEAR logging utilities

View File

@ -0,0 +1,6 @@
PEAR Log framework providing an abstracted logging system.
It supports logging to console, file, syslog, SQL, mail, and mcal targets.
It also provides a subject - observer mechanism.
WWW: http://pear.php.net/manual/en/packages.log.php

View File

@ -0,0 +1,10 @@
%%PEARDIR%%/Log/composite.php
%%PEARDIR%%/Log/console.php
%%PEARDIR%%/Log/file.php
%%PEARDIR%%/Log/mail.php
%%PEARDIR%%/Log/mcal.php
%%PEARDIR%%/Log/observer.php
%%PEARDIR%%/Log/sql.php
%%PEARDIR%%/Log/syslog.php
%%PEARDIR%%/Log.php
@dirrm %%PEARDIR%%/Log