diff --git a/www/php5/extensions/Makefile b/www/php5/extensions/Makefile index 1d955801652..a71dc067616 100644 --- a/www/php5/extensions/Makefile +++ b/www/php5/extensions/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2005/04/10 12:21:02 robert Exp $ +# $OpenBSD: Makefile,v 1.10 2005/05/12 19:09:14 robert Exp $ FULLPKGNAME= php5-extensions-${V} COMMENT= "informational package about PHP5 extensions" @@ -245,7 +245,7 @@ SNMP_WANTLIB= crypto .endif # sqlite -PSEUDO_FLAVORS+= no_sqlite +PSEUDO_FLAVORS+= no_sqlite .if ${FLAVOR:L:Mno_sqlite} CONFIGURE_ARGS+= --without-sqlite .else @@ -278,6 +278,17 @@ XMLRPC_DEPENDS= expat.2::textproc/expat XMLRPC_WANTLIB= iconv .endif +# xsl +PSEUDO_FLAVORS+= no_xsl +.if ${FLAVOR:L:Mno_xsl} +CONFIGURE_ARGS+= --without-xsl +.else +MULTI_PACKAGES+= -xsl +COMMENT-xsl= "XSL functions for php5" +CONFIGURE_ARGS+= --with-xsl=shared --enable-dom +XSLT_DEPENDS= xslt.3::textproc/libxslt +.endif + .for i in ${MULTI_PACKAGES} .if !defined(FULLPKGNAME${i}) FULLPKGNAME${i}= php5${i}-${V} diff --git a/www/php5/extensions/pkg/DESCR-xsl b/www/php5/extensions/pkg/DESCR-xsl new file mode 100644 index 00000000000..f9affc3bd5e --- /dev/null +++ b/www/php5/extensions/pkg/DESCR-xsl @@ -0,0 +1,10 @@ +XSLT (Extensible Stylesheet Language (XSL) Transformations) is a +language for transforming XML documents into other XML documents. +It is a standard defined by The World Wide Web consortium (W3C). +Information about XSLT and related technologies can be found at +http://www.w3.org/TR/xslt. + +This PHP extension provides a processor independent API to XSLT +transformations. Currently this extension only supports the Sablotron +library from the Ginger Alliance. Support is planned for other +libraries, such as the Xalan library or the libxslt library. diff --git a/www/php5/extensions/pkg/PLIST-xsl b/www/php5/extensions/pkg/PLIST-xsl new file mode 100644 index 00000000000..5139d1fee08 --- /dev/null +++ b/www/php5/extensions/pkg/PLIST-xsl @@ -0,0 +1,2 @@ +@comment $OpenBSD: PLIST-xsl,v 1.1 2005/05/12 19:09:15 robert Exp $ +lib/php/modules/xsl.so