summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-01-01 03:48:14 +0000
committerjlam <jlam@pkgsrc.org>2002-01-01 03:48:14 +0000
commitd201ee15d085c0209a9784740aeeabad97d932f3 (patch)
tree93d89d7a37f0735e392549acce6de7e1b55b3494 /textproc
parentc3fb12eeb1353854a93862dcc628ab20f6bdc606 (diff)
downloadpkgsrc-d201ee15d085c0209a9784740aeeabad97d932f3.tar.gz
textproc/php4-xslt: PHP4 extension for XSLT functions (Sablotron backend)
PHP is a programming language designed to be embedded into web pages. This module provides XSLT functions for PHP4. This module replaces textproc/php4-sablot, which has been deprecated/removed.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/php4-xslt/DESCR2
-rw-r--r--textproc/php4-xslt/Makefile23
-rw-r--r--textproc/php4-xslt/distinfo4
3 files changed, 29 insertions, 0 deletions
diff --git a/textproc/php4-xslt/DESCR b/textproc/php4-xslt/DESCR
new file mode 100644
index 00000000000..a03d1bf3cce
--- /dev/null
+++ b/textproc/php4-xslt/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides XSLT functions for PHP4.
diff --git a/textproc/php4-xslt/Makefile b/textproc/php4-xslt/Makefile
new file mode 100644
index 00000000000..5c9c90f3def
--- /dev/null
+++ b/textproc/php4-xslt/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/01/01 03:48:14 jlam Exp $
+
+.include "../../www/php4/Makefile.module"
+
+MODNAME= xslt
+CATEGORIES+= textproc
+PKGREVISION= # empty
+COMMENT= PHP4 extension for XSLT functions (Sablotron backend)
+
+USE_BUILDLINK_ONLY= YES
+CONFIGURE_ARGS+= --enable-${MODNAME}
+CONFIGURE_ARGS+= --with-${MODNAME}-sablot=shared,${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-expat-dir=shared,${BUILDLINK_DIR}
+
+# libsablot.so depends on libiconv.so, so just force the configure script
+# to find it.
+#
+CONFIGURE_ENV+= ac_cv_lib_c_iconv_open=yes
+CONFIGURE_ENV+= XSLT_SHARED_LIBADD="-liconv"
+LIBS+= -liconv
+
+.include "../../textproc/sablotron/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/php4-xslt/distinfo b/textproc/php4-xslt/distinfo
new file mode 100644
index 00000000000..91bcf048c23
--- /dev/null
+++ b/textproc/php4-xslt/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/01/01 03:48:14 jlam Exp $
+
+SHA1 (php-4.1.0.tar.gz) = d8ce2c3b1dd9551980340d20064a1e939ef49431
+Size (php-4.1.0.tar.gz) = 3371385 bytes