diff options
Diffstat (limited to 'sysutils/pear-File/Makefile')
-rw-r--r-- | sysutils/pear-File/Makefile | 16 |
1 files changed, 13 insertions, 3 deletions
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 <bsd.port.pre.mk> + +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 <bsd.port.post.mk> |