summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/sml-nj-devel/Makefile55
-rw-r--r--lang/sml-nj-devel/distinfo13
-rw-r--r--lang/sml-nj-devel/pkg-comment1
-rw-r--r--lang/sml-nj-devel/pkg-descr7
-rw-r--r--lang/sml-nj-devel/pkg-plist22
-rw-r--r--lang/sml-nj/Makefile55
-rw-r--r--lang/sml-nj/distinfo13
-rw-r--r--lang/sml-nj/pkg-comment1
-rw-r--r--lang/sml-nj/pkg-descr7
-rw-r--r--lang/sml-nj/pkg-plist22
10 files changed, 196 insertions, 0 deletions
diff --git a/lang/sml-nj-devel/Makefile b/lang/sml-nj-devel/Makefile
new file mode 100644
index 000000000000..e9efba266027
--- /dev/null
+++ b/lang/sml-nj-devel/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: sml/nj
+# Version required: 110
+# Date created: 7 July 1998
+# Whom: jkoshy
+#
+# $Id$
+#
+
+DISTNAME= 110-bin.x86-unix
+PKGNAME= smlnj-110
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.research.bell-labs.com/dist/smlnj/release/110/ \
+ ftp://rodin.stanford.edu/pub/smlnj/release/110/ \
+ ftp://flint.cs.yale.edu/pub/smlnj/release/110/ \
+ ftp://ftp.diku.dk/pub/smlnj/release/110/ \
+ ftp://ftp.cl.cam.ac.uk/MIRRORED/smlnj/release/110/ \
+ ftp://sunsite.doc.ic.ac.uk/computing/programming/languages/ml/smlnj/release/110/ \
+ ftp://ftp.ntua.gr/pub/lang/smlnj/release/110/ \
+ ftp://compiler.kaist.ac.kr/pub/sml/release/110/
+DISTFILES= 110-bin.x86-unix.tar.Z 110-cm.tar.Z 110-cml.tar.Z \
+ 110-config.tar.Z 110-eXene.tar.Z \
+ 110-ml-burg.tar.Z 110-ml-lex.tar.Z 110-ml-yacc.tar.Z \
+ 110-runtime.tar.Z 110-sml-nj.tar.Z 110-smlnj-c.tar.Z \
+ 110-smlnj-lib.tar.Z
+
+MAINTAINER= jkoshy@freebsd.org
+
+DIST_SUBDIR= sml-nj
+NO_WRKSUBDIR= yes
+EXTRACT_ONLY= 110-config.tar.Z
+USE_GMAKE= yes
+
+SML_BASE= ${PREFIX}/lib/sml-nj
+SML_LIBDIR= ${SML_BASE}/lib
+SML_BINDIR= ${SML_BASE}/bin
+SML_SRCDIR= ${SML_BASE}/src
+SML_EXES= ml-burg ml-lex ml-yacc sml sml-cm
+
+# The build target needs to run $WRKDIR/config/install.sh
+do-build:
+ cd ${WRKDIR} && ./config/install.sh
+
+do-install:
+ ${MKDIR} ${SML_BASE}
+ ${MKDIR} ${SML_BINDIR}
+ tar -C ${WRKDIR} -cf - bin | tar -C ${SML_BASE} -xf -
+ ${RM} ${SML_BINDIR}/.run-sml
+ ${SED} -e "s,^BIN_DIR=.*\$$,BIN_DIR=${SML_BINDIR}," \
+ < ${WRKDIR}/bin/.run-sml > ${SML_BINDIR}/.run-sml
+ chmod 755 ${SML_BINDIR}/.run-sml
+.for file in ${SML_EXES}
+ -${LN} -s ${SML_BINDIR}/${file} ${PREFIX}/bin/${file}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/lang/sml-nj-devel/distinfo b/lang/sml-nj-devel/distinfo
new file mode 100644
index 000000000000..abd5b12ccfc4
--- /dev/null
+++ b/lang/sml-nj-devel/distinfo
@@ -0,0 +1,13 @@
+MD5 (sml-nj/110-bin.x86-unix.tar.Z) = edba93d7d94f6019c6dd0b22ee3a3c46
+MD5 (sml-nj/110-cm.tar.Z) = 4e7987ca57ec35ff19d11bb3bec6dd73
+MD5 (sml-nj/110-cml.tar.Z) = bea1f47d442d788924496ae281860e66
+MD5 (sml-nj/110-config.tar.Z) = ade21a6dad2bf8cf06a8544070837fb7
+MD5 (sml-nj/110-doc.tar.Z) = 08984248309121db8b61327825f0401b
+MD5 (sml-nj/110-eXene.tar.Z) = ebeae292ca5d46b2ed6446f5319be0db
+MD5 (sml-nj/110-ml-burg.tar.Z) = 8f41d64c588a13007a4b735bbeefbc13
+MD5 (sml-nj/110-ml-lex.tar.Z) = 9502487da4ec579937cf894c02f08204
+MD5 (sml-nj/110-ml-yacc.tar.Z) = 0d18c288ebdc65fe05314b050a88b368
+MD5 (sml-nj/110-runtime.tar.Z) = 7b08a2d45ed47e90fb88557d8aaac409
+MD5 (sml-nj/110-sml-nj.tar.Z) = 8ba3c20048f68b18ae29a9bc53401dc8
+MD5 (sml-nj/110-smlnj-c.tar.Z) = a346c88785b82c598e0511c4dedeb244
+MD5 (sml-nj/110-smlnj-lib.tar.Z) = ee85ede6fd63827ca1ced2198d8ad0c1
diff --git a/lang/sml-nj-devel/pkg-comment b/lang/sml-nj-devel/pkg-comment
new file mode 100644
index 000000000000..a93bdc94503d
--- /dev/null
+++ b/lang/sml-nj-devel/pkg-comment
@@ -0,0 +1 @@
+Standard ML of New Jersey.
diff --git a/lang/sml-nj-devel/pkg-descr b/lang/sml-nj-devel/pkg-descr
new file mode 100644
index 000000000000..4db9ef176f2f
--- /dev/null
+++ b/lang/sml-nj-devel/pkg-descr
@@ -0,0 +1,7 @@
+A Standard ML implementation from Bell-Labs. Implements the SML '97 definition
+including the new Basis library with a few minor omissions and discrepancies.
+
+See also: http://cm.bell-labs.com/cm/cs/what/smlnj/index.html
+
+- Joseph Koshy
+ <jkoshy@freebsd.org>
diff --git a/lang/sml-nj-devel/pkg-plist b/lang/sml-nj-devel/pkg-plist
new file mode 100644
index 000000000000..1b64017c6199
--- /dev/null
+++ b/lang/sml-nj-devel/pkg-plist
@@ -0,0 +1,22 @@
+bin/ml-burg
+bin/ml-lex
+bin/ml-yacc
+bin/sml
+bin/sml-cm
+lib/sml-nj/bin/.heap/sml.x86-bsd
+lib/sml-nj/bin/.heap/sml-cm.x86-bsd
+lib/sml-nj/bin/.heap/ml-yacc.x86-bsd
+lib/sml-nj/bin/.heap/ml-lex.x86-bsd
+lib/sml-nj/bin/.heap/ml-burg.x86-bsd
+lib/sml-nj/bin/.run/run.x86-freebsd
+lib/sml-nj/bin/.arch-n-opsys
+lib/sml-nj/bin/.run-sml
+lib/sml-nj/bin/sml
+lib/sml-nj/bin/sml-cm
+lib/sml-nj/bin/ml-yacc
+lib/sml-nj/bin/ml-lex
+lib/sml-nj/bin/ml-burg
+@dirrm lib/sml-nj/bin/.run
+@dirrm lib/sml-nj/bin/.heap
+@dirrm lib/sml-nj/bin
+@dirrm lib/sml-nj
diff --git a/lang/sml-nj/Makefile b/lang/sml-nj/Makefile
new file mode 100644
index 000000000000..e9efba266027
--- /dev/null
+++ b/lang/sml-nj/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: sml/nj
+# Version required: 110
+# Date created: 7 July 1998
+# Whom: jkoshy
+#
+# $Id$
+#
+
+DISTNAME= 110-bin.x86-unix
+PKGNAME= smlnj-110
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.research.bell-labs.com/dist/smlnj/release/110/ \
+ ftp://rodin.stanford.edu/pub/smlnj/release/110/ \
+ ftp://flint.cs.yale.edu/pub/smlnj/release/110/ \
+ ftp://ftp.diku.dk/pub/smlnj/release/110/ \
+ ftp://ftp.cl.cam.ac.uk/MIRRORED/smlnj/release/110/ \
+ ftp://sunsite.doc.ic.ac.uk/computing/programming/languages/ml/smlnj/release/110/ \
+ ftp://ftp.ntua.gr/pub/lang/smlnj/release/110/ \
+ ftp://compiler.kaist.ac.kr/pub/sml/release/110/
+DISTFILES= 110-bin.x86-unix.tar.Z 110-cm.tar.Z 110-cml.tar.Z \
+ 110-config.tar.Z 110-eXene.tar.Z \
+ 110-ml-burg.tar.Z 110-ml-lex.tar.Z 110-ml-yacc.tar.Z \
+ 110-runtime.tar.Z 110-sml-nj.tar.Z 110-smlnj-c.tar.Z \
+ 110-smlnj-lib.tar.Z
+
+MAINTAINER= jkoshy@freebsd.org
+
+DIST_SUBDIR= sml-nj
+NO_WRKSUBDIR= yes
+EXTRACT_ONLY= 110-config.tar.Z
+USE_GMAKE= yes
+
+SML_BASE= ${PREFIX}/lib/sml-nj
+SML_LIBDIR= ${SML_BASE}/lib
+SML_BINDIR= ${SML_BASE}/bin
+SML_SRCDIR= ${SML_BASE}/src
+SML_EXES= ml-burg ml-lex ml-yacc sml sml-cm
+
+# The build target needs to run $WRKDIR/config/install.sh
+do-build:
+ cd ${WRKDIR} && ./config/install.sh
+
+do-install:
+ ${MKDIR} ${SML_BASE}
+ ${MKDIR} ${SML_BINDIR}
+ tar -C ${WRKDIR} -cf - bin | tar -C ${SML_BASE} -xf -
+ ${RM} ${SML_BINDIR}/.run-sml
+ ${SED} -e "s,^BIN_DIR=.*\$$,BIN_DIR=${SML_BINDIR}," \
+ < ${WRKDIR}/bin/.run-sml > ${SML_BINDIR}/.run-sml
+ chmod 755 ${SML_BINDIR}/.run-sml
+.for file in ${SML_EXES}
+ -${LN} -s ${SML_BINDIR}/${file} ${PREFIX}/bin/${file}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/lang/sml-nj/distinfo b/lang/sml-nj/distinfo
new file mode 100644
index 000000000000..abd5b12ccfc4
--- /dev/null
+++ b/lang/sml-nj/distinfo
@@ -0,0 +1,13 @@
+MD5 (sml-nj/110-bin.x86-unix.tar.Z) = edba93d7d94f6019c6dd0b22ee3a3c46
+MD5 (sml-nj/110-cm.tar.Z) = 4e7987ca57ec35ff19d11bb3bec6dd73
+MD5 (sml-nj/110-cml.tar.Z) = bea1f47d442d788924496ae281860e66
+MD5 (sml-nj/110-config.tar.Z) = ade21a6dad2bf8cf06a8544070837fb7
+MD5 (sml-nj/110-doc.tar.Z) = 08984248309121db8b61327825f0401b
+MD5 (sml-nj/110-eXene.tar.Z) = ebeae292ca5d46b2ed6446f5319be0db
+MD5 (sml-nj/110-ml-burg.tar.Z) = 8f41d64c588a13007a4b735bbeefbc13
+MD5 (sml-nj/110-ml-lex.tar.Z) = 9502487da4ec579937cf894c02f08204
+MD5 (sml-nj/110-ml-yacc.tar.Z) = 0d18c288ebdc65fe05314b050a88b368
+MD5 (sml-nj/110-runtime.tar.Z) = 7b08a2d45ed47e90fb88557d8aaac409
+MD5 (sml-nj/110-sml-nj.tar.Z) = 8ba3c20048f68b18ae29a9bc53401dc8
+MD5 (sml-nj/110-smlnj-c.tar.Z) = a346c88785b82c598e0511c4dedeb244
+MD5 (sml-nj/110-smlnj-lib.tar.Z) = ee85ede6fd63827ca1ced2198d8ad0c1
diff --git a/lang/sml-nj/pkg-comment b/lang/sml-nj/pkg-comment
new file mode 100644
index 000000000000..a93bdc94503d
--- /dev/null
+++ b/lang/sml-nj/pkg-comment
@@ -0,0 +1 @@
+Standard ML of New Jersey.
diff --git a/lang/sml-nj/pkg-descr b/lang/sml-nj/pkg-descr
new file mode 100644
index 000000000000..4db9ef176f2f
--- /dev/null
+++ b/lang/sml-nj/pkg-descr
@@ -0,0 +1,7 @@
+A Standard ML implementation from Bell-Labs. Implements the SML '97 definition
+including the new Basis library with a few minor omissions and discrepancies.
+
+See also: http://cm.bell-labs.com/cm/cs/what/smlnj/index.html
+
+- Joseph Koshy
+ <jkoshy@freebsd.org>
diff --git a/lang/sml-nj/pkg-plist b/lang/sml-nj/pkg-plist
new file mode 100644
index 000000000000..1b64017c6199
--- /dev/null
+++ b/lang/sml-nj/pkg-plist
@@ -0,0 +1,22 @@
+bin/ml-burg
+bin/ml-lex
+bin/ml-yacc
+bin/sml
+bin/sml-cm
+lib/sml-nj/bin/.heap/sml.x86-bsd
+lib/sml-nj/bin/.heap/sml-cm.x86-bsd
+lib/sml-nj/bin/.heap/ml-yacc.x86-bsd
+lib/sml-nj/bin/.heap/ml-lex.x86-bsd
+lib/sml-nj/bin/.heap/ml-burg.x86-bsd
+lib/sml-nj/bin/.run/run.x86-freebsd
+lib/sml-nj/bin/.arch-n-opsys
+lib/sml-nj/bin/.run-sml
+lib/sml-nj/bin/sml
+lib/sml-nj/bin/sml-cm
+lib/sml-nj/bin/ml-yacc
+lib/sml-nj/bin/ml-lex
+lib/sml-nj/bin/ml-burg
+@dirrm lib/sml-nj/bin/.run
+@dirrm lib/sml-nj/bin/.heap
+@dirrm lib/sml-nj/bin
+@dirrm lib/sml-nj