Lines 20-26
Link Here
|
20 |
# |
20 |
# |
21 |
|
21 |
|
22 |
PORTNAME= php4 |
22 |
PORTNAME= php4 |
23 |
PORTVERSION= 4.3.3 |
23 |
PORTVERSION= 4.3.4.r1 |
24 |
PORTREVISION= 0 |
24 |
PORTREVISION= 0 |
25 |
CATEGORIES?= lang devel www |
25 |
CATEGORIES?= lang devel www |
26 |
MASTER_SITES= http://www.php.net/distributions/:release \ |
26 |
MASTER_SITES= http://www.php.net/distributions/:release \ |
Lines 45-51
Link Here
|
45 |
.endif |
45 |
.endif |
46 |
.endif |
46 |
.endif |
47 |
DISTNAME= php-${PORTVERSION:S/.r/RC/} |
47 |
DISTNAME= php-${PORTVERSION:S/.r/RC/} |
48 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:release |
48 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:rc |
49 |
|
49 |
|
50 |
MAINTAINER?= sysadmin@alexdupre.com |
50 |
MAINTAINER?= sysadmin@alexdupre.com |
51 |
COMMENT= PHP Scripting Language (Apache Module and CLI) |
51 |
COMMENT= PHP Scripting Language (Apache Module and CLI) |
Lines 65-71
Link Here
|
65 |
USE_SUBMAKE= yes |
65 |
USE_SUBMAKE= yes |
66 |
GNU_CONFIGURE= yes |
66 |
GNU_CONFIGURE= yes |
67 |
USE_BISON= yes |
67 |
USE_BISON= yes |
68 |
USE_LIBTOOL_VER=14 |
|
|
69 |
|
68 |
|
70 |
CONFIGURE_ARGS= --enable-versioning \ |
69 |
CONFIGURE_ARGS= --enable-versioning \ |
71 |
--enable-memory-limit \ |
70 |
--enable-memory-limit \ |
Lines 112-117
Link Here
|
112 |
CONFIGURE_ARGS+=--disable-cli |
111 |
CONFIGURE_ARGS+=--disable-cli |
113 |
PLIST_SUB+= CLI="@comment " |
112 |
PLIST_SUB+= CLI="@comment " |
114 |
.else |
113 |
.else |
|
|
114 |
.if !defined(WITHOUT_PEAR) |
115 |
CONFIGURE_ARGS+=--with-pear |
116 |
PLIST_SUB+= PEAR="" |
117 |
.else |
118 |
PLIST_SUB+= PEAR="@comment " |
119 |
.endif |
115 |
MAN1= php.1 |
120 |
MAN1= php.1 |
116 |
PLIST_SUB+= CLI="" |
121 |
PLIST_SUB+= CLI="" |
117 |
.endif |
122 |
.endif |
Lines 119-131
Link Here
|
119 |
SAPI_FILE= "bin/php" |
124 |
SAPI_FILE= "bin/php" |
120 |
.endif |
125 |
.endif |
121 |
|
126 |
|
122 |
ALL_OPTIONS= BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DBASE DBX DOMXML \ |
127 |
ALL_OPTIONS= BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DB4 DBASE DBX \ |
123 |
DOMXSLT EXIF FILEPRO FRIBIDI FTP GD GDBM GETTEXT GMP HYPERWAVE \ |
128 |
DOMXML DOMXSLT EXIF FILEPRO FRIBIDI FTP GD GDBM GETTEXT GMP \ |
124 |
ICONV IMAP INTERBASE INIFILE MBSTRING MCAL MCVE MCRYPT MHASH \ |
129 |
HYPERWAVE ICONV IMAP INTERBASE INIFILE MBSTRING MCAL MCVE \ |
125 |
MIME MING MYSQL NCURSES OPENLDAP OPENSSL ORACLE OVERLOAD PCNTL \ |
130 |
MCRYPT MHASH MIME MING MYSQL NCURSES OPENLDAP OPENSSL ORACLE \ |
126 |
PCRE PDFLIB POSIX POSTGRESQL PSPELL READLINE RECODE SESSION \ |
131 |
OVERLOAD PCNTL PCRE PDFLIB POSIX POSTGRESQL PSPELL READLINE \ |
127 |
SHMOP SNMP SOCKETS SYBASEDB SYBASECT SYSVSEM SYSVSHM TOKENIZER \ |
132 |
RECODE SESSION SHMOP SNMP SOCKETS SYBASEDB SYBASECT SYSVSEM \ |
128 |
UNIXODBC WDDX XML XMLRPC XSLT YAZ YP ZIP ZLIB |
133 |
SYSVSHM TOKENIZER UNIXODBC WDDX XML XMLRPC XSLT YAZ YP ZIP ZLIB |
129 |
|
134 |
|
130 |
.for opt in ${ALL_OPTIONS} |
135 |
.for opt in ${ALL_OPTIONS} |
131 |
.if defined(WITH_${opt}) || defined(WITHOUT_${opt}) |
136 |
.if defined(WITH_${opt}) || defined(WITHOUT_${opt}) |
Lines 203-209
Link Here
|
203 |
.include "${WRKDIR}/Makefile.inc" |
208 |
.include "${WRKDIR}/Makefile.inc" |
204 |
.endif |
209 |
.endif |
205 |
|
210 |
|
206 |
.if defined(WITH_CDB) || defined(WITH_GDBM) || defined(WITH_INIFILE) |
211 |
.if defined(WITH_CDB) || defined(WITH_DB4) || defined(WITH_GDBM) || defined(WITH_INIFILE) |
207 |
WITH_DBA= yes |
212 |
WITH_DBA= yes |
208 |
.endif |
213 |
.endif |
209 |
|
214 |
|
Lines 215-222
Link Here
|
215 |
WITH_ICONV_DEP= yes |
220 |
WITH_ICONV_DEP= yes |
216 |
.endif |
221 |
.endif |
217 |
|
222 |
|
218 |
.if defined(WITH_SNMP) |
223 |
.if defined(WITH_MCVE) || defined(WITH_SNMP) |
219 |
WITH_OPENSSL= yes |
224 |
WITH_OPENSSL_DEP= yes |
220 |
.endif |
225 |
.endif |
221 |
|
226 |
|
222 |
.if defined(WITH_XMLRPC) || defined(WITH_XSLT) |
227 |
.if defined(WITH_XMLRPC) || defined(WITH_XSLT) |
Lines 264-269
Link Here
|
264 |
CONFIGURE_ARGS+=--with-curl=${LOCALBASE} |
269 |
CONFIGURE_ARGS+=--with-curl=${LOCALBASE} |
265 |
.endif |
270 |
.endif |
266 |
|
271 |
|
|
|
272 |
.if defined(WITH_DB4) |
273 |
LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 |
274 |
CONFIGURE_ARGS+=--with-db4=${LOCALBASE} |
275 |
.endif |
276 |
|
267 |
.if defined(WITH_DBA) |
277 |
.if defined(WITH_DBA) |
268 |
CONFIGURE_ARGS+=--enable-dba |
278 |
CONFIGURE_ARGS+=--enable-dba |
269 |
.endif |
279 |
.endif |
Lines 410-422
Link Here
|
410 |
.endif |
420 |
.endif |
411 |
|
421 |
|
412 |
.if defined(WITH_MYSQL) |
422 |
.if defined(WITH_MYSQL) |
413 |
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10) |
423 |
USE_MYSQL= yes |
414 |
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client |
|
|
415 |
.elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.14) |
416 |
LIB_DEPENDS+= mysqlclient.14:${PORTSDIR}/databases/mysql41-client |
417 |
.else |
418 |
LIB_DEPENDS+= mysqlclient.12:${PORTSDIR}/databases/mysql40-client |
419 |
.endif |
420 |
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} |
424 |
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} |
421 |
.endif |
425 |
.endif |
422 |
|
426 |
|
Lines 431-459
Link Here
|
431 |
.endif |
435 |
.endif |
432 |
|
436 |
|
433 |
.if defined(WITH_OPENLDAP) |
437 |
.if defined(WITH_OPENLDAP) |
434 |
.if exists(${LOCALBASE}/lib/libldap.so.1) |
438 |
USE_OPENLDAP= yes |
435 |
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 |
|
|
436 |
.elif exists(${LOCALBASE}/lib/libldap.so.2) |
437 |
.if exists(${LOCALBASE}/include/srchpref.h) |
438 |
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client |
439 |
.elif exists(${LOCALBASE}/include/slapi-plugin.h) |
440 |
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap22-client |
441 |
.else |
442 |
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21-client |
443 |
.endif |
444 |
.else |
445 |
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap22-client |
446 |
.endif |
447 |
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} |
439 |
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} |
448 |
.endif |
440 |
.endif |
449 |
|
441 |
|
450 |
.if defined(WITH_OPENSSL) || defined(WITH_OPENSSL_DEP) |
442 |
.if defined(WITH_OPENSSL) || defined(WITH_OPENSSL_DEP) |
451 |
.if exists(${LOCALBASE}/lib/libcrypto.so.3) |
443 |
USE_OPENSSL= yes |
452 |
OPENSSLBASE= ${LOCALBASE} |
444 |
CONFIGURE_ARGS+=--with-openssl-dir=${OPENSSLBASE} |
453 |
LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl |
|
|
454 |
.else |
455 |
OPENSSLBASE= /usr |
456 |
.endif |
457 |
.endif |
445 |
.endif |
458 |
|
446 |
|
459 |
.if defined(WITH_OPENSSL) |
447 |
.if defined(WITH_OPENSSL) |