Révision 749ac464
Ajouté par Renato Botelho il y a presque 10 ans
pfPorts/php55/Makefile | ||
---|---|---|
1 | 1 |
# Created by: Alex Dupre <ale@FreeBSD.org> |
2 |
# $FreeBSD: head/lang/php55/Makefile 351411 2014-04-16 18:28:47Z zeising $
|
|
2 |
# $FreeBSD: head/lang/php55/Makefile 352743 2014-05-01 10:36:34Z ale $
|
|
3 | 3 |
|
4 | 4 |
PORTNAME= php55 |
5 |
PORTVERSION= 5.5.11
|
|
6 |
PORTREVISION?= 1
|
|
5 |
PORTVERSION= 5.5.12
|
|
6 |
PORTREVISION?= 0
|
|
7 | 7 |
CATEGORIES?= lang devel www |
8 | 8 |
MASTER_SITES= ${MASTER_SITE_PHP} |
9 | 9 |
MASTER_SITE_SUBDIR= distributions |
pfPorts/php55/Makefile.ext | ||
---|---|---|
126 | 126 |
.endif |
127 | 127 |
|
128 | 128 |
.if ${PHP_MODNAME} == "iconv" |
129 |
CONFIGURE_ARGS+=--with-iconv |
|
129 |
CONFIGURE_ARGS+=--with-iconv=${LOCALBASE}
|
|
130 | 130 |
|
131 | 131 |
USES+= iconv:translit |
132 | 132 |
.endif |
... | ... | |
206 | 206 |
.endif |
207 | 207 |
|
208 | 208 |
.if ${PHP_MODNAME} == "odbc" |
209 |
CONFIGURE_ARGS+=--enable-odbc |
|
210 |
|
|
211 |
OPTIONS_DEFINE= IODBC |
|
209 |
LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC |
|
212 | 210 |
|
213 |
IODBC_DESC= Use the iODBC driver instead of unixODBC |
|
211 |
CONFIGURE_ARGS+=--enable-odbc \ |
|
212 |
--with-unixODBC=${LOCALBASE} |
|
214 | 213 |
.endif |
215 | 214 |
|
216 | 215 |
.if ${PHP_MODNAME} == "openssl" |
... | ... | |
263 | 262 |
.endif |
264 | 263 |
|
265 | 264 |
.if ${PHP_MODNAME} == "pdo_odbc" |
266 |
OPTIONS_DEFINE= IODBC |
|
267 |
|
|
268 |
IODBC_DESC= Use the iODBC driver instead of unixODBC |
|
265 |
LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC |
|
266 |
CONFIGURE_ARGS+=--with-pdo-odbc=unixODBC,${LOCALBASE} |
|
269 | 267 |
|
270 | 268 |
USE_PHP= pdo |
271 | 269 |
USE_PHP_BUILD= yes |
... | ... | |
336 | 334 |
|
337 | 335 |
.if ${PHP_MODNAME} == "simplexml" |
338 | 336 |
CONFIGURE_ARGS+=--enable-simplexml \ |
337 |
--with-pcre-dir=${LOCALBASE} \ |
|
339 | 338 |
--with-libxml-dir=${LOCALBASE} |
340 | 339 |
|
341 |
CFLAGS+= -I${LOCALBASE}/include |
|
342 | 340 |
USES+= pkgconfig |
343 | 341 |
USE_GNOME= libxml2 |
344 | 342 |
.endif |
... | ... | |
430 | 428 |
|
431 | 429 |
.if ${PHP_MODNAME} == "xmlrpc" |
432 | 430 |
CONFIGURE_ARGS+=--with-xmlrpc \ |
433 |
--with-libxml-dir=${LOCALBASE} |
|
431 |
--with-libxml-dir=${LOCALBASE} \ |
|
432 |
--with-iconv-dir=${LOCALBASE} |
|
434 | 433 |
|
435 |
USES+= iconv |
|
434 |
USES+= iconv:translit
|
|
436 | 435 |
USE_GNOME= libxml2 |
437 | 436 |
|
438 | 437 |
PHP_HEADER_DIRS=libxmlrpc |
... | ... | |
560 | 559 |
@${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 |
561 | 560 |
.endif |
562 | 561 |
|
563 |
.if ${PHP_MODNAME} == "odbc" |
|
564 |
. if ${PORT_OPTIONS:MIODBC} |
|
565 |
LIB_DEPENDS+= libiodbc.so:${PORTSDIR}/databases/libiodbc |
|
566 |
|
|
567 |
CONFIGURE_ARGS+=--with-iodbc=${LOCALBASE} |
|
568 |
. else |
|
569 |
LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC |
|
570 |
|
|
571 |
CONFIGURE_ARGS+=--with-unixODBC=${LOCALBASE} |
|
572 |
. endif |
|
573 |
.endif |
|
574 |
|
|
575 | 562 |
.if ${PHP_MODNAME} == "pdo_dblib" |
576 | 563 |
. if ${PORT_OPTIONS:MMSSQL} |
577 | 564 |
LIB_DEPENDS+= libsybdb.so:${PORTSDIR}/databases/freetds-msdblib |
... | ... | |
580 | 567 |
. endif |
581 | 568 |
.endif |
582 | 569 |
|
583 |
.if ${PHP_MODNAME} == "pdo_odbc" |
|
584 |
. if ${PORT_OPTIONS:MIODBC} |
|
585 |
LIB_DEPENDS+= libiodbc.so:${PORTSDIR}/databases/libiodbc |
|
586 |
|
|
587 |
CONFIGURE_ARGS+=--with-pdo-odbc=iODBC,${LOCALBASE} |
|
588 |
. else |
|
589 |
LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC |
|
590 |
|
|
591 |
CONFIGURE_ARGS+=--with-pdo-odbc=unixODBC,${LOCALBASE} |
|
592 |
. endif |
|
593 |
.endif |
|
594 |
|
|
595 | 570 |
.if ${PHP_MODNAME} == "pdo_mysql" |
596 | 571 |
. if ${PORT_OPTIONS:MMYSQLND} |
597 | 572 |
CONFIGURE_ARGS+=--with-pdo-mysql=mysqlnd |
pfPorts/php55/distinfo | ||
---|---|---|
1 |
SHA256 (php-5.5.11.tar.bz2) = 60e14c255f2a461a7a26639b84a2fc448cc2f91c8dead0e9fd00cd8ba27a2e96
|
|
2 |
SIZE (php-5.5.11.tar.bz2) = 13207627
|
|
1 |
SHA256 (php-5.5.12.tar.bz2) = 519ee29e28532782676f3d8e31a808ffbfee383e0279ccc8cbd2b12ed53c2335
|
|
2 |
SIZE (php-5.5.12.tar.bz2) = 13251734
|
|
3 | 3 |
SHA256 (php-5.5.x-mail-header.patch) = b0b5a7c961b2052eb14d9528e76155cbeaa881fb9b4a49f452f9dab07b6fb1c4 |
4 | 4 |
SIZE (php-5.5.x-mail-header.patch) = 3379 |
pfPorts/php55/pkg-message.mod | ||
---|---|---|
4 | 4 |
|
5 | 5 |
You should add the following to your Apache configuration file: |
6 | 6 |
|
7 |
AddType application/x-httpd-php .php |
|
8 |
AddType application/x-httpd-php-source .phps |
|
7 |
<FilesMatch "\.php$"> |
|
8 |
SetHandler application/x-httpd-php |
|
9 |
</FilesMatch> |
|
10 |
<FilesMatch "\.phps$"> |
|
11 |
SetHandler application/x-httpd-php-source |
|
12 |
</FilesMatch> |
|
9 | 13 |
|
10 | 14 |
*************************************************************** |
Formats disponibles : Unified diff
Update php55 to 5.5.12