[40079] trunk/dports/lang/smlnj

toby at macports.org toby at macports.org
Fri Sep 19 19:07:22 PDT 2008


Revision: 40079
          http://trac.macports.org/changeset/40079
Author:   toby at macports.org
Date:     2008-09-19 19:07:21 -0700 (Fri, 19 Sep 2008)
Log Message:
-----------
smlnj 110.68
- remove bogus mirrors (should fix #16544)
- clean up "configure" phase

Modified Paths:
--------------
    trunk/dports/lang/smlnj/Portfile

Added Paths:
-----------
    trunk/dports/lang/smlnj/files/_arch-n-opsys.diff

Removed Paths:
-------------
    trunk/dports/lang/smlnj/files/targets

Modified: trunk/dports/lang/smlnj/Portfile
===================================================================
--- trunk/dports/lang/smlnj/Portfile	2008-09-20 00:29:38 UTC (rev 40078)
+++ trunk/dports/lang/smlnj/Portfile	2008-09-20 02:07:21 UTC (rev 40079)
@@ -1,8 +1,9 @@
 # $Id$
 
 PortSystem 1.0
+
 name             smlnj
-version          110.67
+version          110.68
 categories       lang ml
 maintainers      bfulgham at macports.org
 description      Standard ML of New Jersey
@@ -14,9 +15,7 @@
 homepage         http://www.smlnj.org/
 platforms        darwin
 
-master_sites     http://smlnj.cs.uchicago.edu/dist/working/${version}/ \
-                 http://smlnj.cs.uchicago.edu/dist/working/110.63.2/ \
-                 macports:${version}/
+master_sites     http://smlnj.cs.uchicago.edu/dist/working/${version}/
 dist_subdir      ${name}/${version}
 
 distfiles
@@ -24,25 +23,25 @@
 
 # Files needed for basic distribution.
 set srcs [list \
-	MLRISC.tgz ca7baa838d3de7422f9c6bb71bfeea7494181fba \
-	ckit.tgz e308a9214b2ffec4946bf9851d23b26d5112b8b1 \
-	cm.tgz 10d790d4c9222b5dc846fac44cea87f48154573c \
-	cml.tgz 9e5b765d1604eb4049556e5da87b23341c672401 \
-	compiler.tgz b1d7a3311cd86ba51c00b5c33dfe7b61bff99659 \
-	config.tgz a2264b09c98e9e1075bd57040c9f5fa391d5635c \
-	eXene.tgz eb1f8abae11a4a6e3f5366aee4a1732d92ee70ca \
-	heap2asm.tgz 988b6685f44f0a4d544e204b1fcc47bde470e1fc \
-	ml-burg.tgz 5d784d787fcc0208b9f7c718b2f577566db41b86 \
-	ml-lex.tgz fe7a206844d6c00d7678b3a2fd8ae3d4af63c711 \
-	ml-lpt.tgz 0308bb28bc32eed40db7a047b36037f06953b51a \
-	ml-yacc.tgz f9f3f6fa50dc66f59c2c95eafa0b04f933851438 \
-	nlffi.tgz 3076c8130a88ed2843df8bd354d740441d458563 \
-	pgraph.tgz f2792001aae3e26d492447b5663172f5f828cb46 \
-	runtime.tgz 67308df3f05864d1a71c14b3a3b4f8ea8fca5d2c \
-	smlnj-c.tgz 4d71cf4a308a66c494c12b0b69c83d41a9a0a0af \
-	smlnj-lib.tgz 9a31f20ad7be1a7f8e418e8f0e1db6664b5d38f4 \
-	system.tgz 8cd198a98548ffdc0dc5a0e083d6fd3f819fd9bd \
-	trace-debug-profile.tgz 13bf245c1d848dd38d1ba98251c003c580ec317f \
+	config.tgz 6e371ad266779321c9154ff8baf3103ce8bf5d66 \
+	cm.tgz caa2225d28ba0f01508914278f7e97ecd428d7a2 \
+	compiler.tgz 8fea61d9d51f29e7c9434ce71f7a45b74c6696bc \
+	runtime.tgz 5c7e306a04c3f0113a257a5b55f835fd73847c84 \
+	system.tgz e86c8abb16ceca4b681e2f268a3c5d82b6edc3cd \
+	MLRISC.tgz 0f5822c16e64ba8439b1a196cfcd420e5562b666 \
+	smlnj-lib.tgz 3fc8dbe30853de51420c9786a7dfdba7ef6d1650 \
+	ckit.tgz 8f960c048f972337d262d60d10d1a6ffeb08ce29 \
+	nlffi.tgz 6f7b4cd7b5dae8b0f2dd8f2dc214a1adaadfaa2e \
+	cml.tgz e854c1658e58c551817735ee374fba8956ee81e4 \
+	eXene.tgz b0d9c43cae9ec4c8cdadeaafa460c32387d9c58a \
+	ml-lex.tgz 783449998f4ec5456d48e7a4be4b25b8cefbb7aa \
+	ml-yacc.tgz f3706b4156f5b06ccf02e391f4a997d59e62f439 \
+	ml-burg.tgz af35d920a133485b35ecf3897c3add47e7924590 \
+	ml-lpt.tgz 7868689cc23ea994693c90828502b0f6672f12fa \
+	pgraph.tgz ce8b0f2adc9e6b830f4ea3bfa584f6ffabecdd44 \
+	trace-debug-profile.tgz 4650c1d23ea53af810f3f38f40df75c9cf745523 \
+	heap2asm.tgz 251d42964558d870519a032dae4dd4471bef7744 \
+	smlnj-c.tgz 810824592d9c02a101209dbb25b4c9265d7f2605 \
 ]
 
 foreach {tarball checksum} $srcs {
@@ -54,11 +53,11 @@
 # Platform-specific boot code (omitted: sparc-unix, x86-win32)
 platform powerpc {
 	distfiles-append boot.ppc-unix.tgz
-	checksums-append boot.ppc-unix.tgz sha1 38fc8ef65a6c64650e0c87ff55a6ace3696ad85b
+	checksums-append boot.ppc-unix.tgz sha1 8c4d7b2512f70420617835899f4b8e8e30e6e819
 }
 platform i386 {
 	distfiles-append boot.x86-unix.tgz
-	checksums-append boot.x86-unix.tgz sha1 707dfffd5e6f4b2d2b14f21ecbb693b990da6b25
+	checksums-append boot.x86-unix.tgz sha1 5898ea3c32485c24be433be679d45776e3e98d16
 }
 
 ### extract ###
@@ -66,19 +65,19 @@
 	file mkdir ${worksrcpath}
 }
 extract.dir          ${worksrcpath}
-extract.only         config.tgz runtime.tgz
+extract.only         config.tgz
 
 ### patch ###
-#patchfiles	patch-base_runtime_mach-dep_signal-sysdep.h
+patchfiles           _arch-n-opsys.diff
 
 ### configure ###
 configure {
-	system "mkdir ${worksrcpath}/base && mv ${worksrcpath}/runtime ${worksrcpath}/base"
 	reinplace "s|SRCARCHIVEURL=.*|SRCARCHIVEURL=file://${distpath}|" \
 		${worksrcpath}/config/srcarchiveurl
 
-	file copy -force ${filespath}/targets ${worksrcpath}/config/targets
-	#reinplace "s|#request|request|" ${worksrcpath}/config/targets
+	reinplace "s|#request|request|" ${worksrcpath}/config/targets
+	reinplace "s|request ml-antlr|#request ml-antlr|" ${worksrcpath}/config/targets
+	reinplace "s|request ml-lex-|#request ml-lex-|" ${worksrcpath}/config/targets
 }
 
 ### build ###

Added: trunk/dports/lang/smlnj/files/_arch-n-opsys.diff
===================================================================
--- trunk/dports/lang/smlnj/files/_arch-n-opsys.diff	                        (rev 0)
+++ trunk/dports/lang/smlnj/files/_arch-n-opsys.diff	2008-09-20 02:07:21 UTC (rev 40079)
@@ -0,0 +1,17 @@
+--- config/_arch-n-opsys.orig	2008-09-19 18:43:33.000000000 -0700
++++ config/_arch-n-opsys	2008-09-19 18:43:50.000000000 -0700
+@@ -57,12 +57,14 @@
+ 	  7*) OPSYS=darwin;  HEAP_OPSYS=darwin ;; # MacOS X 10.3
+ 	  8*) OPSYS=darwin;  HEAP_OPSYS=darwin ;; # MacOS X 10.4
+ 	  9*) OPSYS=darwin;  HEAP_OPSYS=darwin ;; # MacOS X 10.5
++	  10*) OPSYS=darwin; HEAP_OPSYS=darwin ;; # MacOS X 10.6
+ 	  *) exit 1;;
+ 	esac;;
+       i386) ARCH=x86;
+ 	case `uname -r` in
+ 	  8*) OPSYS=darwin;  HEAP_OPSYS=darwin ;; # MacOS X 10.4
+ 	  9*) OPSYS=darwin;  HEAP_OPSYS=darwin ;; # MacOS X 10.5
++	  10*) OPSYS=darwin; HEAP_OPSYS=darwin ;; # MacOS X 10.6
+ 	  *) exit 1;;
+ 	esac;;
+     esac

