Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2002 12:40:28 +0100 (CET)
From:      Volker Stolz <vs@foldr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        obraun@FreeBSD.org
Subject:   ports/45370: New port: textproc/galax
Message-ID:  <200211171140.gAHBeS0W078850@monster.theater.foldr.org>

next in thread | raw e-mail | index | archive | help

>Number:         45370
>Category:       ports
>Synopsis:       New port: textproc/galax
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 17 03:50:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Lehrstuhl fuer Informatik II
>Environment:
System: FreeBSD monster.theater.foldr.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Wed Nov 13 19:42:10 CET 2002 root@monster.ikea.net:/usr/src/sys/i386/compile/MONSTER i386


	
>Description:
Galax is a full-featured, fully compliant implementation of XQuery
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	galax
#	galax/Makefile
#	galax/distinfo
#	galax/files
#	galax/files/Makefile
#	galax/pkg-plist
#	galax/pkg-comment
#	galax/pkg-descr
#	galax/pkg-message
#
echo c - galax
mkdir -p galax > /dev/null 2>&1
echo x - galax/Makefile
sed 's/^X//' >galax/Makefile << 'END-of-galax/Makefile'
X# New ports collection makefile for:	galax
X# Date created:				17 November 2002
X# Whom:					Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	galax
XPORTVERSION=	0.2.0
XCATEGORIES=	textproc
XMASTER_SITES=	http://db.bell-labs.com/galax/Downloads/
X
XMAINTAINER=	stolz@i2.informatik.rwth-aachen.de
X
XBUILD_DEPENDS=	ocaml:${PORTSDIR}/lang/ocaml
X
XWRKSRC=		${WRKDIR}/galax
X
XUSE_GMAKE=	yes
XALL_TARGET=	world
XMAKE_ENV=	PREFIX=${PREFIX} JAVA_HOME=${JAVE_HOME)
X
XPLIST_SUB=	GALAX=Galax-${PORTVERSION}
X
Xpre-patch:
X	${CP} ${FILESDIR}/Makefile ${WRKSRC}/config
X
Xpost-install:
X	@${SED} 's,PREFIX,${PREFIX},; s,GALAX,Galax-${PORTVERSION},' ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-galax/Makefile
echo x - galax/distinfo
sed 's/^X//' >galax/distinfo << 'END-of-galax/distinfo'
XMD5 (galax-0.2.0.tar.gz) = 49af659233f90ab7c22a4b330ac21673
END-of-galax/distinfo
echo c - galax/files
mkdir -p galax/files > /dev/null 2>&1
echo x - galax/files/Makefile
sed 's/^X//' >galax/files/Makefile << 'END-of-galax/files/Makefile'
X#########################################################################
X#                                                                       #
X#                                  GALAX                                #
X#                             XML Query Engine                          #
X#                                                                       #
X#   Copyright 2000, Lucent Technologies.                                #
X#   Distributed only by permission.                                     #
X#                                                                       #
X#########################################################################
X
X# $Id: Makefile.unix,v 1.8 2002/10/12 00:33:30 simeon Exp $ #
X
X# This config should work under Unix
X
X########################################################################
X# Location of O'Caml compilers and libraries
X
XOCAMLHOME=$(PREFIX)/lib/ocaml
XOCAMLBIN=$(PREFIX)/bin
X
X########################################################################
X# Where do you want to install Galax after it has been compiled?
X
XGALAXHOME=$(PREFIX)/Galax-0.2.0
X
XBINDIR=$(GALAXHOME)/bin
XLIBDIR=$(GALAXHOME)/lib
XMANDIR=$(GALAXHOME)
X
X###########################################################################
X# Character encoding configuration
X
XENCODINGS=utf8 #iso88591 utf8
X# The list of currently available encodings is: iso88591 and utf8
X
X# Note that support for each encoding does add to the size of the
X# resulting Galax executables.
X
X###########################################################################
X# APIs configuration
X
X#
X# Notes:
X#	- the Java API is not available in native mode
X#	- the Java API requires the C API
X#
X
XAPIS=c #java
XOPTAPIS=c
X
X# C & C++ compilers (only required if you want to use the C and C++ APIs)
X
XCC?=gcc
XCPP?=g++
XLD=ld
X
X# Compiling the C & C++ APIs often requires additional libaries,
X# depending on your compiler.
X#
X# A good hint is to look for the BYTECCLIBS variable inside
X# ./config/Makefile in the Objective Caml source after it has been
X# configured.
X
X# Works with Linux i386 + gcc
XWITH_CLIBS=-lm -lcurses
X
X# Works with Solaris 2.6 + cc
X#WITH_CLIBS=-lcurses -lnsl -lsocket -lm -ldl -lunix -lstr
X
X# Which parameters to ld to create a shared library?
X
XSHARED=-shared --whole-archive
X#SHARED=-G -z allextract
X
X# Java compilers (only required if you want to use the Java API)
X
XJAVAC=javac
X#JAVAH=javah
X
X# For the Java library, the Java home directory and include directory
X# where jni.h is located
X
XJAVAHOME=$(JAVA_HOME)
X
X# Works for IBM jdk
XJAVAINCLUDE=$(JAVAHOME)/include
X
X# Reported to work for SUN jdk
X#JAVAINCLUDE=$(JAVAHOME)/include/linux
X
X
X##########################################################################
X# The following is only needed if you are running the regression tests
X#
X# Location of Perl
X
XPERL=perl
X
X###########################################################################
X# YOU SHOULD NOT NEED TO MODIFY BELOW THIS LINE
X
X###########################################################################
X# Architecture
X
XARCH=FreeBSD
X
X###########################################################################
X# Executable extension's configuration
X
XEXE=             # Extension for executables
XOPT=.opt         # Extension for native code executables
XBYTE=.byte       # Extension for bytecode code executables
XCGI=.cgi         # Extension for byte code CGI scripts
XOPTCGI=opt.cgi   # Extension for native code CGI scripts
XZIPEXT=.tar.gz   # Extension for packages
X
X###########################################################################
X# Command-line tools
X
XCP=cp
XMKDIR=mkdir -p
XRANLIB=ranlib
XAR=ar
XLN=ln -s -f
XRM=rm -f
XTOUCH=touch
XZIP=tar cvf
XZIPOPT=--gzip
END-of-galax/files/Makefile
echo x - galax/pkg-plist
sed 's/^X//' >galax/pkg-plist << 'END-of-galax/pkg-plist'
X%%GALAX%%/bin/galax.byte
X%%GALAX%%/bin/mapschema.byte
X%%GALAX%%/bin/validate.byte
X%%GALAX%%/bin/wf-sax.byte
X%%GALAX%%/bin/galax
X%%GALAX%%/bin/mapschema
X%%GALAX%%/bin/validate
X%%GALAX%%/bin/wf-sax
X%%GALAX%%/bin/galaxtop
X%%GALAX%%/bin/galax.opt
X%%GALAX%%/bin/mapschema.opt
X%%GALAX%%/bin/validate.opt
X%%GALAX%%/bin/wf-sax.opt
X%%GALAX%%/lib/pervasive.xq
X%%GALAX%%/lib/caml/glx.cma
X%%GALAX%%/lib/caml/conf.mli
X%%GALAX%%/lib/caml/conf.cmi
X%%GALAX%%/lib/caml/error.mli
X%%GALAX%%/lib/caml/error.cmi
X%%GALAX%%/lib/caml/datamodel.mli
X%%GALAX%%/lib/caml/datamodel.cmi
X%%GALAX%%/lib/caml/galapi.mli
X%%GALAX%%/lib/caml/galapi.cmi
X%%GALAX%%/lib/caml/glx.a
X%%GALAX%%/lib/caml/glx.cmxa
X%%GALAX%%/lib/c/libglx.a
X%%GALAX%%/lib/c/glx_CPP.h
X%%GALAX%%/lib/c/glx.h
X%%GALAX%%/lib/c/libglxopt.a
X%%GALAX%%/lib/caml-devel/glx.cma
X%%GALAX%%/lib/caml-devel/glx.a
X%%GALAX%%/lib/caml-devel/glx.cmxa
X%%GALAX%%/lib/caml-devel/base64.cmi
X%%GALAX%%/lib/caml-devel/netstring_top.mli
X%%GALAX%%/lib/caml-devel/netstring_str.mli
X%%GALAX%%/lib/caml-devel/netstring_mt.mli
X%%GALAX%%/lib/caml-devel/netstream.mli
X%%GALAX%%/lib/caml-devel/netmappings.mli
X%%GALAX%%/lib/caml-devel/nethtml.mli
X%%GALAX%%/lib/caml-devel/netencoding.mli
X%%GALAX%%/lib/caml-devel/netdate.mli
X%%GALAX%%/lib/caml-devel/netconversion.mli
X%%GALAX%%/lib/caml-devel/netbuffer.mli
X%%GALAX%%/lib/caml-devel/mimestring.mli
X%%GALAX%%/lib/caml-devel/cgi.mli
X%%GALAX%%/lib/caml-devel/base64.mli
X%%GALAX%%/lib/caml-devel/neturl.cmi
X%%GALAX%%/lib/caml-devel/netstring_str.cmi
X%%GALAX%%/lib/caml-devel/netstream.cmi
X%%GALAX%%/lib/caml-devel/netmappings.cmi
X%%GALAX%%/lib/caml-devel/nethtml_scanner.cmi
X%%GALAX%%/lib/caml-devel/nethtml.cmi
X%%GALAX%%/lib/caml-devel/netencoding.cmi
X%%GALAX%%/lib/caml-devel/netdate.cmi
X%%GALAX%%/lib/caml-devel/netconversion.cmi
X%%GALAX%%/lib/caml-devel/netbuffer.cmi
X%%GALAX%%/lib/caml-devel/mimestring.cmi
X%%GALAX%%/lib/caml-devel/cgi.cmi
X%%GALAX%%/lib/caml-devel/neturl.mli
X%%GALAX%%/lib/caml-devel/args.cmi
X%%GALAX%%/lib/caml-devel/uri.mli
X%%GALAX%%/lib/caml-devel/sym.mli
X%%GALAX%%/lib/caml-devel/simple_lexer.mli
X%%GALAX%%/lib/caml-devel/simple.mli
X%%GALAX%%/lib/caml-devel/resolve.mli
X%%GALAX%%/lib/caml-devel/pool.mli
X%%GALAX%%/lib/caml-devel/pervasive.mli
X%%GALAX%%/lib/caml-devel/namespace.mli
X%%GALAX%%/lib/caml-devel/monitor.mli
X%%GALAX%%/lib/caml-devel/id.mli
X%%GALAX%%/lib/caml-devel/gmisc.mli
X%%GALAX%%/lib/caml-devel/finfo.mli
X%%GALAX%%/lib/caml-devel/error.mli
X%%GALAX%%/lib/caml-devel/decimal.mli
X%%GALAX%%/lib/caml-devel/datetime.mli
X%%GALAX%%/lib/caml-devel/conf.mli
X%%GALAX%%/lib/caml-devel/bound.mli
X%%GALAX%%/lib/caml-devel/args.mli
X%%GALAX%%/lib/caml-devel/whitespace.cmi
X%%GALAX%%/lib/caml-devel/uri.cmi
X%%GALAX%%/lib/caml-devel/sym.cmi
X%%GALAX%%/lib/caml-devel/simple_lexer_utf8.cmi
X%%GALAX%%/lib/caml-devel/simple_lexer.cmi
X%%GALAX%%/lib/caml-devel/simple.cmi
X%%GALAX%%/lib/caml-devel/resolve.cmi
X%%GALAX%%/lib/caml-devel/pool.cmi
X%%GALAX%%/lib/caml-devel/pervasive.cmi
X%%GALAX%%/lib/caml-devel/namespace.cmi
X%%GALAX%%/lib/caml-devel/id.cmi
X%%GALAX%%/lib/caml-devel/gmisc.cmi
X%%GALAX%%/lib/caml-devel/finfo.cmi
X%%GALAX%%/lib/caml-devel/error.cmi
X%%GALAX%%/lib/caml-devel/decimal.cmi
X%%GALAX%%/lib/caml-devel/datetime.cmi
X%%GALAX%%/lib/caml-devel/conf.cmi
X%%GALAX%%/lib/caml-devel/bound.cmi
X%%GALAX%%/lib/caml-devel/whitespace.mli
X%%GALAX%%/lib/caml-devel/xml_ast.mli
X%%GALAX%%/lib/caml-devel/closing_tag_lexer_utf8.cmi
X%%GALAX%%/lib/caml-devel/xquery_astutil.mli
X%%GALAX%%/lib/caml-devel/xquery_ast.mli
X%%GALAX%%/lib/caml-devel/xml_astutil.mli
X%%GALAX%%/lib/caml-devel/tokens.mli
X%%GALAX%%/lib/caml-devel/sax.mli
X%%GALAX%%/lib/caml-devel/print.mli
X%%GALAX%%/lib/caml-devel/parseutil.mli
X%%GALAX%%/lib/caml-devel/lexutil.mli
X%%GALAX%%/lib/caml-devel/lexers_utf8.mli
X%%GALAX%%/lib/caml-devel/lexers_iso88591.mli
X%%GALAX%%/lib/caml-devel/xquery_parser.cmi
X%%GALAX%%/lib/caml-devel/xquery_lexer.cmi
X%%GALAX%%/lib/caml-devel/xquery_astutil.cmi
X%%GALAX%%/lib/caml-devel/xquery_ast.cmi
X%%GALAX%%/lib/caml-devel/xmldecl_lexer.cmi
X%%GALAX%%/lib/caml-devel/xml_astutil.cmi
X%%GALAX%%/lib/caml-devel/xml_ast.cmi
X%%GALAX%%/lib/caml-devel/type_lexer.cmi
X%%GALAX%%/lib/caml-devel/tokens.cmi
X%%GALAX%%/lib/caml-devel/sax.cmi
X%%GALAX%%/lib/caml-devel/text_lexer_utf8.cmi
X%%GALAX%%/lib/caml-devel/print.cmi
X%%GALAX%%/lib/caml-devel/parseutil.cmi
X%%GALAX%%/lib/caml-devel/opening_tag_lexer_utf8.cmi
X%%GALAX%%/lib/caml-devel/lexutil.cmi
X%%GALAX%%/lib/caml-devel/lexers_utf8.cmi
X%%GALAX%%/lib/caml-devel/document_lexer_utf8.cmi
X%%GALAX%%/lib/caml-devel/xquery_parser.mli
X%%GALAX%%/lib/caml-devel/dfa.cmi
X%%GALAX%%/lib/caml-devel/intersectfsa.mli
X%%GALAX%%/lib/caml-devel/glushkov.mli
X%%GALAX%%/lib/caml-devel/fsa.mli
X%%GALAX%%/lib/caml-devel/dfa.mli
X%%GALAX%%/lib/caml-devel/reachability.cmi
X%%GALAX%%/lib/caml-devel/intersectfsa.cmi
X%%GALAX%%/lib/caml-devel/glushkov.cmi
X%%GALAX%%/lib/caml-devel/fsa.cmi
X%%GALAX%%/lib/caml-devel/reachability.mli
X%%GALAX%%/lib/caml-devel/schema.cmi
X%%GALAX%%/lib/caml-devel/theta.mli
X%%GALAX%%/lib/caml-devel/subsumption.mli
X%%GALAX%%/lib/caml-devel/simplification.mli
X%%GALAX%%/lib/caml-devel/schemautil.mli
X%%GALAX%%/lib/caml-devel/schemamapping.mli
X%%GALAX%%/lib/caml-devel/schema.mli
X%%GALAX%%/lib/caml-devel/intersection.mli
X%%GALAX%%/lib/caml-devel/typeutil.cmi
X%%GALAX%%/lib/caml-devel/theta.cmi
X%%GALAX%%/lib/caml-devel/subsumption.cmi
X%%GALAX%%/lib/caml-devel/simplification.cmi
X%%GALAX%%/lib/caml-devel/schemautil.cmi
X%%GALAX%%/lib/caml-devel/schemamapping.cmi
X%%GALAX%%/lib/caml-devel/typeutil.mli
X%%GALAX%%/lib/caml-devel/mapping.mli
X%%GALAX%%/lib/caml-devel/xadepend.mli
X%%GALAX%%/lib/caml-devel/maputil.mli
X%%GALAX%%/lib/caml-devel/xatenv.mli
X%%GALAX%%/lib/caml-devel/xatenv.cmi
X%%GALAX%%/lib/caml-devel/maputil.cmi
X%%GALAX%%/lib/caml-devel/mapping.cmi
X%%GALAX%%/lib/caml-devel/path_analysis.cmi
X%%GALAX%%/lib/caml-devel/path_struct.mli
X%%GALAX%%/lib/caml-devel/path_env.mli
X%%GALAX%%/lib/caml-devel/path_analysis.mli
X%%GALAX%%/lib/caml-devel/path_varlists.cmi
X%%GALAX%%/lib/caml-devel/path_struct.cmi
X%%GALAX%%/lib/caml-devel/path_env.cmi
X%%GALAX%%/lib/caml-devel/path_varlists.mli
X%%GALAX%%/lib/caml-devel/datamodel.cmi
X%%GALAX%%/lib/caml-devel/validation-sax.mli
X%%GALAX%%/lib/caml-devel/nodeid.mli
X%%GALAX%%/lib/caml-devel/load.mli
X%%GALAX%%/lib/caml-devel/datamodel.mli
X%%GALAX%%/lib/caml-devel/validation.cmi
X%%GALAX%%/lib/caml-devel/nodeid.cmi
X%%GALAX%%/lib/caml-devel/load.cmi
X%%GALAX%%/lib/caml-devel/validation.mli
X%%GALAX%%/lib/caml-devel/store.mli
X%%GALAX%%/lib/caml-devel/bltin.mli
X%%GALAX%%/lib/caml-devel/store.cmi
X%%GALAX%%/lib/caml-devel/bltin.cmi
X%%GALAX%%/lib/caml-devel/typing.mli
X%%GALAX%%/lib/caml-devel/tpath.mli
X%%GALAX%%/lib/caml-devel/commontype.mli
X%%GALAX%%/lib/caml-devel/typing.cmi
X%%GALAX%%/lib/caml-devel/tpath.cmi
X%%GALAX%%/lib/caml-devel/commontype.cmi
X%%GALAX%%/lib/caml-devel/cast.cmi
X%%GALAX%%/lib/caml-devel/xaeenv.mli
X%%GALAX%%/lib/caml-devel/optimrules.mli
X%%GALAX%%/lib/caml-devel/optimjudge.mli
X%%GALAX%%/lib/caml-devel/optimgen.mli
X%%GALAX%%/lib/caml-devel/cast.mli
X%%GALAX%%/lib/caml-devel/xaeval.cmi
X%%GALAX%%/lib/caml-devel/xaeenv.cmi
X%%GALAX%%/lib/caml-devel/optimrules.cmi
X%%GALAX%%/lib/caml-devel/optimjudge.cmi
X%%GALAX%%/lib/caml-devel/optimgen.cmi
X%%GALAX%%/lib/caml-devel/xaeval.mli
X%%GALAX%%/lib/caml-devel/toputils.mli
X%%GALAX%%/lib/caml-devel/xmlquery.cmi
X%%GALAX%%/lib/caml-devel/wf-sax.cmi
X%%GALAX%%/lib/caml-devel/validate.cmi
X%%GALAX%%/lib/caml-devel/toputils.cmi
X%%GALAX%%/lib/caml-devel/mapschema.cmi
X%%GALAX%%/lib/caml-devel/glx_wrap.mli
X%%GALAX%%/lib/caml-devel/galapi.mli
X%%GALAX%%/lib/caml-devel/glx_wrap.cmi
X%%GALAX%%/lib/caml-devel/galapi.cmi
X%%GALAX%%/LICENSE
X%%GALAX%%/README
X%%GALAX%%/NEW
X%%GALAX%%/STATUS
X%%GALAX%%/INSTALL
X%%GALAX%%/DEVELOPERS
X%%GALAX%%/Changes
X%%GALAX%%/examples/c-api/Makefile
X%%GALAX%%/examples/c-api/glx_main.c
X%%GALAX%%/examples/c-api/glx_main_cpp.C
X%%GALAX%%/examples/c-api/glx_test1.xq
X%%GALAX%%/examples/c-api/glx_test2.xq
X%%GALAX%%/examples/ml-api/Makefile
X%%GALAX%%/examples/ml-api/README
X%%GALAX%%/examples/ml-api/ml-example.ml
X%%GALAX%%/examples/ml-api/xml-example.xml
X%%GALAX%%/examples/ml-api/xq-example1.xq
X%%GALAX%%/examples/ml-api/xq-example2.xq
X@dirrm %%GALAX%%/bin
X@dirrm %%GALAX%%/lib/caml
X@dirrm %%GALAX%%/lib/c
X@dirrm %%GALAX%%/lib/caml-devel
X@dirrm %%GALAX%%/lib
X@dirrm %%GALAX%%/examples/c-api
X@dirrm %%GALAX%%/examples/ml-api
X@dirrm %%GALAX%%/examples
X@dirrm %%GALAX%%
END-of-galax/pkg-plist
echo x - galax/pkg-comment
sed 's/^X//' >galax/pkg-comment << 'END-of-galax/pkg-comment'
XGalax is a full-featured, fully compliant implementation of XQuery
END-of-galax/pkg-comment
echo x - galax/pkg-descr
sed 's/^X//' >galax/pkg-descr << 'END-of-galax/pkg-descr'
XGalax is a full-featured, fully compliant implementation of XQuery,
Xthe W3C XML Query Language. Galax is open source and is being
Xdeveloped at Lucent - Bell Labs and AT&T Labs Research.
X
XWWW: http://db.bell-labs.com/galax/
END-of-galax/pkg-descr
echo x - galax/pkg-message
sed 's/^X//' >galax/pkg-message << 'END-of-galax/pkg-message'
XGalax binaries are in PREFIX/GALAX/bin (you might want
Xto add this directory to your $PATH).
END-of-galax/pkg-message
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211171140.gAHBeS0W078850>