Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= ZendFramework |
8 |
PORTNAME= ZendFramework |
9 |
PORTVERSION= 0.7.0 |
9 |
PORTVERSION= 0.7.0 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= www |
11 |
CATEGORIES= www |
11 |
MASTER_SITES= http://framework.zend.com/releases/ |
12 |
MASTER_SITES= http://framework.zend.com/releases/ |
12 |
DISTNAME= ${PORTNAME}-${PORTVERSION} |
13 |
DISTNAME= ${PORTNAME}-${PORTVERSION} |
Lines 40-76
IGNORE_WITH_PHP=4
Link Here
|
40 |
DB_DEFINED= no |
41 |
DB_DEFINED= no |
41 |
|
42 |
|
42 |
.if defined(WITH_MYSQL) |
43 |
.if defined(WITH_MYSQL) |
43 |
DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_mysql.so:${PORTSDIR}/databases/pecl-PDO_MYSQL |
44 |
DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_mysql.so:${PORTSDIR}/databases/php5-pdo_mysql |
44 |
DB_DEFINED= yes |
45 |
DB_DEFINED= yes |
45 |
.endif |
46 |
.endif |
46 |
|
47 |
|
47 |
.if defined(WITH_DBLIB) |
48 |
.if defined(WITH_DBLIB) |
48 |
DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_dblib.so:${PORTSDIR}/databases/pecl-PDO_DBLIB |
49 |
DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_dblib.so:${PORTSDIR}/databases/php5-pdo_dblib |
49 |
DB_DEFINED= yes |
50 |
DB_DEFINED= yes |
50 |
.endif |
51 |
.endif |
51 |
|
52 |
|
52 |
.if defined(WITH_PGSQL) |
53 |
.if defined(WITH_PGSQL) |
53 |
DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/pecl-PDO_PGSQL |
54 |
DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql |
54 |
DB_DEFINED= yes |
55 |
DB_DEFINED= yes |
55 |
.endif |
56 |
.endif |
56 |
|
57 |
|
57 |
.if defined(WITH_OCI) |
58 |
.if defined(WITH_OCI) |
58 |
DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_oci.so:${PORTSDIR}/databases/pecl-PDO_OCI |
59 |
DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_oci.so:${PORTSDIR}/databases/php5-pdo_oci |
59 |
DB_DEFINED= yes |
60 |
DB_DEFINED= yes |
60 |
.endif |
61 |
.endif |
61 |
|
62 |
|
62 |
.if defined(WITH_ODBC) |
63 |
.if defined(WITH_ODBC) |
63 |
DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_odbc.so:${PORTSDIR}/databases/pecl-PDO_ODBC |
64 |
DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_odbc.so:${PORTSDIR}/databases/php5-pdo_odbc |
64 |
DB_DEFINED= yes |
65 |
DB_DEFINED= yes |
65 |
.endif |
66 |
.endif |
66 |
|
67 |
|
67 |
.if defined(WITH_SQLITE) |
68 |
.if defined(WITH_SQLITE) |
68 |
DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_sqlite.so:${PORTSDIR}/databases/pecl-PDO_SQLITE |
69 |
DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_sqlite.so:${PORTSDIR}/databases/php5-pdo_sqlite |
69 |
DB_DEFINED= yes |
70 |
DB_DEFINED= yes |
70 |
.endif |
71 |
.endif |
71 |
|
72 |
|
72 |
.if ${DB_DEFINED} == "yes" |
73 |
.if ${DB_DEFINED} == "yes" |
73 |
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo.so:${PORTSDIR}/databases/pecl-PDO \ |
74 |
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo.so:${PORTSDIR}/databases/php5-pdo \ |
74 |
${DB_DEPENDS} |
75 |
${DB_DEPENDS} |
75 |
.endif |
76 |
.endif |