|
Lines 389-397
Link Here
|
| 389 |
.endif |
389 |
.endif |
| 390 |
|
390 |
|
| 391 |
.if ${PHP_MODNAME} == "tidy" |
391 |
.if ${PHP_MODNAME} == "tidy" |
|
|
392 |
OPTIONS_DEFINE= TIDY5 |
| 393 |
TIDY5_DESC= Uses Tidy5 (still beta) |
| 394 |
|
| 392 |
CONFIGURE_ARGS+=--with-tidy=${LOCALBASE} |
395 |
CONFIGURE_ARGS+=--with-tidy=${LOCALBASE} |
| 393 |
|
|
|
| 394 |
LIB_DEPENDS+= libtidy.so:${PORTSDIR}/www/tidy-lib |
| 395 |
.endif |
396 |
.endif |
| 396 |
|
397 |
|
| 397 |
.if ${PHP_MODNAME} == "tokenizer" |
398 |
.if ${PHP_MODNAME} == "tokenizer" |
|
Lines 587-592
Link Here
|
| 587 |
. endif |
588 |
. endif |
| 588 |
.endif |
589 |
.endif |
| 589 |
|
590 |
|
|
|
591 |
.if ${PHP_MODNAME} == "tidy" |
| 592 |
. if ${PORT_OPTIONS:MTIDY5} |
| 593 |
LIB_DEPENDS+= libtidy5.so:${PORTSDIR}/www/tidy-html5 |
| 594 |
|
| 595 |
post-extract: |
| 596 |
${REINPLACE_CMD} -e '/PHP_ADD_LIBRARY_WITH_PATH/s|tidy|tidy5|' \ |
| 597 |
${WRKSRC}/config.m4 |
| 598 |
${REINPLACE_CMD} -e '/PHP_CHECK_LIBRARY/s|tidy|tidy5|' \ |
| 599 |
${WRKSRC}/config.m4 |
| 600 |
|
| 601 |
. else |
| 602 |
LIB_DEPENDS+= libtidy.so:${PORTSDIR}/www/tidy-lib |
| 603 |
. endif |
| 604 |
.endif |
| 605 |
|
| 590 |
.if ${PHP_MODNAME} == "xml" |
606 |
.if ${PHP_MODNAME} == "xml" |
| 591 |
post-extract: |
607 |
post-extract: |
| 592 |
@${MKDIR} ${WRKSRC}/ext/xml |
608 |
@${MKDIR} ${WRKSRC}/ext/xml |