diff options
author | Tom McLaughlin <tmclaugh@FreeBSD.org> | 2007-02-04 23:32:24 +0000 |
---|---|---|
committer | Tom McLaughlin <tmclaugh@FreeBSD.org> | 2007-02-04 23:32:24 +0000 |
commit | 4271669bf9d319e476a83c1909babafe84762f48 (patch) | |
tree | bf3b583c3046910893cbe335694ad1b3de064a53 | |
parent | 52798137d33f8dfa0aa67ac6ce51e25be46aa759 (diff) | |
download | ports-4271669bf9d319e476a83c1909babafe84762f48.tar.gz ports-4271669bf9d319e476a83c1909babafe84762f48.zip |
Notes
-rw-r--r-- | lang/ironpython/Makefile | 28 | ||||
-rw-r--r-- | lang/ironpython/distinfo | 6 | ||||
-rw-r--r-- | lang/ironpython/files/patch-Src-makefile | 8 | ||||
-rw-r--r-- | lang/ironpython/pkg-plist | 6 |
4 files changed, 31 insertions, 17 deletions
diff --git a/lang/ironpython/Makefile b/lang/ironpython/Makefile index 8ed73029c505..97d8c02590ac 100644 --- a/lang/ironpython/Makefile +++ b/lang/ironpython/Makefile @@ -6,30 +6,38 @@ # PORTNAME= ironpython -PORTVERSION= 0.6 +PORTVERSION= 1.0.1 PORTREVISION= 1 CATEGORIES= lang python -MASTER_SITES= http://www.ironpython.com/ -DISTNAME= IronPython-${PORTVERSION} +MASTER_SITES= http://www.go-mono.com/sources/${PORTNAME}/ +DISTNAME= IronPython-1.0.1-Src MAINTAINER= perky@FreeBSD.org COMMENT= New Python implementation targeting the .NET +BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono RUN_DEPENDS= mono:${PORTSDIR}/lang/mono +WRKSRC= ${WRKDIR}/IronPython-${PORTVERSION} USE_ZIP= yes -NO_BUILD= yes -EXTRACT_BEFORE_ARGS= -q -a +USE_GMAKE= yes post-extract: - ${ECHO} '#!${SH}' > ${WRKDIR}/ironpython - ${ECHO} '${LOCALBASE}/bin/mono ${PREFIX}/lib/ironpython/IronPythonConsole.exe $$*' >> ${WRKDIR}/ironpython + @(${ECHO} '#!${SH}' > ${WRKDIR}/ironpython) + @(${ECHO} '${LOCALBASE}/bin/mono ${PREFIX}/lib/ironpython/ipy.exe -X:ColorfulConsole $$*' \ + >> ${WRKDIR}/ironpython) + +pre-build: + @${MKDIR} ${WRKSRC}/Src/IronPythonTest/bin + +do-build: + cd ${WRKSRC}/Src && ${GMAKE} do-install: - ${MKDIR} ${PREFIX}/lib/ironpython - cd ${WRKSRC}/bin; for f in *.exe *.dll; do \ + @${MKDIR} ${PREFIX}/lib/ironpython + cd ${WRKSRC}; for f in *.exe *.dll; do \ ${INSTALL_DATA} $$f ${PREFIX}/lib/ironpython; \ done - ${INSTALL_SCRIPT} ${WRKDIR}/ironpython ${PREFIX}/bin/ + @${INSTALL_SCRIPT} ${WRKDIR}/ironpython ${PREFIX}/bin/ .include <bsd.port.mk> diff --git a/lang/ironpython/distinfo b/lang/ironpython/distinfo index 23e7f283c727..c21f0626ea35 100644 --- a/lang/ironpython/distinfo +++ b/lang/ironpython/distinfo @@ -1,3 +1,3 @@ -MD5 (IronPython-0.6.zip) = de985c87ec3563cf0284609041cfa104 -SHA256 (IronPython-0.6.zip) = f2ce97fb418db8ab87c7daa0572f5cce478cd69ec5bd596b00170b4bafaf71bb -SIZE (IronPython-0.6.zip) = 388485 +MD5 (IronPython-1.0.1-Src.zip) = 72d1ff3dd49b74c60636840fe9df9f70 +SHA256 (IronPython-1.0.1-Src.zip) = a406d7e5ad8903c950bf148634417eef8f9586b20260762a20d8d3eb7676bbf8 +SIZE (IronPython-1.0.1-Src.zip) = 1579582 diff --git a/lang/ironpython/files/patch-Src-makefile b/lang/ironpython/files/patch-Src-makefile new file mode 100644 index 000000000000..6ae6ae34413a --- /dev/null +++ b/lang/ironpython/files/patch-Src-makefile @@ -0,0 +1,8 @@ +--- Src/makefile.orig Mon Oct 9 11:29:35 2006 ++++ Src/makefile Mon Oct 9 11:29:45 2006 +@@ -1,4 +1,4 @@ +-CSC=csc ++CSC=gmcs + + all:../IronMath.dll ../IronPython.dll ../ipy.exe ../ipyw.exe IronPythonTest/bin/Debug/IronPythonTest.dll + diff --git a/lang/ironpython/pkg-plist b/lang/ironpython/pkg-plist index 56c74df5601d..2fcfb8a1c4ac 100644 --- a/lang/ironpython/pkg-plist +++ b/lang/ironpython/pkg-plist @@ -1,8 +1,6 @@ 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 +lib/ironpython/ipy.exe +lib/ironpython/ipyw.exe @dirrm lib/ironpython |