2 |
|
|
3 |
|
PORTNAME= ZendFramework |
4 |
|
PORTVERSION= 2.3.3 |
5 |
< |
PORTREVISION= 1 |
5 |
> |
PORTREVISION= 2 |
6 |
|
CATEGORIES= www |
7 |
|
MASTER_SITES= https://packages.zendframework.com/releases/${DISTNAME}/ |
8 |
|
|
10 |
|
COMMENT= Framework for developing PHP web applications |
11 |
|
|
12 |
|
LICENSE= bsd3 |
13 |
+ |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
14 |
|
|
15 |
|
CONFLICTS= ZendFramework-1.* |
16 |
|
|
17 |
+ |
NO_ARCH= yes |
18 |
|
NO_BUILD= yes |
19 |
|
USE_PHP= spl |
20 |
|
WANT_PHP_WEB= yes |
22 |
|
|
23 |
|
SUB_FILES= pkg-message |
24 |
|
|
25 |
< |
OPTIONS_DEFINE= DOCS MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP |
25 |
> |
OPTIONS_DEFINE= DOCS MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP MEMCACHE |
26 |
|
OPTIONS_DEFAULT=REQPHP |
27 |
|
|
28 |
|
MYSQL_DESC= Enable MySQL PDO support |
33 |
|
SQLITE_DESC= Enable SQLite v3 PDO support |
34 |
|
REQPHP_DESC= Install required PHP dependencies |
35 |
|
OPTPHP_DESC= Install optional PHP dependencies |
36 |
+ |
MEMCACHE_DESC= Enable memcache support |
37 |
|
|
38 |
|
PORTDOCS= CHANGELOG.md INSTALL.md README-GIT.md CONTRIBUTING.md README.md |
39 |
|
|
43 |
|
# if chosen by the user. |
44 |
|
.if ${PORT_OPTIONS:MREQPHP} |
45 |
|
USE_PHP+= ctype curl dom gd hash iconv mbstring ldap mcrypt \ |
46 |
< |
pcre pdo session simplexml soap wddx xml zlib |
44 |
< |
.if ${PHP_VER} == 52 |
45 |
< |
USE_PHP+= sqlite |
46 |
< |
.else |
47 |
< |
USE_PHP+= sqlite3 |
46 |
> |
opcache pcre pdo session simplexml soap sqlite3 wddx xml zlib |
47 |
|
.endif |
48 |
< |
RUN_DEPENDS+= pecl-memcache>=0:${PORTSDIR}/databases/pecl-memcache |
50 |
< |
.endif |
48 |
> |
|
49 |
|
.if ${PORT_OPTIONS:MOPTPHP} |
50 |
|
USE_PHP+= bcmath bitset json posix |
51 |
+ |
.endif |
52 |
+ |
|
53 |
+ |
.if ${PORT_OPTIONS:MMEMCACHE} |
54 |
+ |
USE_PHP+= memcache memcached |
55 |
|
.endif |
56 |
|
|
57 |
|
.if ${PORT_OPTIONS:MMYSQL} |