diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/pear-PHP_Compat/Makefile | 90 | ||||
-rw-r--r-- | devel/pear-PHP_Compat/distinfo | 2 | ||||
-rw-r--r-- | devel/pear-PHP_Compat/pkg-descr | 4 |
4 files changed, 97 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 7c9c2285d8eb..e5a99b8ab4db 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1088,6 +1088,7 @@ SUBDIR += pear-PEAR SUBDIR += pear-PHPUnit SUBDIR += pear-PHPUnit2 + SUBDIR += pear-PHP_Compat SUBDIR += pear-Pager SUBDIR += pear-VFS SUBDIR += pear-Validate diff --git a/devel/pear-PHP_Compat/Makefile b/devel/pear-PHP_Compat/Makefile new file mode 100644 index 000000000000..7fef589ab5f7 --- /dev/null +++ b/devel/pear-PHP_Compat/Makefile @@ -0,0 +1,90 @@ +# Ports collection makefile for: pear-PHP_Compat +# Date created: 22 November 2004 +# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>) +# +# $FreeBSD$ +# + +PORTNAME= PHP_Compat +PORTVERSION= 1.3.0 +CATEGORIES= devel www pear + +MAINTAINER= antonio@php.net +COMMENT= Provides missing functionality for older versions of PHP + +BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR +RUN_DEPENDS= ${BUILD_DEPENDS} + +CATEGORY= PHP +FILES= Compat.php Compat/Components.php Compat/Constant/E_STRICT.php \ + Compat/Constant/PATH_SEPARATOR.php Compat/Constant/STD.php \ + Compat/Constant/FILE.php Compat/Constant/PHP_EOL.php \ + Compat/Constant/UPLOAD_ERR.php Compat/Constant/T.php \ + Compat/Function/array_change_key_case.php \ + Compat/Function/array_chunk.php Compat/Function/array_combine.php \ + Compat/Function/array_diff_assoc.php \ + Compat/Function/array_diff_key.php \ + Compat/Function/array_diff_uassoc.php \ + Compat/Function/array_diff_ukey.php \ + Compat/Function/array_intersect_assoc.php \ + Compat/Function/array_intersect_key.php \ + Compat/Function/array_intersect_uassoc.php \ + Compat/Function/array_intersect_ukey.php \ + Compat/Function/array_key_exists.php Compat/Function/array_search.php \ + Compat/Function/array_udiff.php Compat/Function/array_udiff_assoc.php \ + Compat/Function/array_udiff_uassoc.php \ + Compat/Function/array_uintersect_assoc.php \ + Compat/Function/array_uintersect_uassoc.php \ + Compat/Function/array_walk_recursive.php \ + Compat/Function/call_user_func_array.php Compat/Function/clone.php \ + Compat/Function/constant.php Compat/Function/convert_uuencode.php \ + Compat/Function/convert_uudecode.php \ + Compat/Function/file_get_contents.php \ + Compat/Function/file_put_contents.php Compat/Function/floatval.php \ + Compat/Function/fprintf.php Compat/Function/get_include_path.php \ + Compat/Function/html_entity_decode.php \ + Compat/Function/http_build_query.php \ + Compat/Function/image_type_to_mime_type.php \ + Compat/Function/ini_get_all.php Compat/Function/is_a.php \ + Compat/Function/md5_file.php Compat/Function/ob_clean.php \ + Compat/Function/ob_flush.php Compat/Function/ob_get_clean.php \ + Compat/Function/ob_get_flush.php Compat/Function/php_strip_whitespace.php \ + Compat/Function/restore_include_path.php Compat/Function/scandir.php \ + Compat/Function/set_include_path.php Compat/Function/str_ireplace.php \ + Compat/Function/str_rot13.php Compat/Function/str_split.php \ + Compat/Function/str_shuffle.php Compat/Function/str_word_count.php \ + Compat/Function/stripos.php Compat/Function/strpbrk.php \ + Compat/Function/strripos.php Compat/Function/substr_compare.php \ + Compat/Function/var_export.php Compat/Function/version_compare.php \ + Compat/Function/vprintf.php Compat/Function/vsprintf.php +TESTS= loadconstant.phpt loadfunction.phpt loadversion.phpt \ + function/array_change_key_case.phpt function/array_chunk.phpt \ + function/array_combine.phpt function/array_diff_assoc.phpt \ + function/array_diff_uassoc.phpt function/array_diff_key.phpt \ + function/array_diff_ukey.phpt function/array_intersect_assoc.phpt \ + function/array_intersect_key.phpt function/array_intersect_uassoc.phpt \ + function/array_intersect_ukey.phpt function/array_key_exists.phpt \ + function/array_search.phpt function/array_udiff.phpt \ + function/array_udiff_assoc.phpt function/array_udiff_uassoc.phpt \ + function/array_uintersect.phpt function/array_uintersect_assoc.phpt \ + function/array_uintersect_uassoc.phpt function/array_walk_recursive.phpt \ + function/call_user_func_array.phpt function/clone.phpt function/constant.phpt \ + function/convert_uuencode.phpt function/convert_uudecode.phpt \ + function/file_get_contents.phpt function/file_put_contents.phpt \ + function/floatval.phpt function/fprintf.phpt function/get_include_path.phpt \ + function/html_entity_decode.phpt function/http_build_query.phpt \ + function/image_type_to_mime_type.phpt function/ini_get_all.phpt \ + function/is_a.phpt function/md5_file.phpt function/ob_clean.phpt \ + function/ob_flush.phpt function/ob_get_clean.phpt function/ob_get_flush.phpt \ + function/php_strip_whitespace.phpt function/restore_include_path.phpt \ + function/scandir.phpt function/set_include_path.phpt function/str_ireplace.phpt \ + function/str_rot13.phpt function/str_split.phpt function/str_shuffle.phpt \ + function/str_word_count.phpt function/stripos.phpt function/strpbrk.phpt \ + function/strripos.phpt function/substr_compare.phpt function/var_export.phpt \ + function/version_compare.phpt function/vprintf.phpt function/vsprintf.phpt \ + constant/e_strict.phpt constant/file.phpt constant/path_separator.phpt \ + constant/std.phpt constant/php_eol.phpt constant/upload_err.phpt constant/t.phpt + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" +.include <bsd.port.post.mk> diff --git a/devel/pear-PHP_Compat/distinfo b/devel/pear-PHP_Compat/distinfo new file mode 100644 index 000000000000..c84f4346ceef --- /dev/null +++ b/devel/pear-PHP_Compat/distinfo @@ -0,0 +1,2 @@ +MD5 (PEAR/PHP_Compat-1.3.0.tgz) = 094cdab624f532e89835f92804a2b6bf +SIZE (PEAR/PHP_Compat-1.3.0.tgz) = 31282 diff --git a/devel/pear-PHP_Compat/pkg-descr b/devel/pear-PHP_Compat/pkg-descr new file mode 100644 index 000000000000..1e579595a43c --- /dev/null +++ b/devel/pear-PHP_Compat/pkg-descr @@ -0,0 +1,4 @@ +PHP_Compat provides missing functionality in the form of +Constants and Functions for older versions of PHP. + +WWW: http://pear.php.net/package/PHP_Compat/ |