summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2002-11-20 06:52:17 +0000
committerOliver Braun <obraun@FreeBSD.org>2002-11-20 06:52:17 +0000
commit25fc54822e7c3bf95e1cc903e054a033291727c9 (patch)
treea299e9165f91bb2d1c2013d1fd38b9d2194631ca
parentUpdate to Vim 6.1 patchlevel 262 (diff)
Add galax 0.2.0, a full-featured, fully compliant implementation of XQuery.
PR: 45370 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Notes
Notes: svn path=/head/; revision=70539
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/galax/Makefile31
-rw-r--r--textproc/galax/distinfo1
-rw-r--r--textproc/galax/files/Makefile129
-rw-r--r--textproc/galax/pkg-comment1
-rw-r--r--textproc/galax/pkg-descr5
-rw-r--r--textproc/galax/pkg-message2
-rw-r--r--textproc/galax/pkg-plist235
8 files changed, 405 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 2d490c1943e8..027c15613a49 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -71,6 +71,7 @@
SUBDIR += fo-aspell
SUBDIR += fop
SUBDIR += freegrep
+ SUBDIR += galax
SUBDIR += gdict
SUBDIR += gdome2
SUBDIR += glark
diff --git a/textproc/galax/Makefile b/textproc/galax/Makefile
new file mode 100644
index 000000000000..0b0d25431834
--- /dev/null
+++ b/textproc/galax/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: galax
+# Date created: 17 November 2002
+# Whom: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= galax
+PORTVERSION= 0.2.0
+CATEGORIES= textproc
+MASTER_SITES= http://db.bell-labs.com/galax/Downloads/
+
+MAINTAINER= stolz@i2.informatik.rwth-aachen.de
+
+BUILD_DEPENDS= ocaml:${PORTSDIR}/lang/ocaml
+
+WRKSRC= ${WRKDIR}/galax
+
+USE_GMAKE= yes
+ALL_TARGET= world
+MAKE_ENV= PREFIX=${PREFIX} JAVA_HOME=${JAVE_HOME}
+
+PLIST_SUB= GALAX=Galax-${PORTVERSION}
+
+pre-patch:
+ ${CP} ${FILESDIR}/Makefile ${WRKSRC}/config
+
+post-install:
+ @${SED} 's,PREFIX,${PREFIX},; s,GALAX,Galax-${PORTVERSION},' ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/textproc/galax/distinfo b/textproc/galax/distinfo
new file mode 100644
index 000000000000..eba0532d0de9
--- /dev/null
+++ b/textproc/galax/distinfo
@@ -0,0 +1 @@
+MD5 (galax-0.2.0.tar.gz) = 49af659233f90ab7c22a4b330ac21673
diff --git a/textproc/galax/files/Makefile b/textproc/galax/files/Makefile
new file mode 100644
index 000000000000..8df0783de120
--- /dev/null
+++ b/textproc/galax/files/Makefile
@@ -0,0 +1,129 @@
+#########################################################################
+# #
+# GALAX #
+# XML Query Engine #
+# #
+# Copyright 2000, Lucent Technologies. #
+# Distributed only by permission. #
+# #
+#########################################################################
+
+# $Id: Makefile.unix,v 1.8 2002/10/12 00:33:30 simeon Exp $ #
+# $FreeBSD$ #
+
+# This config should work under Unix
+
+########################################################################
+# Location of O'Caml compilers and libraries
+
+OCAMLHOME=$(PREFIX)/lib/ocaml
+OCAMLBIN=$(PREFIX)/bin
+
+########################################################################
+# Where do you want to install Galax after it has been compiled?
+
+GALAXHOME=$(PREFIX)/Galax-0.2.0
+
+BINDIR=$(GALAXHOME)/bin
+LIBDIR=$(GALAXHOME)/lib
+MANDIR=$(GALAXHOME)
+
+###########################################################################
+# Character encoding configuration
+
+ENCODINGS=utf8 #iso88591 utf8
+# The list of currently available encodings is: iso88591 and utf8
+
+# Note that support for each encoding does add to the size of the
+# resulting Galax executables.
+
+###########################################################################
+# APIs configuration
+
+#
+# Notes:
+# - the Java API is not available in native mode
+# - the Java API requires the C API
+#
+
+APIS=c #java
+OPTAPIS=c
+
+# C & C++ compilers (only required if you want to use the C and C++ APIs)
+
+CC?=gcc
+CPP?=g++
+LD=ld
+
+# Compiling the C & C++ APIs often requires additional libaries,
+# depending on your compiler.
+#
+# A good hint is to look for the BYTECCLIBS variable inside
+# ./config/Makefile in the Objective Caml source after it has been
+# configured.
+
+# Works with Linux i386 + gcc
+WITH_CLIBS=-lm -lcurses
+
+# Works with Solaris 2.6 + cc
+#WITH_CLIBS=-lcurses -lnsl -lsocket -lm -ldl -lunix -lstr
+
+# Which parameters to ld to create a shared library?
+
+SHARED=-shared --whole-archive
+#SHARED=-G -z allextract
+
+# Java compilers (only required if you want to use the Java API)
+
+JAVAC=javac
+#JAVAH=javah
+
+# For the Java library, the Java home directory and include directory
+# where jni.h is located
+
+JAVAHOME=$(JAVA_HOME)
+
+# Works for IBM jdk
+JAVAINCLUDE=$(JAVAHOME)/include
+
+# Reported to work for SUN jdk
+#JAVAINCLUDE=$(JAVAHOME)/include/linux
+
+
+##########################################################################
+# The following is only needed if you are running the regression tests
+#
+# Location of Perl
+
+PERL=perl
+
+###########################################################################
+# YOU SHOULD NOT NEED TO MODIFY BELOW THIS LINE
+
+###########################################################################
+# Architecture
+
+ARCH=FreeBSD
+
+###########################################################################
+# Executable extension's configuration
+
+EXE= # Extension for executables
+OPT=.opt # Extension for native code executables
+BYTE=.byte # Extension for bytecode code executables
+CGI=.cgi # Extension for byte code CGI scripts
+OPTCGI=opt.cgi # Extension for native code CGI scripts
+ZIPEXT=.tar.gz # Extension for packages
+
+###########################################################################
+# Command-line tools
+
+CP=cp
+MKDIR=mkdir -p
+RANLIB=ranlib
+AR=ar
+LN=ln -s -f
+RM=rm -f
+TOUCH=touch
+ZIP=tar cvf
+ZIPOPT=--gzip
diff --git a/textproc/galax/pkg-comment b/textproc/galax/pkg-comment
new file mode 100644
index 000000000000..5213079d2fe0
--- /dev/null
+++ b/textproc/galax/pkg-comment
@@ -0,0 +1 @@
+Galax is a full-featured, fully compliant implementation of XQuery
diff --git a/textproc/galax/pkg-descr b/textproc/galax/pkg-descr
new file mode 100644
index 000000000000..899d3044d68c
--- /dev/null
+++ b/textproc/galax/pkg-descr
@@ -0,0 +1,5 @@
+Galax is a full-featured, fully compliant implementation of XQuery,
+the W3C XML Query Language. Galax is open source and is being
+developed at Lucent - Bell Labs and AT&T Labs Research.
+
+WWW: http://db.bell-labs.com/galax/
diff --git a/textproc/galax/pkg-message b/textproc/galax/pkg-message
new file mode 100644
index 000000000000..93847d3fbf4f
--- /dev/null
+++ b/textproc/galax/pkg-message
@@ -0,0 +1,2 @@
+Galax binaries are in PREFIX/GALAX/bin (you might want
+to add this directory to your $PATH).
diff --git a/textproc/galax/pkg-plist b/textproc/galax/pkg-plist
new file mode 100644
index 000000000000..c55efa8870d7
--- /dev/null
+++ b/textproc/galax/pkg-plist
@@ -0,0 +1,235 @@
+%%GALAX%%/bin/galax.byte
+%%GALAX%%/bin/mapschema.byte
+%%GALAX%%/bin/validate.byte
+%%GALAX%%/bin/wf-sax.byte
+%%GALAX%%/bin/galax
+%%GALAX%%/bin/mapschema
+%%GALAX%%/bin/validate
+%%GALAX%%/bin/wf-sax
+%%GALAX%%/bin/galaxtop
+%%GALAX%%/bin/galax.opt
+%%GALAX%%/bin/mapschema.opt
+%%GALAX%%/bin/validate.opt
+%%GALAX%%/bin/wf-sax.opt
+%%GALAX%%/lib/pervasive.xq
+%%GALAX%%/lib/caml/glx.cma
+%%GALAX%%/lib/caml/conf.mli
+%%GALAX%%/lib/caml/conf.cmi
+%%GALAX%%/lib/caml/error.mli
+%%GALAX%%/lib/caml/error.cmi
+%%GALAX%%/lib/caml/datamodel.mli
+%%GALAX%%/lib/caml/datamodel.cmi
+%%GALAX%%/lib/caml/galapi.mli
+%%GALAX%%/lib/caml/galapi.cmi
+%%GALAX%%/lib/caml/glx.a
+%%GALAX%%/lib/caml/glx.cmxa
+%%GALAX%%/lib/c/libglx.a
+%%GALAX%%/lib/c/glx_CPP.h
+%%GALAX%%/lib/c/glx.h
+%%GALAX%%/lib/c/libglxopt.a
+%%GALAX%%/lib/caml-devel/glx.cma
+%%GALAX%%/lib/caml-devel/glx.a
+%%GALAX%%/lib/caml-devel/glx.cmxa
+%%GALAX%%/lib/caml-devel/base64.cmi
+%%GALAX%%/lib/caml-devel/netstring_top.mli
+%%GALAX%%/lib/caml-devel/netstring_str.mli
+%%GALAX%%/lib/caml-devel/netstring_mt.mli
+%%GALAX%%/lib/caml-devel/netstream.mli
+%%GALAX%%/lib/caml-devel/netmappings.mli
+%%GALAX%%/lib/caml-devel/nethtml.mli
+%%GALAX%%/lib/caml-devel/netencoding.mli
+%%GALAX%%/lib/caml-devel/netdate.mli
+%%GALAX%%/lib/caml-devel/netconversion.mli
+%%GALAX%%/lib/caml-devel/netbuffer.mli
+%%GALAX%%/lib/caml-devel/mimestring.mli
+%%GALAX%%/lib/caml-devel/cgi.mli
+%%GALAX%%/lib/caml-devel/base64.mli
+%%GALAX%%/lib/caml-devel/neturl.cmi
+%%GALAX%%/lib/caml-devel/netstring_str.cmi
+%%GALAX%%/lib/caml-devel/netstream.cmi
+%%GALAX%%/lib/caml-devel/netmappings.cmi
+%%GALAX%%/lib/caml-devel/nethtml_scanner.cmi
+%%GALAX%%/lib/caml-devel/nethtml.cmi
+%%GALAX%%/lib/caml-devel/netencoding.cmi
+%%GALAX%%/lib/caml-devel/netdate.cmi
+%%GALAX%%/lib/caml-devel/netconversion.cmi
+%%GALAX%%/lib/caml-devel/netbuffer.cmi
+%%GALAX%%/lib/caml-devel/mimestring.cmi
+%%GALAX%%/lib/caml-devel/cgi.cmi
+%%GALAX%%/lib/caml-devel/neturl.mli
+%%GALAX%%/lib/caml-devel/args.cmi
+%%GALAX%%/lib/caml-devel/uri.mli
+%%GALAX%%/lib/caml-devel/sym.mli
+%%GALAX%%/lib/caml-devel/simple_lexer.mli
+%%GALAX%%/lib/caml-devel/simple.mli
+%%GALAX%%/lib/caml-devel/resolve.mli
+%%GALAX%%/lib/caml-devel/pool.mli
+%%GALAX%%/lib/caml-devel/pervasive.mli
+%%GALAX%%/lib/caml-devel/namespace.mli
+%%GALAX%%/lib/caml-devel/monitor.mli
+%%GALAX%%/lib/caml-devel/id.mli
+%%GALAX%%/lib/caml-devel/gmisc.mli
+%%GALAX%%/lib/caml-devel/finfo.mli
+%%GALAX%%/lib/caml-devel/error.mli
+%%GALAX%%/lib/caml-devel/decimal.mli
+%%GALAX%%/lib/caml-devel/datetime.mli
+%%GALAX%%/lib/caml-devel/conf.mli
+%%GALAX%%/lib/caml-devel/bound.mli
+%%GALAX%%/lib/caml-devel/args.mli
+%%GALAX%%/lib/caml-devel/whitespace.cmi
+%%GALAX%%/lib/caml-devel/uri.cmi
+%%GALAX%%/lib/caml-devel/sym.cmi
+%%GALAX%%/lib/caml-devel/simple_lexer_utf8.cmi
+%%GALAX%%/lib/caml-devel/simple_lexer.cmi
+%%GALAX%%/lib/caml-devel/simple.cmi
+%%GALAX%%/lib/caml-devel/resolve.cmi
+%%GALAX%%/lib/caml-devel/pool.cmi
+%%GALAX%%/lib/caml-devel/pervasive.cmi
+%%GALAX%%/lib/caml-devel/namespace.cmi
+%%GALAX%%/lib/caml-devel/id.cmi
+%%GALAX%%/lib/caml-devel/gmisc.cmi
+%%GALAX%%/lib/caml-devel/finfo.cmi
+%%GALAX%%/lib/caml-devel/error.cmi
+%%GALAX%%/lib/caml-devel/decimal.cmi
+%%GALAX%%/lib/caml-devel/datetime.cmi
+%%GALAX%%/lib/caml-devel/conf.cmi
+%%GALAX%%/lib/caml-devel/bound.cmi
+%%GALAX%%/lib/caml-devel/whitespace.mli
+%%GALAX%%/lib/caml-devel/xml_ast.mli
+%%GALAX%%/lib/caml-devel/closing_tag_lexer_utf8.cmi
+%%GALAX%%/lib/caml-devel/xquery_astutil.mli
+%%GALAX%%/lib/caml-devel/xquery_ast.mli
+%%GALAX%%/lib/caml-devel/xml_astutil.mli
+%%GALAX%%/lib/caml-devel/tokens.mli
+%%GALAX%%/lib/caml-devel/sax.mli
+%%GALAX%%/lib/caml-devel/print.mli
+%%GALAX%%/lib/caml-devel/parseutil.mli
+%%GALAX%%/lib/caml-devel/lexutil.mli
+%%GALAX%%/lib/caml-devel/lexers_utf8.mli
+%%GALAX%%/lib/caml-devel/lexers_iso88591.mli
+%%GALAX%%/lib/caml-devel/xquery_parser.cmi
+%%GALAX%%/lib/caml-devel/xquery_lexer.cmi
+%%GALAX%%/lib/caml-devel/xquery_astutil.cmi
+%%GALAX%%/lib/caml-devel/xquery_ast.cmi
+%%GALAX%%/lib/caml-devel/xmldecl_lexer.cmi
+%%GALAX%%/lib/caml-devel/xml_astutil.cmi
+%%GALAX%%/lib/caml-devel/xml_ast.cmi
+%%GALAX%%/lib/caml-devel/type_lexer.cmi
+%%GALAX%%/lib/caml-devel/tokens.cmi
+%%GALAX%%/lib/caml-devel/sax.cmi
+%%GALAX%%/lib/caml-devel/text_lexer_utf8.cmi
+%%GALAX%%/lib/caml-devel/print.cmi
+%%GALAX%%/lib/caml-devel/parseutil.cmi
+%%GALAX%%/lib/caml-devel/opening_tag_lexer_utf8.cmi
+%%GALAX%%/lib/caml-devel/lexutil.cmi
+%%GALAX%%/lib/caml-devel/lexers_utf8.cmi
+%%GALAX%%/lib/caml-devel/document_lexer_utf8.cmi
+%%GALAX%%/lib/caml-devel/xquery_parser.mli
+%%GALAX%%/lib/caml-devel/dfa.cmi
+%%GALAX%%/lib/caml-devel/intersectfsa.mli
+%%GALAX%%/lib/caml-devel/glushkov.mli
+%%GALAX%%/lib/caml-devel/fsa.mli
+%%GALAX%%/lib/caml-devel/dfa.mli
+%%GALAX%%/lib/caml-devel/reachability.cmi
+%%GALAX%%/lib/caml-devel/intersectfsa.cmi
+%%GALAX%%/lib/caml-devel/glushkov.cmi
+%%GALAX%%/lib/caml-devel/fsa.cmi
+%%GALAX%%/lib/caml-devel/reachability.mli
+%%GALAX%%/lib/caml-devel/schema.cmi
+%%GALAX%%/lib/caml-devel/theta.mli
+%%GALAX%%/lib/caml-devel/subsumption.mli
+%%GALAX%%/lib/caml-devel/simplification.mli
+%%GALAX%%/lib/caml-devel/schemautil.mli
+%%GALAX%%/lib/caml-devel/schemamapping.mli
+%%GALAX%%/lib/caml-devel/schema.mli
+%%GALAX%%/lib/caml-devel/intersection.mli
+%%GALAX%%/lib/caml-devel/typeutil.cmi
+%%GALAX%%/lib/caml-devel/theta.cmi
+%%GALAX%%/lib/caml-devel/subsumption.cmi
+%%GALAX%%/lib/caml-devel/simplification.cmi
+%%GALAX%%/lib/caml-devel/schemautil.cmi
+%%GALAX%%/lib/caml-devel/schemamapping.cmi
+%%GALAX%%/lib/caml-devel/typeutil.mli
+%%GALAX%%/lib/caml-devel/mapping.mli
+%%GALAX%%/lib/caml-devel/xadepend.mli
+%%GALAX%%/lib/caml-devel/maputil.mli
+%%GALAX%%/lib/caml-devel/xatenv.mli
+%%GALAX%%/lib/caml-devel/xatenv.cmi
+%%GALAX%%/lib/caml-devel/maputil.cmi
+%%GALAX%%/lib/caml-devel/mapping.cmi
+%%GALAX%%/lib/caml-devel/path_analysis.cmi
+%%GALAX%%/lib/caml-devel/path_struct.mli
+%%GALAX%%/lib/caml-devel/path_env.mli
+%%GALAX%%/lib/caml-devel/path_analysis.mli
+%%GALAX%%/lib/caml-devel/path_varlists.cmi
+%%GALAX%%/lib/caml-devel/path_struct.cmi
+%%GALAX%%/lib/caml-devel/path_env.cmi
+%%GALAX%%/lib/caml-devel/path_varlists.mli
+%%GALAX%%/lib/caml-devel/datamodel.cmi
+%%GALAX%%/lib/caml-devel/validation-sax.mli
+%%GALAX%%/lib/caml-devel/nodeid.mli
+%%GALAX%%/lib/caml-devel/load.mli
+%%GALAX%%/lib/caml-devel/datamodel.mli
+%%GALAX%%/lib/caml-devel/validation.cmi
+%%GALAX%%/lib/caml-devel/nodeid.cmi
+%%GALAX%%/lib/caml-devel/load.cmi
+%%GALAX%%/lib/caml-devel/validation.mli
+%%GALAX%%/lib/caml-devel/store.mli
+%%GALAX%%/lib/caml-devel/bltin.mli
+%%GALAX%%/lib/caml-devel/store.cmi
+%%GALAX%%/lib/caml-devel/bltin.cmi
+%%GALAX%%/lib/caml-devel/typing.mli
+%%GALAX%%/lib/caml-devel/tpath.mli
+%%GALAX%%/lib/caml-devel/commontype.mli
+%%GALAX%%/lib/caml-devel/typing.cmi
+%%GALAX%%/lib/caml-devel/tpath.cmi
+%%GALAX%%/lib/caml-devel/commontype.cmi
+%%GALAX%%/lib/caml-devel/cast.cmi
+%%GALAX%%/lib/caml-devel/xaeenv.mli
+%%GALAX%%/lib/caml-devel/optimrules.mli
+%%GALAX%%/lib/caml-devel/optimjudge.mli
+%%GALAX%%/lib/caml-devel/optimgen.mli
+%%GALAX%%/lib/caml-devel/cast.mli
+%%GALAX%%/lib/caml-devel/xaeval.cmi
+%%GALAX%%/lib/caml-devel/xaeenv.cmi
+%%GALAX%%/lib/caml-devel/optimrules.cmi
+%%GALAX%%/lib/caml-devel/optimjudge.cmi
+%%GALAX%%/lib/caml-devel/optimgen.cmi
+%%GALAX%%/lib/caml-devel/xaeval.mli
+%%GALAX%%/lib/caml-devel/toputils.mli
+%%GALAX%%/lib/caml-devel/xmlquery.cmi
+%%GALAX%%/lib/caml-devel/wf-sax.cmi
+%%GALAX%%/lib/caml-devel/validate.cmi
+%%GALAX%%/lib/caml-devel/toputils.cmi
+%%GALAX%%/lib/caml-devel/mapschema.cmi
+%%GALAX%%/lib/caml-devel/glx_wrap.mli
+%%GALAX%%/lib/caml-devel/galapi.mli
+%%GALAX%%/lib/caml-devel/glx_wrap.cmi
+%%GALAX%%/lib/caml-devel/galapi.cmi
+%%GALAX%%/LICENSE
+%%GALAX%%/README
+%%GALAX%%/NEW
+%%GALAX%%/STATUS
+%%GALAX%%/INSTALL
+%%GALAX%%/DEVELOPERS
+%%GALAX%%/Changes
+%%GALAX%%/examples/c-api/Makefile
+%%GALAX%%/examples/c-api/glx_main.c
+%%GALAX%%/examples/c-api/glx_main_cpp.C
+%%GALAX%%/examples/c-api/glx_test1.xq
+%%GALAX%%/examples/c-api/glx_test2.xq
+%%GALAX%%/examples/ml-api/Makefile
+%%GALAX%%/examples/ml-api/README
+%%GALAX%%/examples/ml-api/ml-example.ml
+%%GALAX%%/examples/ml-api/xml-example.xml
+%%GALAX%%/examples/ml-api/xq-example1.xq
+%%GALAX%%/examples/ml-api/xq-example2.xq
+@dirrm %%GALAX%%/bin
+@dirrm %%GALAX%%/lib/caml
+@dirrm %%GALAX%%/lib/c
+@dirrm %%GALAX%%/lib/caml-devel
+@dirrm %%GALAX%%/lib
+@dirrm %%GALAX%%/examples/c-api
+@dirrm %%GALAX%%/examples/ml-api
+@dirrm %%GALAX%%/examples
+@dirrm %%GALAX%%