View | Details | Raw Unified | Return to bug 71200
Collapse All | Expand All

(-)Makefile (+16 lines)
Lines 16-27 Link Here
16
		${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
16
		${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
17
RUN_DEPENDS=	${BUILD_DEPENDS}
17
RUN_DEPENDS=	${BUILD_DEPENDS}
18
18
19
USE_PHP=	yes
20
19
CATEGORY=	DB
21
CATEGORY=	DB
20
FILES=		DataObject.php DataObject/Cast.php DataObject/Error.php \
22
FILES=		DataObject.php DataObject/Cast.php DataObject/Error.php \
21
		DataObject/Generator.php DataObject/createTables.php
23
		DataObject/Generator.php DataObject/createTables.php
22
24
23
DOCS=		example.ini
25
DOCS=		example.ini
24
26
27
LATEST_LINK=    pear-DB_DataObject
28
OPTIONS=        PEAR_VALIDATE "PEAR::Validate support" off
29
25
.include <bsd.port.pre.mk>
30
.include <bsd.port.pre.mk>
31
32
PHP_VERS=       ${PHP_VERSION:S/.//g}
33
34
.if defined(PHP_VERS) && ${PHP_VERS} < 420
35
BROKEN=         "You need PHP 4.2.0 or later to install PEAR::DB_DataObject"
36
.endif
37
38
.if defined(WITH_PEAR_VALIDATE)
39
BUILD_DEPENDS+= ${PEARDIR}/Validate.php:${PORTSDIR}/devel/pear-Validate
40
.endif
41
26
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
42
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
27
.include <bsd.port.post.mk>
43
.include <bsd.port.post.mk>

Return to bug 71200