From c91c9e41b962fe22fbbba187136eddf6ebfc843b Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 16 Oct 2001 06:23:08 +0000 Subject: Update php4-sablot to the version from the php-4.0.6 distribution. There is no list of changes from version 4.0.5. Also move from the www category. --- textproc/php4-sablot/Makefile | 18 ++++++++++++++++++ textproc/php4-sablot/distinfo | 5 +++++ textproc/php4-sablot/patches/patch-aa | 31 +++++++++++++++++++++++++++++++ textproc/php4-sablot/pkg/DESCR | 2 ++ 4 files changed, 56 insertions(+) create mode 100644 textproc/php4-sablot/Makefile create mode 100644 textproc/php4-sablot/distinfo create mode 100644 textproc/php4-sablot/patches/patch-aa create mode 100644 textproc/php4-sablot/pkg/DESCR (limited to 'textproc') diff --git a/textproc/php4-sablot/Makefile b/textproc/php4-sablot/Makefile new file mode 100644 index 00000000000..4ddc7b39c5a --- /dev/null +++ b/textproc/php4-sablot/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/16 06:23:08 jlam Exp $ + +.include "../php4/Makefile.module" + +MODNAME= sablot +CATEGORIES+= textproc +PHP_PKG_VERS= # empty + +MAINTAINER= uithuis@dds.nl +COMMENT= PHP4 XSLT functions using Sablotron + +CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_DIR} +CONFIGURE_ARGS+= --with-expat-dir=shared,${BUILDLINK_DIR} +CONFIGURE_ENV+= PHP_ICONV=${BUILDLINK_DIR} +LIBS+= -lm + +.include "../../textproc/sablotron/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/php4-sablot/distinfo b/textproc/php4-sablot/distinfo new file mode 100644 index 00000000000..e0790953e7a --- /dev/null +++ b/textproc/php4-sablot/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/10/16 06:23:08 jlam Exp $ + +SHA1 (php-4.0.6.tar.gz) = 6544eb1085b916541af914a11074e9bb8a037a03 +Size (php-4.0.6.tar.gz) = 3157346 bytes +SHA1 (patch-aa) = 803f25788c9a41545e7c4d9e02fa00b76dea1017 diff --git a/textproc/php4-sablot/patches/patch-aa b/textproc/php4-sablot/patches/patch-aa new file mode 100644 index 00000000000..2e52d082701 --- /dev/null +++ b/textproc/php4-sablot/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/10/16 06:23:08 jlam Exp $ + +--- config.m4.orig Fri Jun 1 02:42:55 2001 ++++ config.m4 +@@ -36,7 +36,8 @@ + for i in $PHP_EXPAT_DIR $SABLOT_DIR; do + if test -f $i/lib/libexpat.a -o -f $i/lib/libexpat.s?; then + AC_DEFINE(HAVE_LIBEXPAT2,1,[ ]) +- PHP_ADD_LIBRARY_WITH_PATH(expat, $i/lib) ++ PHP_ADD_LIBRARY_WITH_PATH(expat, $i/lib, SABLOT_SHARED_LIBADD) ++ PHP_ADD_LIBRARY_WITH_PATH(m, /usr/lib, SABLOT_SHARED_LIBADD) + PHP_ADD_INCLUDE($i/include) + AC_CHECK_LIB(sablot, SablotSetEncoding, AC_DEFINE(HAVE_SABLOT_SET_ENCODING,1,[ ])) + testval=yes +@@ -51,14 +52,12 @@ + found_iconv=no + AC_CHECK_LIB(c, iconv_open, found_iconv=yes) + if test "$found_iconv" = "no"; then +- if test "$PHP_ICONV" = "no"; then +- for i in /usr /usr/local; do ++ for i in $PHP_ICONV /usr /usr/local; do + if test -f $i/lib/libconv.a -o -f $i/lib/libiconv.s?; then +- PHP_ADD_LIBRARY_WITH_PATH(iconv, $i/lib) ++ PHP_ADD_LIBRARY_WITH_PATH(iconv, $i/lib, SABLOT_SHARED_LIBADD) + found_iconv=yes + fi + done +- fi + fi + + if test "$found_iconv" = "no"; then diff --git a/textproc/php4-sablot/pkg/DESCR b/textproc/php4-sablot/pkg/DESCR new file mode 100644 index 00000000000..1286375b471 --- /dev/null +++ b/textproc/php4-sablot/pkg/DESCR @@ -0,0 +1,2 @@ +PHP is a programming language designed to be embedded into web pages. +This module provides PHP4 XSLT extensions using the Sablotron XSL processor. -- cgit v1.2.3