diff options
author | pav <pav@FreeBSD.org> | 2005-04-20 15:57:52 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-04-20 15:57:52 +0000 |
commit | 230ab31f82f3bd61f9124963e5eac4b17fee7b74 (patch) | |
tree | c618ae66e131b53cf5669c3b64ed459dccba8f13 /archivers/pear-File_Archive | |
parent | a80aedcb7e857d136142743c6a48e75cf8d58902 (diff) | |
download | FreeBSD-ports-230ab31f82f3bd61f9124963e5eac4b17fee7b74.zip FreeBSD-ports-230ab31f82f3bd61f9124963e5eac4b17fee7b74.tar.gz |
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>
Diffstat (limited to 'archivers/pear-File_Archive')
-rw-r--r-- | archivers/pear-File_Archive/Makefile | 63 | ||||
-rw-r--r-- | archivers/pear-File_Archive/distinfo | 2 | ||||
-rw-r--r-- | archivers/pear-File_Archive/pkg-descr | 11 |
3 files changed, 76 insertions, 0 deletions
diff --git a/archivers/pear-File_Archive/Makefile b/archivers/pear-File_Archive/Makefile new file mode 100644 index 0000000..9208d0d --- /dev/null +++ b/archivers/pear-File_Archive/Makefile @@ -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> diff --git a/archivers/pear-File_Archive/distinfo b/archivers/pear-File_Archive/distinfo new file mode 100644 index 0000000..6a301a7 --- /dev/null +++ b/archivers/pear-File_Archive/distinfo @@ -0,0 +1,2 @@ +MD5 (PEAR/File_Archive-1.0.0.tgz) = 8fc81a11977939f430f6eadc3f9270a0 +SIZE (PEAR/File_Archive-1.0.0.tgz) = 34904 diff --git a/archivers/pear-File_Archive/pkg-descr b/archivers/pear-File_Archive/pkg-descr new file mode 100644 index 0000000..49a48a9 --- /dev/null +++ b/archivers/pear-File_Archive/pkg-descr @@ -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/ |