From fb65895765a029f3f63982d5b3e37e654e262536 Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Thu, 29 Jul 2004 06:10:47 +0000 Subject: Add new port for IronPython 0.6, a new Python implementation for .NET platforms. --- lang/ironpython/Makefile | 34 ++++++++++++++++++++++++++++++++++ lang/ironpython/distinfo | 2 ++ lang/ironpython/pkg-descr | 24 ++++++++++++++++++++++++ lang/ironpython/pkg-plist | 8 ++++++++ 4 files changed, 68 insertions(+) create mode 100644 lang/ironpython/Makefile create mode 100644 lang/ironpython/distinfo create mode 100644 lang/ironpython/pkg-descr create mode 100644 lang/ironpython/pkg-plist (limited to 'lang/ironpython') 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 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 -- cgit v1.2.3