diff -ruNd x11/camltk41/Makefile x11/camltk41/Makefile --- x11/camltk41/Makefile Thu Jan 1 03:00:00 1970 +++ x11/camltk41/Makefile Tue Aug 31 06:50:12 1999 @@ -0,0 +1,44 @@ +# New ports collection makefile for: CamlTk41 + Tcl7.5/Tk4.1 +# Version required: 1.0 +# Date created: 24 Novemver 1996 +# Whom: Kiriyama Kazuhio +# +# $FreeBSD: ports/x11/camltk41/Makefile,v 1.15 1999/08/31 02:50:12 peter Exp $ +# + +DISTNAME= ocamltk41 +PKGNAME?= camltk41-1.0 +CATEGORIES?= x11 tk42 +MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/cristal/Francois.Rouaix/mmm/old/ \ + ftp://ftp.kurims.kyoto-u.ac.jp/pub/lang/mmm/old/ + +MAINTAINER= kiri@kiri.toba-cmt.ac.jp + +LIB_DEPENDS?= tcl76${LIBEXT}.1:${PORTSDIR}/lang/tcl76 \ + tk42${LIBEXT}.1:${PORTSDIR}/x11-toolkits/tk42 +BUILD_DEPENDS= ocaml:${PORTSDIR}/lang/ocaml + +WRKSRC= ${WRKDIR}/camltk41 + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} --tcl-version=7.6${LIBEXT} \ + --tk-version=4.2${LIBEXT} \ + --x-includes=${X11BASE}/include \ + --with-config=site.config +USE_GMAKE= yes + +DOCDIR= ${PREFIX}/share/doc/camltk +LIBEXT?= + +pre-patch: + @${SED} -e "s,%LIBEXT%,${LIBEXT},g" \ + < ${FILESDIR}/patch-site.config.tmpl | ${PATCH} ${PATCH_ARGS} + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCDIR} + @${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCDIR} + @${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} +.endif + +.include diff -ruNd x11/camltk41/README.html x11/camltk41/README.html --- x11/camltk41/README.html Thu Jan 1 03:00:00 1970 +++ x11/camltk41/README.html Fri Sep 17 01:25:52 1999 @@ -0,0 +1,30 @@ + + The FreeBSD Ports Collection (x11/camltk41) +

The FreeBSD Ports Collection ("x11/camltk41")


+ + +

You are now in the directory for the port "x11/camltk41" (package name "camltk41-1.0"). + +

This is the one-line description for this port: + +


+A library for interfacing Objective Caml with Tcl/Tk +


+ +

Please read the file "pkg/DESCR" for a +longer description. + +

Go to the top of the ports tree for +a summary on how to use the ports collection. + +

+This port requires package(s) "XFree86-3.3.5 gmake-3.77 ocaml-2.02 tcl-7.6 tk-4.2" to build. +

+This port requires package(s) "XFree86-3.3.5 tcl-7.6 tk-4.2" to run. + +


