1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

New port: archivers/pear-File_Archive PEAR class to easily manipulate tar, gz and zip files

PEAR::File_Archive will let you manipulate easily the tar, gz and zip files.
This library is strongly object oriented. It makes it very easy to use, writing
simple code, yet the library is very powerfull.

File_Archive is made of two objects: readers and writers. Are currently
implemented readers from file, directory, tar, gz, zip and bzip2 archives.

You can write to file(s), send mails with files attached, or create tar, gz,
zip, bzip2 archives.

PR:		ports/80068
Submitted by:	Antonio Carlos Venancio Junior <antonio@php.net>
This commit is contained in:
Pav Lucistnik 2005-04-20 15:57:52 +00:00
parent 3cbb57b187
commit 92babb4242
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133789
4 changed files with 77 additions and 0 deletions

View File

@ -57,6 +57,7 @@
SUBDIR += parchive
SUBDIR += pbzip2
SUBDIR += pear-Archive_Tar
SUBDIR += pear-File_Archive
SUBDIR += pecl-zip
SUBDIR += php4-bz2
SUBDIR += php4-zlib

View File

@ -0,0 +1,63 @@
# Ports collection makefile for: pear-File_Archive
# Date created: 18 April 2005
# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD$
#
PORTNAME= File_Archive
PORTVERSION= 1.0.0
CATEGORIES= archivers www pear
MAINTAINER= antonio@php.net
COMMENT= PEAR class to easily manipulate tar, gz and zip files
BUILD_DEPENDS= ${PEARDIR}/MIME/Type.php:${PORTSDIR}/mail/pear-MIME_Type
RUN_DEPENDS= ${BUILD_DEPENDS}
LATEST_LINK= pear-${PORTNAME}
OPTIONS= PEAR_MAIL "PEAR::Mail support" off \
PEAR_MAIL_MIME "PEAR::Mail_Mime support" off
CATEGORY= File
FILES= Archive.php Archive/Predicate.php Archive/Reader.php \
Archive/Writer.php Archive/Predicate/And.php \
Archive/Predicate/Custom.php Archive/Predicate/Ereg.php \
Archive/Predicate/Eregi.php Archive/Predicate/Extension.php \
Archive/Predicate/False.php Archive/Predicate/MaxDepth.php \
Archive/Predicate/MIME.php Archive/Predicate/MinSize.php \
Archive/Predicate/MinTime.php Archive/Predicate/Not.php \
Archive/Predicate/Or.php Archive/Predicate/True.php \
Archive/Reader/Archive.php Archive/Reader/Bzip2.php \
Archive/Reader/ChangeName.php Archive/Reader/Concat.php \
Archive/Reader/Directory.php Archive/Reader/File.php \
Archive/Reader/Filter.php Archive/Reader/Gzip.php \
Archive/Reader/Memory.php Archive/Reader/MimeList.php \
Archive/Reader/Multi.php Archive/Reader/Relay.php \
Archive/Reader/Select.php Archive/Reader/Tar.php \
Archive/Reader/Uncompress.php Archive/Reader/Zip.php \
Archive/Writer/Archive.php Archive/Writer/Bzip2.php \
Archive/Writer/Files.php Archive/Writer/Gzip.php \
Archive/Writer/Mail.php Archive/Writer/Memory.php \
Archive/Writer/MemoryArchive.php Archive/Writer/Multi.php \
Archive/Writer/Output.php Archive/Writer/Tar.php \
Archive/Writer/Zip.php
DOCS= readme.txt
TESTS= test.php
_DOCSDIR= doc
post-extract:
@${MV} ${WRKSRC}/File/* ${WRKSRC}
.include <bsd.port.pre.mk>
.if defined(WITH_PEAR_MAIL)
RUN_DEPENDS+= ${PEARDIR}/Mail/mail.php:${PORTSDIR}/mail/pear-Mail
.endif
.if defined(WITH_PEAR_MAIL_MIME)
RUN_DEPENDS+= ${PEARDIR}/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime
.endif
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (PEAR/File_Archive-1.0.0.tgz) = 8fc81a11977939f430f6eadc3f9270a0
SIZE (PEAR/File_Archive-1.0.0.tgz) = 34904

View File

@ -0,0 +1,11 @@
PEAR::File_Archive will let you manipulate easily the tar, gz and zip files.
This library is strongly object oriented. It makes it very easy to use, writing
simple code, yet the library is very powerfull.
File_Archive is made of two objects: readers and writers. Are currently
implemented readers from file, directory, tar, gz, zip and bzip2 archives.
You can write to file(s), send mails with files attached, or create tar, gz,
zip, bzip2 archives.
WWW: http://pear.php.net/package/File_Archive/