summaryrefslogtreecommitdiff
path: root/textproc/libxslt
diff options
context:
space:
mode:
authormartti <martti>2001-11-23 08:34:25 +0000
committermartti <martti>2001-11-23 08:34:25 +0000
commit300440be81055f51aaabb61283a10d4e0d08255c (patch)
tree84fd816f2b525effd5ec1e9f016a0ff2bae9f1a2 /textproc/libxslt
parentb07c4954b8ed55f839279deacc6799fc1dabcb62 (diff)
downloadpkgsrc-300440be81055f51aaabb61283a10d4e0d08255c.tar.gz
Libxslt is the XSLT C library developed for the Gnome project. XSLT itself is
a an XML language to define transformation for XML. Libxslt is based on libxml2 the XML C library developped for the Gnome project. It also implements most of the EXSLT set of extensions functions and some of Saxon's evaluate and expressions extensions. Submitted in pkg/14688 by Mark Davies.
Diffstat (limited to 'textproc/libxslt')
-rw-r--r--textproc/libxslt/DESCR5
-rw-r--r--textproc/libxslt/Makefile21
-rw-r--r--textproc/libxslt/PLIST68
-rw-r--r--textproc/libxslt/buildlink.mk56
-rw-r--r--textproc/libxslt/distinfo6
-rw-r--r--textproc/libxslt/patches/patch-aa13
-rw-r--r--textproc/libxslt/patches/patch-ab13
7 files changed, 182 insertions, 0 deletions
diff --git a/textproc/libxslt/DESCR b/textproc/libxslt/DESCR
new file mode 100644
index 00000000000..09b0c3947d2
--- /dev/null
+++ b/textproc/libxslt/DESCR
@@ -0,0 +1,5 @@
+Libxslt is the XSLT C library developed for the Gnome project. XSLT itself is
+a an XML language to define transformation for XML. Libxslt is based on libxml2
+the XML C library developped for the Gnome project. It also implements most of
+the EXSLT set of extensions functions and some of Saxon's evaluate and
+expressions extensions.
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
new file mode 100644
index 00000000000..710861cbcd0
--- /dev/null
+++ b/textproc/libxslt/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/11/23 08:34:25 martti Exp $
+
+DISTNAME= libxslt-1.0.7
+PKGNAME= ${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/libxslt/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://xmlsoft.org/
+COMMENT= Xslt parser library for GNOME
+
+USE_BUILDLINK_ONLY= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
+
+.include "../../textproc/libxml2/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/libxslt/PLIST b/textproc/libxslt/PLIST
new file mode 100644
index 00000000000..87f1eafc037
--- /dev/null
+++ b/textproc/libxslt/PLIST
@@ -0,0 +1,68 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/11/23 08:34:25 martti Exp $
+bin/xslt-config
+bin/xsltproc
+include/breakpoint/breakpoint.h
+include/libexslt/exslt.h
+include/libexslt/exsltconfig.h
+include/libxslt/attributes.h
+include/libxslt/documents.h
+include/libxslt/extensions.h
+include/libxslt/extra.h
+include/libxslt/functions.h
+include/libxslt/imports.h
+include/libxslt/keys.h
+include/libxslt/namespaces.h
+include/libxslt/numbersInternals.h
+include/libxslt/pattern.h
+include/libxslt/preproc.h
+include/libxslt/templates.h
+include/libxslt/transform.h
+include/libxslt/variables.h
+include/libxslt/xslt.h
+include/libxslt/xsltInternals.h
+include/libxslt/xsltconfig.h
+include/libxslt/xsltutils.h
+lib/libexslt.a
+lib/libexslt.la
+lib/libexslt.so
+lib/libexslt.so.7
+lib/libexslt.so.7.0
+lib/libxslt.a
+lib/libxslt.la
+lib/libxslt.so
+lib/libxslt.so.1
+lib/libxslt.so.1.7
+lib/libxsltbreakpoint.a
+lib/libxsltbreakpoint.la
+lib/libxsltbreakpoint.so
+lib/libxsltbreakpoint.so.1
+lib/libxsltbreakpoint.so.1.7
+lib/xsltConf.sh
+man/man1/xsltproc.1
+man/man4/libexslt.4
+man/man4/libxslt.4
+share/doc/libxslt/html/book1.html
+share/doc/libxslt/html/libxslt-attributes.html
+share/doc/libxslt/html/libxslt-functions.html
+share/doc/libxslt/html/libxslt-imports.html
+share/doc/libxslt/html/libxslt-keys.html
+share/doc/libxslt/html/libxslt-lib.html
+share/doc/libxslt/html/libxslt-namespaces.html
+share/doc/libxslt/html/libxslt-notes.html
+share/doc/libxslt/html/libxslt-numbersinternals.html
+share/doc/libxslt/html/libxslt-pattern.html
+share/doc/libxslt/html/libxslt-templates.html
+share/doc/libxslt/html/libxslt-transform.html
+share/doc/libxslt/html/libxslt-variables.html
+share/doc/libxslt/html/libxslt-xslt.html
+share/doc/libxslt/html/libxslt-xsltinternals.html
+share/doc/libxslt/html/libxslt-xsltutils.html
+share/doc/libxslt/html/tutorial/libxslt_tutorial.c
+share/doc/libxslt/html/tutorial/libxslttutorial.html
+share/doc/libxslt/html/tutorial/libxslttutorial.xml
+@dirrm share/doc/libxslt/html/tutorial
+@dirrm share/doc/libxslt/html
+@dirrm share/doc/libxslt
+@dirrm include/libxslt
+@dirrm include/libexslt
+@dirrm include/breakpoint
diff --git a/textproc/libxslt/buildlink.mk b/textproc/libxslt/buildlink.mk
new file mode 100644
index 00000000000..eefa7192e84
--- /dev/null
+++ b/textproc/libxslt/buildlink.mk
@@ -0,0 +1,56 @@
+# $NetBSD: buildlink.mk,v 1.1.1.1 2001/11/23 08:34:25 martti Exp $
+#
+# This Makefile fragment is included by packages that use libxslt.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.libxslt to the dependency pattern
+# for the version of libxslt desired.
+# (2) Include this Makefile fragment in the package Makefile,
+# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
+# search path, and
+# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
+# path.
+
+.if !defined(LIBXSLT_BUILDLINK_MK)
+LIBXSLT_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.libxslt?= libxslt>=1.0.7
+DEPENDS+= ${BUILDLINK_DEPENDS.libxslt}:../../textproc/libxslt
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libxslt=libxslt
+BUILDLINK_PREFIX.libxslt_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libxslt= include/breakpoint/*
+BUILDLINK_FILES.libxslt+= include/libexslt/*
+BUILDLINK_FILES.libxslt+= include/libxslt/*
+BUILDLINK_FILES.libxslt+= lib/libexslt.*
+BUILDLINK_FILES.libxslt+= lib/libxslt.*
+BUILDLINK_FILES.libxslt+= lib/libxsltbreakpoint.*
+BUILDLINK_FILES.libxslt+= lib/xsltConf.sh
+
+.include "../../textproc/libxml2/buildlink.mk"
+
+BUILDLINK_TARGETS.libxslt= libxslt-buildlink
+BUILDLINK_TARGETS.libxslt+= libxslt-buildlink-config-wrapper
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libxslt}
+
+BUILDLINK_CONFIG.libxslt= \
+ ${BUILDLINK_PREFIX.libxslt}/bin/xslt-config
+BUILDLINK_CONFIG_WRAPPER.libxslt= \
+ ${BUILDLINK_DIR}/bin/xslt-config
+REPLACE_BUILDLINK_SED+= \
+ -e "s|${BUILDLINK_CONFIG_WRAPPER.libxslt}|${BUILDLINK_CONFIG.libxslt}|g"
+
+.if defined(USE_CONFIG_WRAPPER)
+XSLT_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.libxslt}
+CONFIGURE_ENV+= XSLT_CONFIG="${XSLT_CONFIG}"
+MAKE_ENV+= XSLT_CONFIG="${XSLT_CONFIG}"
+.endif
+
+pre-configure: ${BUILDLINK_TARGETS.libxslt}
+libxslt-buildlink: _BUILDLINK_USE
+libxslt-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE
+
+.endif # LIBXSLT_BUILDLINK_MK
diff --git a/textproc/libxslt/distinfo b/textproc/libxslt/distinfo
new file mode 100644
index 00000000000..c17248e04b1
--- /dev/null
+++ b/textproc/libxslt/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/11/23 08:34:25 martti Exp $
+
+SHA1 (libxslt-1.0.7.tar.gz) = 93470cf263b80cdfafb033ee1a3a45f60e4b9c30
+Size (libxslt-1.0.7.tar.gz) = 1989123 bytes
+SHA1 (patch-aa) = 46c2ff041b0476ed2efc7c93aba4e7d1aafe90b9
+SHA1 (patch-ab) = 49524b9ab94472052413cfab9ce9d2f7e99aeebc
diff --git a/textproc/libxslt/patches/patch-aa b/textproc/libxslt/patches/patch-aa
new file mode 100644
index 00000000000..24ca096307a
--- /dev/null
+++ b/textproc/libxslt/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/11/23 08:34:25 martti Exp $
+
+--- configure.orig Sun Nov 11 02:51:35 2001
++++ configure Fri Nov 23 11:39:10 2001
+@@ -6482,7 +6482,7 @@
+
+
+
+-XSLT_LIBDIR='-L${libdir}'
++XSLT_LIBDIR='-L${libdir} -Wl,-R${libdir}'
+
+ case ${host} in
+ *-*-solaris*)
diff --git a/textproc/libxslt/patches/patch-ab b/textproc/libxslt/patches/patch-ab
new file mode 100644
index 00000000000..8ec364102ea
--- /dev/null
+++ b/textproc/libxslt/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/11/23 08:34:25 martti Exp $
+
+--- doc/Makefile.in.orig Sun Nov 11 02:52:38 2001
++++ doc/Makefile.in Fri Nov 23 11:22:33 2001
+@@ -104,7 +104,7 @@
+ XSLT_LIBDIR = @XSLT_LIBDIR@
+ XSLT_LIBS = @XSLT_LIBS@
+
+-DOC_MODULE = libxslt-$(VERSION)
++DOC_MODULE = libxslt
+
+ # The top-level SGML file.
+ DOC_MAIN_SGML_FILE = libxslt.sgml