+ Go up one level +| + Go to top of ports tree + + diff -ruNd x11/camltk41/files/md5 x11/camltk41/files/md5 --- x11/camltk41/files/md5 Thu Jan 1 03:00:00 1970 +++ x11/camltk41/files/md5 Fri Jan 3 15:12:47 1997 @@ -0,0 +1 @@ +MD5 (ocamltk41.tar.gz) = 7934e03fca551a60138274067a82a995 diff -ruNd x11/camltk41/files/patch-site.config.tmpl x11/camltk41/files/patch-site.config.tmpl --- x11/camltk41/files/patch-site.config.tmpl Thu Jan 1 03:00:00 1970 +++ x11/camltk41/files/patch-site.config.tmpl Tue Jun 10 14:16:37 1997 @@ -0,0 +1,34 @@ +--- site.config Sun Dec 1 20:31:42 1996 ++++ site.config Wed Dec 18 19:00:36 1996 +@@ -1,24 +1,24 @@ + ## Location of Objective Caml Libraries +-OCAMLLIBDIR=/usr/local/lib/objective-caml +-# OCAMLLIBDIR=/usr/local/lib/ocaml ++# OCAMLLIBDIR=/usr/local/lib/objective-caml ++OCAMLLIBDIR=${prefix}/lib/ocaml + + ## Location of Tk sources + # In this directory, there are generic, unix, etc... +-TK_SRC=/usr/local/src/tk41 ++TK_SRC=${prefix}/include/tk${tk_version} + + ## Compilation and link flags for Tcl/Tk applications + ## Preprocessor flags to find tcl.h and tk.h +-#CPPFLAGS=-I/home/cahors/furuse/sun/include ++CPPFLAGS="-I${prefix}/include/tk${tk_version} -I${prefix}/include/tcl${tcl_version} -I${x_includes}" + ## ld flags to add path to libtcl*.* and libtk*.* +-#LDFLAGS=-L/home/cahors/furuse/sun/lib ++LDFLAGS=-L${prefix}/lib + + ## If you're building the japanised version of MMM, you must use the + ## japanised versions of Tcl and Tk. The libraries are usually installed + ## as libtclXXjp.a and libtkXXjp.a. Uncomment the following line if you + ## want "configure" to find the correct libraries +-# LIBEXT=jp ++LIBEXT=%LIBEXT% + + ## Installation directory + ## The default is $(OCAMLLIBDIR)/camltk41 + ## This MUST be an absolute path +-# INSTALLDIR=$HOME/ocamltk41/`arch` ++INSTALLDIR=${prefix}/lib/ocaml/camltk41 diff -ruNd x11/camltk41/patches/patch-aa x11/camltk41/patches/patch-aa --- x11/camltk41/patches/patch-aa Thu Jan 1 03:00:00 1970 +++ x11/camltk41/patches/patch-aa Tue Jun 10 14:16:38 1997 @@ -0,0 +1,36 @@ +--- configure.orig Mon Dec 2 22:14:09 1996 ++++ configure Wed Feb 19 14:44:02 1997 +@@ -22,6 +22,8 @@ + build=NONE + cache_file=./config.cache + exec_prefix=NONE ++tcl_version= ++tk_version= + host=NONE + no_create= + nonopt=NONE +@@ -376,6 +378,24 @@ + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries="$ac_optarg" ;; ++ ++ -tcl-version | --tcl-version | --tcl-versio | --tcl-versi \ ++ | --tcl-vers | --tcl-ver \ ++ | --tcl-ve | --tcl-v) ++ ac_prev=tcl-version ;; ++ -tcl-version=* | --tcl-version=* | --tcl-versio=* | --tcl-versi=* \ ++ | --tcl-vers=* | --tcl-ver=* \ ++ | --tcl-ve=* | --tcl-v=*) ++ tcl_version="$ac_optarg" ;; ++ ++ -tk-version | --tk-version | --tk-versio | --tk-versi \ ++ | --tk-vers | --tk-ver \ ++ | --tk-ve | --tk-v) ++ ac_prev=tk-version ;; ++ -tk-version=* | --tk-version=* | --tk-versio=* | --tk-versi=* \ ++ | --tk-vers=* | --tk-ver=* \ ++ | --tk-ve=* | --tk-v=*) ++ tk_version="$ac_optarg" ;; + + -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } + ;; diff -ruNd x11/camltk41/patches/patch-ab x11/camltk41/patches/patch-ab --- x11/camltk41/patches/patch-ab Thu Jan 1 03:00:00 1970 +++ x11/camltk41/patches/patch-ab Sun Aug 30 20:03:42 1998 @@ -0,0 +1,12 @@ +--- support/cltkEval.c.orig Fri Aug 28 19:47:50 1998 ++++ support/cltkEval.c Fri Aug 28 19:48:28 1998 +@@ -228,7 +228,9 @@ + }; + + /* Remove argv from the local roots */ ++#if 0 + Pop_roots(); ++#endif + + /* Free the various things we allocated */ + stat_free((char *)argv); diff -ruNd x11/camltk41/patches/patch-ac x11/camltk41/patches/patch-ac --- x11/camltk41/patches/patch-ac Thu Jan 1 03:00:00 1970 +++ x11/camltk41/patches/patch-ac Sun Aug 30 20:03:42 1998 @@ -0,0 +1,11 @@ +--- frx/frx_req.mli.orig Fri Aug 28 19:55:13 1998 ++++ frx/frx_req.mli Fri Aug 28 19:55:41 1998 +@@ -15,7 +15,7 @@ + or false if the user clicks Cancel. + *) + val open_list : +- string -> string list -> (string -> 'a) -> (unit -> 'b) -> unit ++ string -> string list -> (string -> unit) -> (unit -> 'a) -> unit + (* [open_list title elements action cancelled] + A dialog for selecting from a list of elements. [action] is called + on each selected element, or [cancelled] is called if the user clicks diff -ruNd x11/camltk41/pkg/COMMENT x11/camltk41/pkg/COMMENT --- x11/camltk41/pkg/COMMENT Thu Jan 1 03:00:00 1970 +++ x11/camltk41/pkg/COMMENT Tue Jun 10 14:16:39 1997 @@ -0,0 +1 @@ +A library for interfacing Objective Caml with Tcl/Tk diff -ruNd x11/camltk41/pkg/DESCR x11/camltk41/pkg/DESCR --- x11/camltk41/pkg/DESCR Thu Jan 1 03:00:00 1970 +++ x11/camltk41/pkg/DESCR Tue Jun 10 14:16:40 1997 @@ -0,0 +1,13 @@ +CamlTk41 is a library for interfacing Objective Caml with the scripting +language Tcl/Tk. + +In addition to the basic interface with Tcl/Tk, this package contains + * the "frx" library, written by Francois Rouaix; it contains some + facilities for usual idioms + * the "jpf" library, written by Jun P. Furuse; it contains a "file + selector" and "balloon help" support + * the "jtk" library (extensions for Japanese Tcl/Tk) + * the "tkanim" extension to Tk to support animated GIF files. + +- Kiriyama Kazuhiko +kiri@kiri.toba-cmt.ac.jp diff -ruNd x11/camltk41/pkg/PLIST x11/camltk41/pkg/PLIST --- x11/camltk41/pkg/PLIST Thu Jan 1 03:00:00 1970 +++ x11/camltk41/pkg/PLIST Tue Jun 10 14:16:40 1997 @@ -0,0 +1,151 @@ +lib/ocaml/camltk41/Makefile.camltk +lib/ocaml/camltk41/balloon.cmi +lib/ocaml/camltk41/balloon.mli +lib/ocaml/camltk41/bell.cmi +lib/ocaml/camltk41/bell.mli +lib/ocaml/camltk41/button.cmi +lib/ocaml/camltk41/button.mli +lib/ocaml/camltk41/canvas.cmi +lib/ocaml/camltk41/canvas.mli +lib/ocaml/camltk41/checkbutton.cmi +lib/ocaml/camltk41/checkbutton.mli +lib/ocaml/camltk41/clipboard.cmi +lib/ocaml/camltk41/clipboard.mli +lib/ocaml/camltk41/dialog.cmi +lib/ocaml/camltk41/dialog.mli +lib/ocaml/camltk41/entry.cmi +lib/ocaml/camltk41/entry.mli +lib/ocaml/camltk41/fileevent.cmi +lib/ocaml/camltk41/fileevent.mli +lib/ocaml/camltk41/fileselect.cmi +lib/ocaml/camltk41/fileselect.mli +lib/ocaml/camltk41/focus.cmi +lib/ocaml/camltk41/focus.mli +lib/ocaml/camltk41/frame.cmi +lib/ocaml/camltk41/frame.mli +lib/ocaml/camltk41/frx_after.cmi +lib/ocaml/camltk41/frx_after.mli +lib/ocaml/camltk41/frx_color.cmi +lib/ocaml/camltk41/frx_color.mli +lib/ocaml/camltk41/frx_ctext.cmi +lib/ocaml/camltk41/frx_ctext.mli +lib/ocaml/camltk41/frx_dialog.cmi +lib/ocaml/camltk41/frx_dialog.mli +lib/ocaml/camltk41/frx_entry.cmi +lib/ocaml/camltk41/frx_entry.mli +lib/ocaml/camltk41/frx_fillbox.cmi +lib/ocaml/camltk41/frx_fillbox.mli +lib/ocaml/camltk41/frx_fit.cmi +lib/ocaml/camltk41/frx_fit.mli +lib/ocaml/camltk41/frx_focus.cmi +lib/ocaml/camltk41/frx_focus.mli +lib/ocaml/camltk41/frx_font.cmi +lib/ocaml/camltk41/frx_font.mli +lib/ocaml/camltk41/frx_lbutton.mli +lib/ocaml/camltk41/frx_listbox.cmi +lib/ocaml/camltk41/frx_listbox.mli +lib/ocaml/camltk41/frx_mem.cmi +lib/ocaml/camltk41/frx_mem.mli +lib/ocaml/camltk41/frx_misc.cmi +lib/ocaml/camltk41/frx_misc.mli +lib/ocaml/camltk41/frx_req.cmi +lib/ocaml/camltk41/frx_req.mli +lib/ocaml/camltk41/frx_rpc.cmi +lib/ocaml/camltk41/frx_rpc.mli +lib/ocaml/camltk41/frx_selection.cmi +lib/ocaml/camltk41/frx_selection.mli +lib/ocaml/camltk41/frx_synth.cmi +lib/ocaml/camltk41/frx_synth.mli +lib/ocaml/camltk41/frx_text.cmi +lib/ocaml/camltk41/frx_text.mli +lib/ocaml/camltk41/frx_toplevel.mli +lib/ocaml/camltk41/frx_widget.cmi +lib/ocaml/camltk41/frx_widget.mli +lib/ocaml/camltk41/grab.cmi +lib/ocaml/camltk41/grab.mli +lib/ocaml/camltk41/grid.cmi +lib/ocaml/camltk41/grid.mli +lib/ocaml/camltk41/hashtblc.cmi +lib/ocaml/camltk41/hashtblc.mli +lib/ocaml/camltk41/imagebitmap.cmi +lib/ocaml/camltk41/imagebitmap.mli +lib/ocaml/camltk41/imagephoto.cmi +lib/ocaml/camltk41/imagephoto.mli +lib/ocaml/camltk41/jtk.cmi +lib/ocaml/camltk41/jtk.cmo +lib/ocaml/camltk41/label.cmi +lib/ocaml/camltk41/label.mli +lib/ocaml/camltk41/libcamltk41.a +lib/ocaml/camltk41/libfrx.cma +lib/ocaml/camltk41/libjpf.cma +lib/ocaml/camltk41/libtkanim.a +lib/ocaml/camltk41/listbox.cmi +lib/ocaml/camltk41/listbox.mli +lib/ocaml/camltk41/menu.cmi +lib/ocaml/camltk41/menu.mli +lib/ocaml/camltk41/menubutton.cmi +lib/ocaml/camltk41/menubutton.mli +lib/ocaml/camltk41/message.cmi +lib/ocaml/camltk41/message.mli +lib/ocaml/camltk41/ocamltktop +lib/ocaml/camltk41/optionmenu.cmi +lib/ocaml/camltk41/optionmenu.mli +lib/ocaml/camltk41/pack.cmi +lib/ocaml/camltk41/pack.mli +lib/ocaml/camltk41/palette.cmi +lib/ocaml/camltk41/palette.mli +lib/ocaml/camltk41/place.cmi +lib/ocaml/camltk41/place.mli +lib/ocaml/camltk41/protocol.cmi +lib/ocaml/camltk41/protocol.mli +lib/ocaml/camltk41/radiobutton.cmi +lib/ocaml/camltk41/radiobutton.mli +lib/ocaml/camltk41/resource.cmi +lib/ocaml/camltk41/resource.mli +lib/ocaml/camltk41/safefrx.cmi +lib/ocaml/camltk41/safefrx.cmo +lib/ocaml/camltk41/safefrx.mli +lib/ocaml/camltk41/safejtk.cmi +lib/ocaml/camltk41/safejtk.cmo +lib/ocaml/camltk41/safejtk.mli +lib/ocaml/camltk41/safetk.cmi +lib/ocaml/camltk41/safetk.cmo +lib/ocaml/camltk41/safetk.mli +lib/ocaml/camltk41/safetkanim.cmi +lib/ocaml/camltk41/safetkanim.cmo +lib/ocaml/camltk41/safetkanim.mli +lib/ocaml/camltk41/scale.cmi +lib/ocaml/camltk41/scale.mli +lib/ocaml/camltk41/scrollbar.cmi +lib/ocaml/camltk41/scrollbar.mli +lib/ocaml/camltk41/selection.cmi +lib/ocaml/camltk41/selection.mli +lib/ocaml/camltk41/text.cmi +lib/ocaml/camltk41/text.mli +lib/ocaml/camltk41/textvariable.cmi +lib/ocaml/camltk41/textvariable.mli +lib/ocaml/camltk41/timer.cmi +lib/ocaml/camltk41/timer.mli +lib/ocaml/camltk41/tk.cmi +lib/ocaml/camltk41/tk41.cma +lib/ocaml/camltk41/tkanim.cmi +lib/ocaml/camltk41/tkanim.cmo +lib/ocaml/camltk41/tkaniminit.cmi +lib/ocaml/camltk41/tkaniminit.cmo +lib/ocaml/camltk41/tkaniminit.o +lib/ocaml/camltk41/tkcompiler +lib/ocaml/camltk41/tkgen.mli +lib/ocaml/camltk41/tkwait.cmi +lib/ocaml/camltk41/tkwait.mli +lib/ocaml/camltk41/toplevel.cmi +lib/ocaml/camltk41/toplevel.mli +lib/ocaml/camltk41/widget.cmi +lib/ocaml/camltk41/widget.mli +lib/ocaml/camltk41/winfo.cmi +lib/ocaml/camltk41/winfo.mli +lib/ocaml/camltk41/wm.cmi +lib/ocaml/camltk41/wm.mli +share/doc/camltk/INSTALL +share/doc/camltk/README +@dirrm lib/ocaml/camltk41 +@dirrm share/doc/camltk