mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Update port: databases/pear-DB_DataObject
+ added PHP dependency (> 4.2.0) + added option to install PEAR::Validate PR: ports/71200 Submitted by: Antônio Carlos Venâncio Júnior <antonio@php.net>
This commit is contained in:
parent
047ed8a84a
commit
06662bc7be
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117924
@ -16,12 +16,28 @@ BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
|
||||
${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
USE_PHP= yes
|
||||
|
||||
CATEGORY= DB
|
||||
FILES= DataObject.php DataObject/Cast.php DataObject/Error.php \
|
||||
DataObject/Generator.php DataObject/createTables.php
|
||||
|
||||
DOCS= example.ini
|
||||
|
||||
LATEST_LINK= pear-DB_DataObject
|
||||
OPTIONS= PEAR_VALIDATE "PEAR::Validate support" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PHP_VERS= ${PHP_VERSION:S/.//g}
|
||||
|
||||
.if defined(PHP_VERS) && ${PHP_VERS} < 420
|
||||
BROKEN= "You need PHP 4.2.0 or later to install PEAR::DB_DataObject"
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PEAR_VALIDATE)
|
||||
BUILD_DEPENDS+= ${PEARDIR}/Validate.php:${PORTSDIR}/devel/pear-Validate
|
||||
.endif
|
||||
|
||||
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user