aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2004-07-29 14:10:47 +0800
committerperky <perky@FreeBSD.org>2004-07-29 14:10:47 +0800
commit54629bdcbb5b008f31a0769b5276f8506526bd7f (patch)
treed5b920d138654ecfe26efb27f90b8bcf43041880 /lang
parent5b9bed811182642c865d03f65aa4754acbd987d4 (diff)
downloadfreebsd-ports-gnome-54629bdcbb5b008f31a0769b5276f8506526bd7f.tar.gz
freebsd-ports-gnome-54629bdcbb5b008f31a0769b5276f8506526bd7f.tar.zst
freebsd-ports-gnome-54629bdcbb5b008f31a0769b5276f8506526bd7f.zip
Add new port for IronPython 0.6,
a new Python implementation for .NET platforms.
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/ironpython/Makefile34
-rw-r--r--lang/ironpython/distinfo2
-rw-r--r--lang/ironpython/pkg-descr24
-rw-r--r--lang/ironpython/pkg-plist8
5 files changed, 69 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 0b1215e44fde..5be350f25a14 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -107,6 +107,7 @@
SUBDIR += ifc7
SUBDIR += intel2gas
SUBDIR += intercal
+ SUBDIR += ironpython
SUBDIR += itcl
SUBDIR += jruby
SUBDIR += jython
diff --git a/lang/ironpython/Makefile b/lang/ironpython/Makefile
new file mode 100644
index 000000000000..4885ceebe90b
--- /dev/null
+++ b/lang/ironpython/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: ironpython
+# Date created: 29 July 2004
+# Whom: Hye-Shik Chang
+#
+# $FreeBSD$
+#
+
+PORTNAME= ironpython
+PORTVERSION= 0.6
+CATEGORIES= lang python
+MASTER_SITES= http://www.ironpython.com/
+DISTNAME= IronPython-${PORTVERSION}
+
+MAINTAINER= perky@FreeBSD.org
+COMMENT= New Python implementation targeting the .NET
+
+RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
+
+USE_ZIP= yes
+NO_BUILD= yes
+EXTRACT_BEFORE_ARGS= -q -a
+
+post-extract:
+ ${ECHO} '#!${SH}' > ${WRKDIR}/ironpython
+ ${ECHO} '${LOCALBASE}/bin/mono ${PREFIX}/lib/ironpython/IronPythonConsole.exe $$*' >> ${WRKDIR}/ironpython
+
+do-install:
+ ${MKDIR} ${PREFIX}/lib/ironpython
+ cd ${WRKSRC}/bin; for f in *.exe *.dll; do \
+ ${INSTALL_DATA} $$f ${PREFIX}/lib/ironpython; \
+ done
+ ${INSTALL_SCRIPT} ${WRKDIR}/ironpython ${PREFIX}/bin/
+
+.include <bsd.port.mk>
diff --git a/lang/ironpython/distinfo b/lang/ironpython/distinfo
new file mode 100644
index 000000000000..92a5983012bd
--- /dev/null
+++ b/lang/ironpython/distinfo
@@ -0,0 +1,2 @@
+MD5 (IronPython-0.6.zip) = de985c87ec3563cf0284609041cfa104
+SIZE (IronPython-0.6.zip) = 388485
diff --git a/lang/ironpython/pkg-descr b/lang/ironpython/pkg-descr
new file mode 100644
index 000000000000..353732349132
--- /dev/null
+++ b/lang/ironpython/pkg-descr
@@ -0,0 +1,24 @@
+IronPython is a new Python implementation targeting the .NET and
+Mono platforms. It is...
+
+* Fast - IronPython-0.6 is up to 1.7x faster than Python-2.3 on the
+standard pystone benchmark. An early performance report is are
+contained in this paper for PyCon 2004.
+
+* Integrated with the Common Language Runtime - IronPython code can
+easily use CLR libraries and Python classes can extend CLR classes.
+
+* Fully dynamic - IronPython supports an interactive interpreter
+and transparent on-the-fly compilation of source files just like
+standard Python.
+
+* Optionally static - IronPython also supports static compilation
+of Python code to produce static executables (.exe's) that can be
+run directly or static libraries (.dll's) that can be called from
+other CLR languages including C#, VB, managed C++ and many more.
+
+* Managed and verifiable - IronPython generates verifiable assemblies
+with no dependencies on native libraries that can run in environments
+which require verifiable managed code.
+
+WWW: http://www.ironpython.com/
diff --git a/lang/ironpython/pkg-plist b/lang/ironpython/pkg-plist
new file mode 100644
index 000000000000..56c74df5601d
--- /dev/null
+++ b/lang/ironpython/pkg-plist
@@ -0,0 +1,8 @@
+bin/ironpython
+lib/ironpython/IronMath.dll
+lib/ironpython/IronPython.dll
+lib/ironpython/IronPythonConsole.exe
+lib/ironpython/SystemUtil.dll
+lib/ironpython/__main__.exe
+lib/ironpython/snippets.dll
+@dirrm lib/ironpython