Lines 9-15
Link Here
|
9 |
PORTVERSION= 1.9.8 |
9 |
PORTVERSION= 1.9.8 |
10 |
CATEGORIES= sysutils www pear |
10 |
CATEGORIES= sysutils www pear |
11 |
|
11 |
|
12 |
MAINTAINER= ports@FreeBSD.org |
12 |
MAINTAINER= thomas@goodking.ca |
13 |
COMMENT= PEAR logging utilities |
13 |
COMMENT= PEAR logging utilities |
14 |
|
14 |
|
15 |
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear |
15 |
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear |
Lines 37-46
Link Here
|
37 |
OPTIONS= PEAR_DB "PEAR::DB support" off \ |
37 |
OPTIONS= PEAR_DB "PEAR::DB support" off \ |
38 |
PEAR_MDB2 "PEAR::MDB2 support" off |
38 |
PEAR_MDB2 "PEAR::MDB2 support" off |
39 |
|
39 |
|
40 |
LOCALBASE?= /usr/local |
40 |
.if exists(${PREFIX}/etc/php.conf) |
41 |
|
41 |
.include "${PREFIX}/etc/php.conf" |
42 |
.if exists(${LOCALBASE}/etc/php.conf) |
|
|
43 |
.include "${LOCALBASE}/etc/php.conf" |
44 |
.endif |
42 |
.endif |
45 |
|
43 |
|
46 |
.if defined(PHP_VER) && ${PHP_VER} == 5 |
44 |
.if defined(PHP_VER) && ${PHP_VER} == 5 |
Lines 58-64
Link Here
|
58 |
.endif |
56 |
.endif |
59 |
|
57 |
|
60 |
.if defined(WITH_PHP_SQLITE) |
58 |
.if defined(WITH_PHP_SQLITE) |
61 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/${extension}.so:${PORTSDIR}/databases/php5-sqlite |
59 |
BUILD_DEPENDS+= ${PREFIX}/lib/php/${PHP_EXT_DIR}/${extension}.so:${PORTSDIR}/databases/php5-sqlite |
62 |
.endif |
60 |
.endif |
63 |
|
61 |
|
64 |
.include "${PORTSDIR}/devel/pear/bsd.pear.mk" |
62 |
.include "${PORTSDIR}/devel/pear/bsd.pear.mk" |