|
Lines 22-28
Link Here
|
| 22 |
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" |
22 |
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" |
| 23 |
SUB_FILES= pkg-message |
23 |
SUB_FILES= pkg-message |
| 24 |
|
24 |
|
| 25 |
OPTIONS_DEFINE= DOCS EXAMPLES MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP |
25 |
OPTIONS_DEFINE= DOCS EXAMPLES MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP MEMCACHE |
| 26 |
OPTIONS_DEFAULT=REQPHP |
26 |
OPTIONS_DEFAULT=REQPHP |
| 27 |
|
27 |
|
| 28 |
MYSQL_DESC= Enable MySQL PDO support |
28 |
MYSQL_DESC= Enable MySQL PDO support |
|
Lines 33-38
Link Here
|
| 33 |
SQLITE_DESC= Enable SQLite v3 PDO support |
33 |
SQLITE_DESC= Enable SQLite v3 PDO support |
| 34 |
REQPHP_DESC= Install required PHP dependencies |
34 |
REQPHP_DESC= Install required PHP dependencies |
| 35 |
OPTPHP_DESC= Install optional PHP dependencies |
35 |
OPTPHP_DESC= Install optional PHP dependencies |
|
|
36 |
MEMCACHE_DESC= Enable memcache support |
| 36 |
|
37 |
|
| 37 |
.include <bsd.port.pre.mk> |
38 |
.include <bsd.port.pre.mk> |
| 38 |
|
39 |
|
|
Lines 55-68
Link Here
|
| 55 |
USE_PHP+= ctype curl dom gd hash iconv mbstring ldap mcrypt \ |
56 |
USE_PHP+= ctype curl dom gd hash iconv mbstring ldap mcrypt \ |
| 56 |
opcache pcre pdo session simplexml soap sqlite3 \ |
57 |
opcache pcre pdo session simplexml soap sqlite3 \ |
| 57 |
wddx xml zlib |
58 |
wddx xml zlib |
|
|
59 |
.endif |
| 58 |
|
60 |
|
| 59 |
RUN_DEPENDS+= pecl-memcache>=0:databases/pecl-memcache \ |
|
|
| 60 |
pecl-memcached>=0:databases/pecl-memcached |
| 61 |
.endif |
| 62 |
.if ${PORT_OPTIONS:MOPTPHP} |
61 |
.if ${PORT_OPTIONS:MOPTPHP} |
| 63 |
USE_PHP+= bcmath bitset json posix |
62 |
USE_PHP+= bcmath bitset json posix |
| 64 |
.endif |
63 |
.endif |
| 65 |
|
64 |
|
|
|
65 |
.if ${PORT_OPTIONS:MMCACHE} |
| 66 |
RUN_DEPENDS+= pecl-memcache>=0:databases/pecl-memcache \ |
| 67 |
pecl-memcached>=0:databases/pecl-memcached |
| 68 |
.endif |
| 69 |
|
| 66 |
.if ${PORT_OPTIONS:MMYSQL} |
70 |
.if ${PORT_OPTIONS:MMYSQL} |
| 67 |
USE_PHP+= pdo_mysql |
71 |
USE_PHP+= pdo_mysql |
| 68 |
.endif |
72 |
.endif |