# 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: # # usr/ports/lang/mlton # usr/ports/lang/mlton/Makefile # usr/ports/lang/mlton/distinfo # usr/ports/lang/mlton/pkg-comment # usr/ports/lang/mlton/pkg-descr # usr/ports/lang/mlton/pkg-plist # echo c - usr/ports/lang/mlton mkdir -p usr/ports/lang/mlton > /dev/null 2>&1 echo x - usr/ports/lang/mlton/Makefile sed 's/^X//' >usr/ports/lang/mlton/Makefile << 'END-of-usr/ports/lang/mlton/Makefile' X# New ports collection makefile for: mlton X# Date created: 1 Oct 2002 X# Whom: Stephen Weeks X# X# $FreeBSD$ X# X XPORTNAME= mlton XPORTVERSION= 20021019 XCATEGORIES= lang XMASTER_SITES= $(MASTER_SITE_SOURCEFORGE) XEXTRACT_SUFX= -1.src.tgz X XMAINTAINER= MLton@mlton.org X X# MLton build depends on itself. There is no easy way to avoid this. So, in X# order to build MLton, you must have installed a binary MLton package (an X# earlier version should work), which you can get from www.mlton.org. XBUILD_DEPENDS= \ X latex:$(PORTSDIR)/print/teTeX: \ X latex2html:$(PORTSDIR)/textproc/latex2html: \ X mlton:$(PORTSDIR)/lang/mlton: XLIB_DEPENDS= \ X gmp.5:$(PORTSDIR)/math/libgmp4 X XMAN1= mlton.1 \ X mlprof.1 X XMASTER_SITE_SUBDIR = $(PORTNAME) X XMANCOMPRESSED= no X XALL_TARGET= bootstrap XUSE_GMAKE= yes XMAKE_ARGS= DESTDIR='' PREFIX=$(PREFIX) X XPORTDIR= usr/ports/lang/mlton X X.PHONY: build-package Xbuild-package: X $(MAKE) makesum build X portlint . X $(MAKE) deinstall X $(MAKE) install X $(MAKE) package X $(MAKE) deinstall X pkg_add $(PACKAGES)/All/$(DISTNAME).tgz X $(MAKE) deinstall X $(MAKE) reinstall X $(MAKE) package X tar -cpf - Makefile distinfo pkg-comment pkg-descr pkg-plist | \ X ( $(MKDIR) $(PORTDIR) && cd $(PORTDIR) && tar -xpf - ) X shar `find $(PORTDIR)` >/tmp/mlton-$(PORTVERSION)-portdir.shar X X.PHONY: pkg-plist Xpkg-plist: X cd $(WRKSRC) && $(GMAKE) install X cd $(WRKSRC)/install/usr && \ X find -d * \! -type d | $(GREP) -v man/man | \ X sort >$(.CURDIR)/pkg-plist X cd $(WRKSRC)/install/usr && \ X find -d * -type d | $(GREP) mlton | $(SED) -e 's/^/@dirrm /' \ X >>$(.CURDIR)/pkg-plist X X.PHONY: post-build Xpost-build: X $(MAKE) pkg-plist X X.include END-of-usr/ports/lang/mlton/Makefile echo x - usr/ports/lang/mlton/distinfo sed 's/^X//' >usr/ports/lang/mlton/distinfo << 'END-of-usr/ports/lang/mlton/distinfo' XMD5 (mlton-20021019-1.src.tgz) = c09a01e03320f384cb5f4b17a381a8aa END-of-usr/ports/lang/mlton/distinfo echo x - usr/ports/lang/mlton/pkg-comment sed 's/^X//' >usr/ports/lang/mlton/pkg-comment << 'END-of-usr/ports/lang/mlton/pkg-comment' XAn optimizing Standard ML compiler END-of-usr/ports/lang/mlton/pkg-comment echo x - usr/ports/lang/mlton/pkg-descr sed 's/^X//' >usr/ports/lang/mlton/pkg-descr << 'END-of-usr/ports/lang/mlton/pkg-descr' XThis is a port of MLton, the whole-program optimizing Standard ML Compiler. XMLton runs on x86 machines with Linux, FreeBSD, or Cygwin/Windows. MLton Xgenerates excellent code, has a fast C FFI, profiling, and many useful Xlibraries, including an interface to the GNU multiprecision library. For more Xinformation, go to the MLton home page. X XWWW: http://www.mlton.org/ X XStephen Weeks END-of-usr/ports/lang/mlton/pkg-descr echo x - usr/ports/lang/mlton/pkg-plist sed 's/^X//' >usr/ports/lang/mlton/pkg-plist << 'END-of-usr/ports/lang/mlton/pkg-plist' Xbin/mllex Xbin/mlprof Xbin/mlton Xbin/mlyacc Xlib/mlton/hostmap Xlib/mlton/mlton-compile Xlib/mlton/self/constants Xlib/mlton/self/include/IntInf.h Xlib/mlton/self/include/basis-constants.h Xlib/mlton/self/include/ccodegen.h Xlib/mlton/self/include/gc.h Xlib/mlton/self/include/libmlton.h Xlib/mlton/self/include/mlton-basis.h Xlib/mlton/self/include/mlton-posix.h Xlib/mlton/self/include/mlton.h Xlib/mlton/self/include/my-lib.h Xlib/mlton/self/include/posix-constants.h Xlib/mlton/self/include/x86codegen.h Xlib/mlton/self/libmlton-gdb.a Xlib/mlton/self/libmlton.a Xlib/mlton/world.mlton Xshare/doc/mlton/README Xshare/doc/mlton/changelog Xshare/doc/mlton/cmcat.sml Xshare/doc/mlton/examples/Makefile Xshare/doc/mlton/examples/callcc.sml Xshare/doc/mlton/examples/command-line.sml Xshare/doc/mlton/examples/ffi/Makefile Xshare/doc/mlton/examples/ffi/ffi.c Xshare/doc/mlton/examples/ffi/ffi.h Xshare/doc/mlton/examples/ffi/main.sml Xshare/doc/mlton/examples/hello-world.sml Xshare/doc/mlton/examples/profiling/Makefile Xshare/doc/mlton/examples/profiling/profiling.sml Xshare/doc/mlton/examples/profiling/profiling2.sml Xshare/doc/mlton/examples/same-fringe.sml Xshare/doc/mlton/examples/save-world/Makefile Xshare/doc/mlton/examples/save-world/save-world.sml Xshare/doc/mlton/examples/signals.sml Xshare/doc/mlton/examples/size.sml Xshare/doc/mlton/examples/taut.sml Xshare/doc/mlton/examples/thread-switch.sml Xshare/doc/mlton/examples/thread1.sml Xshare/doc/mlton/examples/thread2.sml Xshare/doc/mlton/examples/timeout.sml Xshare/doc/mlton/license/MLKit-LICENSE Xshare/doc/mlton/license/MLton-LICENSE Xshare/doc/mlton/license/NJ-LICENSE Xshare/doc/mlton/license/README Xshare/doc/mlton/user-guide.ps.gz Xshare/doc/mlton/user-guide/About_this_document.html Xshare/doc/mlton/user-guide/Basis_library.html Xshare/doc/mlton/user-guide/Bibliography.html Xshare/doc/mlton/user-guide/Bugs.html Xshare/doc/mlton/user-guide/CM.html Xshare/doc/mlton/user-guide/Comparison_with_CM.html Xshare/doc/mlton/user-guide/Compile_time_options.html Xshare/doc/mlton/user-guide/Compiling_MLton.html Xshare/doc/mlton/user-guide/Compiling_with_MLton.html Xshare/doc/mlton/user-guide/Compiling_with_SML_NJ.html Xshare/doc/mlton/user-guide/Contents.html Xshare/doc/mlton/user-guide/Creating_colored_control_fl.html Xshare/doc/mlton/user-guide/Credits.html Xshare/doc/mlton/user-guide/Cross_compiling_application.html Xshare/doc/mlton/user-guide/Deviations_SML_NJ_from.html Xshare/doc/mlton/user-guide/Drawbacks_MLton.html Xshare/doc/mlton/user-guide/Example.html Xshare/doc/mlton/user-guide/Features_MLton.html Xshare/doc/mlton/user-guide/Foreign_function_interface.html Xshare/doc/mlton/user-guide/Getting_started.html Xshare/doc/mlton/user-guide/Hello_World.html Xshare/doc/mlton/user-guide/How_profiling_works.html Xshare/doc/mlton/user-guide/Installation.html Xshare/doc/mlton/user-guide/MLTON_IO.html Xshare/doc/mlton/user-guide/MLton.html Xshare/doc/mlton/user-guide/MLton_Array.html Xshare/doc/mlton/user-guide/MLton_BinIO.html Xshare/doc/mlton/user-guide/MLton_Cont.html Xshare/doc/mlton/user-guide/MLton_Exn.html Xshare/doc/mlton/user-guide/MLton_GC.html Xshare/doc/mlton/user-guide/MLton_IntInf.html Xshare/doc/mlton/user-guide/MLton_Itimer.html Xshare/doc/mlton/user-guide/MLton_ProcEnv.html Xshare/doc/mlton/user-guide/MLton_Process.html Xshare/doc/mlton/user-guide/MLton_Profile.html Xshare/doc/mlton/user-guide/MLton_Random.html Xshare/doc/mlton/user-guide/MLton_Rlimit.html Xshare/doc/mlton/user-guide/MLton_Rusage.html Xshare/doc/mlton/user-guide/MLton_Signal.html Xshare/doc/mlton/user-guide/MLton_Socket.html Xshare/doc/mlton/user-guide/MLton_Syslog.html Xshare/doc/mlton/user-guide/MLton_TextIO.html Xshare/doc/mlton/user-guide/MLton_Thread.html Xshare/doc/mlton/user-guide/MLton_Vector.html Xshare/doc/mlton/user-guide/MLton_Word_MLton_Word8.html Xshare/doc/mlton/user-guide/MLton_World.html Xshare/doc/mlton/user-guide/MLton_extensions.html Xshare/doc/mlton/user-guide/MLton_structure.html Xshare/doc/mlton/user-guide/Manual_page.html Xshare/doc/mlton/user-guide/Modules.html Xshare/doc/mlton/user-guide/Porting_SML_NJ_CM.html Xshare/doc/mlton/user-guide/Profiling.html Xshare/doc/mlton/user-guide/Reporting_bug.html Xshare/doc/mlton/user-guide/Running_on_Cygwin_Windows.html Xshare/doc/mlton/user-guide/Running_on_FreeBSD.html Xshare/doc/mlton/user-guide/Runtime_system_options.html Xshare/doc/mlton/user-guide/SMLofNJ_SML_OF_NJ.html Xshare/doc/mlton/user-guide/Top_level_values.html Xshare/doc/mlton/user-guide/Type_checking_programs.html Xshare/doc/mlton/user-guide/Unresolved_bugs.html Xshare/doc/mlton/user-guide/Unsafe_UNSAFE.html Xshare/doc/mlton/user-guide/Using_mlprof_MLton_Profile.html Xshare/doc/mlton/user-guide/_line_directives.html Xshare/doc/mlton/user-guide/contents.png Xshare/doc/mlton/user-guide/img1.png Xshare/doc/mlton/user-guide/img10.png Xshare/doc/mlton/user-guide/img2.png Xshare/doc/mlton/user-guide/img3.png Xshare/doc/mlton/user-guide/img4.png Xshare/doc/mlton/user-guide/img5.png Xshare/doc/mlton/user-guide/img6.png Xshare/doc/mlton/user-guide/img7.png Xshare/doc/mlton/user-guide/img8.png Xshare/doc/mlton/user-guide/img9.png Xshare/doc/mlton/user-guide/index.html Xshare/doc/mlton/user-guide/main.css Xshare/doc/mlton/user-guide/main.html Xshare/doc/mlton/user-guide/next.png Xshare/doc/mlton/user-guide/next_g.png Xshare/doc/mlton/user-guide/prev.png Xshare/doc/mlton/user-guide/prev_g.png Xshare/doc/mlton/user-guide/up.png Xshare/doc/mlton/user-guide/up_g.png X@dirrm lib/mlton/self/include X@dirrm lib/mlton/self X@dirrm lib/mlton X@dirrm share/doc/mlton/license X@dirrm share/doc/mlton/examples/ffi X@dirrm share/doc/mlton/examples/profiling X@dirrm share/doc/mlton/examples/save-world X@dirrm share/doc/mlton/examples X@dirrm share/doc/mlton/user-guide X@dirrm share/doc/mlton END-of-usr/ports/lang/mlton/pkg-plist exit