Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 06:40:26 +0200 (CEST)
From:      Michaël Grünewald <michaelgrunewald@yahoo.fr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42677: port for ocaml-classes, an object interface to standard modules
Message-ID:  <200209120440.g8C4eQfA000395@ketanu.dyndns.org>

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

>Number:         42677
>Category:       ports
>Synopsis:       port for ocaml-classes, an object interface to standard modules
>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:   Wed Sep 11 21:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Michaël Grünewald
>Release:        FreeBSD 4.6.2-RELEASE i386
>Organization:
Fac de sciences de Montpellier (FR)
>Environment:
System: FreeBSD ketanu.dyndns.org 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #1: Mon Sep 9 14:42:44 CEST 2002 root@ketanu.dyndns.org:/usr/obj/usr/src/sys/KETANU i386


>Description:
The ocaml-classes package provide ans object oriented interface for some
standard modules, such as Set, Hashtbl and so. 

WWW: wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/classes/

>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:
#
#	ocaml-classes
#	ocaml-classes/Makefile
#	ocaml-classes/distinfo
#	ocaml-classes/pkg-comment
#	ocaml-classes/pkg-descr
#	ocaml-classes/pkg-plist
#	ocaml-classes/files
#	ocaml-classes/files/patch-src
#
echo c - ocaml-classes
mkdir -p ocaml-classes > /dev/null 2>&1
echo x - ocaml-classes/Makefile
sed 's/^X//' >ocaml-classes/Makefile << 'END-of-ocaml-classes/Makefile'
X# New ports collection makefile for:   pcre-ocaml
X# Date created:		Ven 16 aoû 2002 02:05:08 CEST
X# Whom:               	Michaël Grünewald
X#
X# $FreeBSD: ports/devel/ocaml-classes/Makefile,v 1.1.1.1 2002/08/16 11:58:26 michael Exp $
X
XPORTNAME=		ocaml-classes
XPORTVERSION=		3.05
XCATEGORIES=		devel
XMASTER_SITES=		http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/\
X			ftp://ftp.kurims.kyoto-u.ac.jp/pub/lang/olabl/\
X			ftp://ftp.inria.fr/lang/caml-light/bazar-ocaml/\
X
XMAINTAINER=		michaelgrunewald@yahoo.fr
X
XNO_INSTALL_MANPAGES=	yes
X
X.include <bsd.port.mk>
END-of-ocaml-classes/Makefile
echo x - ocaml-classes/distinfo
sed 's/^X//' >ocaml-classes/distinfo << 'END-of-ocaml-classes/distinfo'
XMD5 (ocaml-classes-3.05.tar.gz) = a250cbbe93d79a35792bfabe74d2cc3d
END-of-ocaml-classes/distinfo
echo x - ocaml-classes/pkg-comment
sed 's/^X//' >ocaml-classes/pkg-comment << 'END-of-ocaml-classes/pkg-comment'
XOcaml Object interface for ocaml's standard library modulesEND-of-ocaml-classes/pkg-comment
echo x - ocaml-classes/pkg-descr
sed 's/^X//' >ocaml-classes/pkg-descr << 'END-of-ocaml-classes/pkg-descr'
XO'Caml is extended with powerful object-oriented features, à la
XSmalltalk. However, there is an important hardle before using them:
Xi.e. there is no support. Object-orientated programming takes its basis
Xon a standardization, starting by a common class library.
X
XWhat is proposed here is by no way a standard, but just an attempt to
Xfill this gap, and to demonstrate the object-oriented capacities of
XO'Caml.
X
XThe library is composed of 9 modules, each containing a single class,
Xand eventually some creation functions. Each of theses classes
Xcorresponds almost exactly to a module in the standard library, and only
Xmakes it object-oriented. Only Ogenlex adds a new feature, indexing on
Xthe input stream.
X
XWWW: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/classes/
X
X- Michael Grunewald
Xmichaelgrunewald@yahoo.frEND-of-ocaml-classes/pkg-descr
echo x - ocaml-classes/pkg-plist
sed 's/^X//' >ocaml-classes/pkg-plist << 'END-of-ocaml-classes/pkg-plist'
Xlib/ocaml/site-lib/classes/obuffer.cmi
Xlib/ocaml/site-lib/classes/obuffer.mli
Xlib/ocaml/site-lib/classes/ogenlex.mli
Xlib/ocaml/site-lib/classes/ohashtbl.cmi
Xlib/ocaml/site-lib/classes/ohashtbl.mli
Xlib/ocaml/site-lib/classes/omap.cmi
Xlib/ocaml/site-lib/classes/omap.mli
Xlib/ocaml/site-lib/classes/omapping.cmi
Xlib/ocaml/site-lib/classes/omapping.mli
Xlib/ocaml/site-lib/classes/oqueue.cmi
Xlib/ocaml/site-lib/classes/oqueue.mli
Xlib/ocaml/site-lib/classes/oset.cmi
Xlib/ocaml/site-lib/classes/oset.mli
Xlib/ocaml/site-lib/classes/ostack.cmi
Xlib/ocaml/site-lib/classes/ostack.mli
Xlib/ocaml/site-lib/classes/ostream.cmi
Xlib/ocaml/site-lib/classes/ostream.mli
Xlib/ocaml/site-lib/classes/stdclass.cma
Xlib/ocaml/site-lib/classes/META
X@dirrm lib/ocaml/site-lib/classes
END-of-ocaml-classes/pkg-plist
echo c - ocaml-classes/files
mkdir -p ocaml-classes/files > /dev/null 2>&1
echo x - ocaml-classes/files/patch-src
sed 's/^X//' >ocaml-classes/files/patch-src << 'END-of-ocaml-classes/files/patch-src'
Xdiff -rcN ../../orig/ocaml-classes-3.05/META ./META
X*** ../../orig/ocaml-classes-3.05/META	Thu Jan  1 01:00:00 1970
X--- ./META	Fri Aug 16 13:25:38 2002
X***************
X*** 0 ****
X--- 1,6 ----
X+ name="classes"
X+ version="3.05"
X+ description="Object interface for standard library modules"
X+ requires=""
X+ archive(byte)="stdclass.cma"
X+ archive(native)="stdclass.cmxa"
Xdiff -rcN ../../orig/ocaml-classes-3.05/Makefile ./Makefile
X*** ../../orig/ocaml-classes-3.05/Makefile	Fri Aug 16 13:05:00 2002
X--- ./Makefile	Fri Aug 16 13:26:19 2002
X***************
X*** 1,10 ****
X  #Adjust this directory for installation
X! LIBDIR=`ocamlc -where`
X  COMPILER=ocamlc -c
X  LIBRARIAN=ocamlc -a
X  OPTCOMP=ocamlopt -c
X  OPTLIB=ocamlopt -a
X! INSTALL=cp
X  
X  OBJECTS=obuffer.cmo	ohashtbl.cmo	oqueue.cmo	ostack.cmo \
X  	omap.cmo	oset.cmo	ostream.cmo	omapping.cmo
X--- 1,11 ----
X  #Adjust this directory for installation
X! LIBDIR=$(PREFIX)/lib/ocaml/site-lib/classes
X  COMPILER=ocamlc -c
X  LIBRARIAN=ocamlc -a
X  OPTCOMP=ocamlopt -c
X  OPTLIB=ocamlopt -a
X! INSTALL=install -o root -g wheel -m 644
X! INSTALLDIR=install -d -o root -g wheel -m 755
X  
X  OBJECTS=obuffer.cmo	ohashtbl.cmo	oqueue.cmo	ostack.cmo \
X  	omap.cmo	oset.cmo	ostream.cmo	omapping.cmo
X***************
X*** 43,54 ****
X  	@$(MAKE) real-install LIBDIR=$(LIBDIR)
X  
X  real-install:
X  	$(INSTALL) stdclass.cma *.cmi *.mli $(LIBDIR)
X  	if test -f stdclass.cmxa; \
X  	then $(INSTALL) stdclass.cmxa stdclass.a *.cmx $(LIBDIR); fi
X  
X  clean:
X! 	rm -f *.cm* *.o *.a *~ #*
X  
X  depend:
X  	ocamldep *.ml *.mli > .depend
X--- 44,58 ----
X  	@$(MAKE) real-install LIBDIR=$(LIBDIR)
X  
X  real-install:
X+ 	$(INSTALLDIR) $(LIBDIR)
X  	$(INSTALL) stdclass.cma *.cmi *.mli $(LIBDIR)
X  	if test -f stdclass.cmxa; \
X  	then $(INSTALL) stdclass.cmxa stdclass.a *.cmx $(LIBDIR); fi
X+ 	if test -f META; \
X+ 	then $(INSTALL) META $(LIBDIR); fi
X  
X  clean:
X! 	rm -f *.cm* *.o *.a *~
X  
X  depend:
X  	ocamldep *.ml *.mli > .depend
END-of-ocaml-classes/files/patch-src
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?200209120440.g8C4eQfA000395>