summaryrefslogtreecommitdiff
path: root/textproc/php-xsl
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-03-16 15:11:58 +0000
committertaca <taca@pkgsrc.org>2010-03-16 15:11:58 +0000
commit075cd2e39ce484fd5326e1ac562058761577eddb (patch)
treed1fa1bb0026c4e61ba8078dfd64ceb3b2880d0f1 /textproc/php-xsl
parent11bbecfd01ba6143ca58d83169ea1b08390d4643 (diff)
downloadpkgsrc-075cd2e39ce484fd5326e1ac562058761577eddb.tar.gz
Re-import textproc/php5-xsl as textproc/php-xsl.
textproc/php5-xsl package will be deleted later.
Diffstat (limited to 'textproc/php-xsl')
-rw-r--r--textproc/php-xsl/DESCR3
-rw-r--r--textproc/php-xsl/MESSAGE9
-rw-r--r--textproc/php-xsl/Makefile22
3 files changed, 34 insertions, 0 deletions
diff --git a/textproc/php-xsl/DESCR b/textproc/php-xsl/DESCR
new file mode 100644
index 00000000000..622d13e3951
--- /dev/null
+++ b/textproc/php-xsl/DESCR
@@ -0,0 +1,3 @@
+PHP is a programming language designed to be embedded into web pages.
+The XSL extension implements the XSL standard, performing XSLT transformations
+using the libxslt library.
diff --git a/textproc/php-xsl/MESSAGE b/textproc/php-xsl/MESSAGE
new file mode 100644
index 00000000000..7ce0eff7fbf
--- /dev/null
+++ b/textproc/php-xsl/MESSAGE
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2010/03/16 15:11:58 taca Exp $
+
+To enable this module, DOM extension must also be enabled. Make sure PHP
+configuration file ${PKG_SYSCONFDIR}/php.ini contains also:
+
+ extension=dom.so
+
+===========================================================================
diff --git a/textproc/php-xsl/Makefile b/textproc/php-xsl/Makefile
new file mode 100644
index 00000000000..bef89f56aaf
--- /dev/null
+++ b/textproc/php-xsl/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/03/16 15:11:58 taca Exp $
+
+MODNAME= xsl
+CATEGORIES+= textproc
+COMMENT= PHP5 extension for XSLT functions
+
+CONFLICTS= php-xsl-[0-9]*
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.libxslt}
+
+# uses symbols from DOM extension, so add explicit depends
+DEPENDS+= php5*-dom-*:../../textproc/php-dom
+
+# build uses includes of the DOM extension, so need to extract that too
+EXTRACT_ELEMENTS= ${DISTNAME}/ext/${MODNAME} ${DISTNAME}/ext/dom
+WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODNAME}
+
+.include "../../lang/php/ext.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"