Deleted: trunk/dports/lang/smlnj/files/targets
===================================================================
--- trunk/dports/lang/smlnj/files/targets	2008-09-20 00:29:38 UTC (rev 40078)
+++ trunk/dports/lang/smlnj/files/targets	2008-09-20 02:07:21 UTC (rev 40079)
@@ -1,180 +0,0 @@
-# targets
-#
-# the following is a list of the targets (in addition to sml) that
-# this shell script can install.  Comment out those that you do not
-# want.  Note that cml-lib requires cml.
-
-#
-#  Modified for use in MacPorts
-#
-
-#
-# The install script will move all libraries out of the source tree
-# and into the $LIBDIR directory.  Thus, you can later delete the
-# entire source tree without losing functionality.
-# (Notice that the old "dont_move_libraries" directive broke a while ago
-# and has been removed.)
-#
-
-# (The base system consisting of runtime, compiler, and basic libraries
-# will always be built.)
-
-# unpack the source code for everything (including for the SML/NJ compiler
-# itself); this is not required,  unless you are doing compiler hacking,
-# but it may be interesting to look at.
-#
-request src-smlnj
-
-# build new (Unicode-capable) ML-ULex
-#
-request ml-ulex
-#
-# Arrange for the .lex suffix to be recognized by CM as (new-style)
-# ML-ULex input.
-#   (Notice that you should NOT select this option even if you want to have
-#    ml-ulex process legacy ml-lex input using the --ml-lex-mode option.)
-# Since most existing projects have legacy .lex files, this should be
-# kept off by default.
-# WARNING: This is incompatible with ml-lex-lex-ext!!
-request ml-ulex-lex-ext
-#
-# Register the "mllex" CM tool class in such a way that "legacy" ml-lex
-# input is processed by "ml-ulex --ml-lex-mode".
-#   (If you want the .lex extension to be mapped to the "mllex" class
-#   and have that be processed by ml-ulex, you should request
-#   ml-ulex-mllex-tool and ml-lex-lex-ext, but NOT ml-ulex-lex-ext.)
-# WARNING: This is incompatible with ml-lex-mllex-tool!!
-request ml-ulex-mllex-tool
-
-# build legacy ML-Lex
-#
-request ml-lex
-#
-# Register the "mllex" CM tool class in such a way that "legacy" ml-lex
-# input is processed by the legacy ml-lex program.
-# WARNING: This is incompatible with ml-ulex-mllex-tool!!
-#request ml-lex-mllex-tool
-#
-# Arrange for the .lex suffix to be recognized by CM as legacy ml-lex input.
-# This requires that either ml-lex-mllex-tool or ml-ulex-mllex-tool
-# (but not both at the same time!) is installed.
-# Since most existing projects have legacy .lex files, this should be
-# kept on by default.
-# WARNING: This is incompatible with ml-ulex-lex-ext!!
-#request ml-lex-lex-ext
-
-# build ML-Yacc (must come after ml-lex)
-#
-request ml-yacc
-#
-# Arrange for the .grm suffix to be recognized by CM as ML-Yacc input.
-# Since .grm files in most existing project are ML-Yacc input, this should be
-# kept on by default.
-# WARNING: This is incompatible with ml-antlr-grm-ext!!
-request ml-yacc-grm-ext
-
-# Always: install the pre-compiled ML-Yacc Library; this is necessary
-# to use parsers produced by ML-Yacc, but also to bootstrap the system
-# in the first place.
-
-# build ML-Antlr
-#
-#request ml-antlr
-#
-# Arrange for the .grm suffix to be recognized by CM as ML-Antlr input.
-# Since .grm files in most existing project are ML-Yacc input, this should be
-# kept off by default.
-# WARNING: This is incompatible with ml-yacc-grm-ext!!
-#request ml-antlr-grm-ext
-
-# utility library for ml-antlr and ml-ulex
-#
-request ml-lpt-lib
-
-# Always: install the pre-compiled SML/NJ Library (necessary to bootstrap).
-
-# build ML-Burg
-#
-request ml-burg
-
-# pre-compile and install the remaining components of the SML/NJ library
-# (everything except smlnj-lib.cm, aka Util, itself)
-#
-request smlnj-lib
-
-# pre-compile and install CM "portable graph" utility library
-#
-request pgraph-util
-
-# pre-compile and install "Trace-Debug-Profile" utility library
-# (provides simple back-trace- and coverage facilities)
-#
-request tdp-util
-
-# pre-compile and install Concurrent ML, which is a library for message-passing
-# concurrency.
-#
-request cml
-
-# pre-compile and install the CML Library, which provides some useful CML
-# modules.
-#
-request cml-lib
-
-# pre-compile and install eXene, which is a library for X-Windows programming.
-# EXene requires CML.
-#
-request eXene
-
-# pre-compile (certain) parts of MLRISC that are not already part of the SML/NJ
-# compiler itself
-#
-request mlrisc
-
-# pre-compile and install the C-Kit, which is a library for parsing and
-# type-checking C programs
-#
-request ckit
-
-# pre-compile and install the ML-NLFFI Library, which is the core of
-# a new foreign function interface (where "foreign" functions are
-# "no longer foreign")
-# This library is necessary to compile and/or run programs that use
-# the new FFI.
-# This preview release currently works under X86/Linux, Sparc/Solaris,
-# PPC/MacOSX, and X86/Win32.
-#
-request ml-nlffi-lib
-
-# build ML-NLFFI-Gen, a program generator tool used in conjunction with
-# the new "NLFFI" foreign function interface.  The tool generates ML
-# glue code from C source code.
-# (Requires ckit!)
-# This preview release currently works under X86/Linux, Sparc/Solaris,
-# PPC/MacOSX, and X86/Win32.
-#
-request ml-nlffigen
-
-# pre-compile and install the MLRISC Tools library.
-# This library is for parsing and pretty printing SML code.
-# It's used by various MLRISC code generator generator.
-#
-request mlrisc-tools
-
-# Build and install the 'nowhere' program translator.
-# This tool translates programs with conditional patterns (where clauses) 
-# into legal SML code.  See MLRISC/Tools/Doc/nowhere.tex for its
-# (bad) documentation.
-# (Requires the mlrisc-tools library!)
-#
-request nowhere
-
-# Build and install 'heap2asm' - an experimental component of
-# a new facility for producing true stand-alone executables.
-request heap2asm
-
-# Note: autoloading is always enabled.
-#   In order to customize what is being pre-registered for autoloading
-#   edit file "preloads".  You should make sure that it contains at least
-#   "$smlnj/cm.cm".
-#  Also, it is a good idea to have "$/basis.cm" pre-loaded.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080919/1ae8810a/attachment.html 


More information about the macports-changes mailing list