diff --git a/textproc/pear-File/Makefile b/textproc/pear-File/Makefile new file mode 100644 index 00000000000..0342c3ed0af --- /dev/null +++ b/textproc/pear-File/Makefile @@ -0,0 +1,26 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/10/28 17:11:29 mbalmer Exp $ + +COMMENT= "common file and directory routines for PHP" + +DISTNAME= File-1.2.2 +PKGNAME= pear-${DISTNAME} +CATEGORIES= textproc pear + +MASTER_SITES= http://pear.php.net/get/ +EXTRACT_SUFX= .tgz + +MAINTAINER= Marc Balmer +MODULES= www/php5/pear + +RUN_DEPENDS= :pear-XML-Tree-*:textproc/pear-XML-Tree + +# PHP License +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +do-regress: fake + @cd ${WRKSRC}/tests && ${PEAR_PHPBIN} ./parser.php test.csv + +.include diff --git a/textproc/pear-File/distinfo b/textproc/pear-File/distinfo new file mode 100644 index 00000000000..0169f0b80a1 --- /dev/null +++ b/textproc/pear-File/distinfo @@ -0,0 +1,4 @@ +MD5 (File-1.2.2.tgz) = ba8f020b70fb6a37c6258e0e42033aad +RMD160 (File-1.2.2.tgz) = b4d90544de726434a9deb406079ce3c67a769e7b +SHA1 (File-1.2.2.tgz) = 7271d0e8d74d696b33e3f028696d79a9e970c771 +SIZE (File-1.2.2.tgz) = 15796 diff --git a/textproc/pear-File/pkg/DESCR b/textproc/pear-File/pkg/DESCR new file mode 100644 index 00000000000..746a6dd3e74 --- /dev/null +++ b/textproc/pear-File/pkg/DESCR @@ -0,0 +1,3 @@ +Provides easy access to read/write to files along with +some common routines to deal with paths. Also provides +interface for handling CSV files. diff --git a/textproc/pear-File/pkg/PLIST b/textproc/pear-File/pkg/PLIST new file mode 100644 index 00000000000..cbca23bd5bb --- /dev/null +++ b/textproc/pear-File/pkg/PLIST @@ -0,0 +1,32 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/10/28 17:11:29 mbalmer Exp $ +@comment pear/lib/.channels/.alias/pear.txt +@comment pear/lib/.channels/.alias/pecl.txt +@comment pear/lib/.channels/__uri.reg +@comment pear/lib/.channels/pear.php.net.reg +@comment pear/lib/.channels/pecl.php.net.reg +@comment pear/lib/.depdb +@comment pear/lib/.depdblock +pear/lib/.registry/file.reg +pear/lib/File/ +pear/lib/File.php +pear/lib/File/CSV.php +pear/lib/File/Util.php +pear/tests/File/ +pear/tests/File/tests/ +pear/tests/File/tests/CSV/ +pear/tests/File/tests/CSV/001.csv +pear/tests/File/tests/CSV/001.phpt +pear/tests/File/tests/CSV/002.csv +pear/tests/File/tests/CSV/002.phpt +pear/tests/File/tests/CSV/003.csv +pear/tests/File/tests/CSV/003.phpt +pear/tests/File/tests/CSV/004.csv +pear/tests/File/tests/CSV/004.phpt +pear/tests/File/tests/CSV/005.csv +pear/tests/File/tests/CSV/005.phpt +pear/tests/File/tests/CSV/006.csv +pear/tests/File/tests/CSV/006.phpt +pear/tests/File/tests/CSV/tests.txt +pear/tests/File/tests/FileTest.php +pear/tests/File/tests/parser.php +pear/tests/File/tests/test.csv