diff --git a/sysutils/pear-File/Makefile b/sysutils/pear-File/Makefile index 77bf6a53efd4..212adf08105b 100644 --- a/sysutils/pear-File/Makefile +++ b/sysutils/pear-File/Makefile @@ -6,9 +6,10 @@ # PORTNAME= File -PORTVERSION= 1.1.0 +PORTVERSION= 1.1.0.r2 +PORTEPOCH= 1 CATEGORIES= sysutils www pear -DISTNAME= ${PORTNAME}-${PORTVERSION}RC1 +DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/RC/} MAINTAINER= antonio@php.net COMMENT= PEAR common file and directory routines @@ -16,9 +17,18 @@ COMMENT= PEAR common file and directory routines BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR RUN_DEPENDS= ${BUILD_DEPENDS} -FILES= File.php File/CSV.php +USE_PHP= yes + +FILES= File.php File/Util.php File/CSV.php TESTS= parser.php test.csv FileTest.php .include + +PHP_VERS= ${PHP_VERSION:S/.//g} + +.if defined(PHP_VERS) && ${PHP_VERS} < 430 +IGNORE= "You need PHP 4.3.0 or later to install PEAR::File" +.endif + .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" .include diff --git a/sysutils/pear-File/distinfo b/sysutils/pear-File/distinfo index 0c43a731e2ad..8b27d391a82f 100644 --- a/sysutils/pear-File/distinfo +++ b/sysutils/pear-File/distinfo @@ -1,2 +1,2 @@ -MD5 (PEAR/File-1.1.0RC1.tgz) = 32f3ed86f4efa7d3da3b7d66c75ca06e -SIZE (PEAR/File-1.1.0RC1.tgz) = 11169 +MD5 (PEAR/File-1.1.0RC2.tgz) = 7ce0d08997ae7c5754ae165f50bba9e5 +SIZE (PEAR/File-1.1.0RC2.tgz) = 12559