summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortaca <taca>2010-03-16 15:11:58 +0000
committertaca <taca>2010-03-16 15:11:58 +0000
commitfa92c8ad6499d9a4316bbabd6dba8818295a3ea7 (patch)
treed1fa1bb0026c4e61ba8078dfd64ceb3b2880d0f1 /textproc
parent45c9176e99a640e51b75d749664dc7d34e1f875d (diff)
downloadpkgsrc-fa92c8ad6499d9a4316bbabd6dba8818295a3ea7.tar.gz
Re-import textproc/php5-xsl as textproc/php-xsl.
textproc/php5-xsl package will be deleted later.
Diffstat (limited to 'textproc')
-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"