aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorglarkin <glarkin@FreeBSD.org>2009-04-29 22:52:15 +0800
committerglarkin <glarkin@FreeBSD.org>2009-04-29 22:52:15 +0800
commit6a97cf49f0ac74b4fdaf1235cfc6cb9128f9e9b2 (patch)
tree486ce5185bfdb3e18f8b14ed518a286798e9d77d /lang
parentc5c373f5706260d78ef3e786efefe937d4e7ea1a (diff)
downloadfreebsd-ports-gnome-6a97cf49f0ac74b4fdaf1235cfc6cb9128f9e9b2.tar.gz
freebsd-ports-gnome-6a97cf49f0ac74b4fdaf1235cfc6cb9128f9e9b2.tar.zst
freebsd-ports-gnome-6a97cf49f0ac74b4fdaf1235cfc6cb9128f9e9b2.zip
Ikarus Scheme is a free optimizing incremental native-code compiler
for Scheme as specified in the Revised^6 Report on the Algorithmic Language Scheme. Ikarus Scheme is an optimizing compiler, so your Scheme code will run fast without the need to port hot spots to C "for performance". With an incremental compiler, you don't need a separate compilation step to make your program run fast. The best part is that the compiler itself is fast, capable of compiling thousands of lines of code per second. Finally, Ikarus Scheme is an R6RS compiler. R6RS libraries, scripts, record types, condition system, exception handling, unicode strings, bytevectors, hashtable, and enumerations are among the supported features. WWW: http://www.ikarus-scheme.org/
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/ikarus/Makefile38
-rw-r--r--lang/ikarus/distinfo3
-rw-r--r--lang/ikarus/files/extra-patch-Makefile.in11
-rw-r--r--lang/ikarus/files/extra-patch-doc__Makefile.in11
-rw-r--r--lang/ikarus/files/patch-Makefile.in13
-rw-r--r--lang/ikarus/pkg-descr17
-rw-r--r--lang/ikarus/pkg-plist14
8 files changed, 108 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index a58e704e2714..25c8117ca9d5 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -125,6 +125,7 @@
SUBDIR += icon
SUBDIR += ifc
SUBDIR += ifc7
+ SUBDIR += ikarus
SUBDIR += imp-interpreter
SUBDIR += intel2gas
SUBDIR += intercal
diff --git a/lang/ikarus/Makefile b/lang/ikarus/Makefile
new file mode 100644
index 000000000000..1c9a1de206d8
--- /dev/null
+++ b/lang/ikarus/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: ikarus
+# Date created: 30 January 2009
+# Whom: Vitaly Magerya <vmagerya@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ikarus
+PORTVERSION= 0.0.3
+CATEGORIES= lang scheme
+MASTER_SITES= http://www.ikarus-scheme.org/ \
+ LOCAL/glarkin
+
+MAINTAINER= vmagerya@gmail.com
+COMMENT= Optimizing incremental native-code compiler for R6RS Scheme
+
+LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=\
+ CFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+ONLY_FOR_ARCHS= i386
+
+.include <bsd.port.pre.mk>
+
+.if defined(NOPORTDOCS)
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Makefile.in \
+ ${FILESDIR}/extra-patch-doc__Makefile.in
+.endif
+
+.if ${OSVERSION} < 700042
+USE_GCC= 4.2+
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/lang/ikarus/distinfo b/lang/ikarus/distinfo
new file mode 100644
index 000000000000..671fd09f123a
--- /dev/null
+++ b/lang/ikarus/distinfo
@@ -0,0 +1,3 @@
+MD5 (ikarus-0.0.3.tar.gz) = 6ff12af6342bed7e1ff02a5627b857ab
+SHA256 (ikarus-0.0.3.tar.gz) = 5b6ed66ed7a6f63aaff2803cc3e675cb38368300b189ac1ea06948eb30c79b34
+SIZE (ikarus-0.0.3.tar.gz) = 3948264
diff --git a/lang/ikarus/files/extra-patch-Makefile.in b/lang/ikarus/files/extra-patch-Makefile.in
new file mode 100644
index 000000000000..857ed3f34512
--- /dev/null
+++ b/lang/ikarus/files/extra-patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2009-04-24 23:06:36.000000000 -0400
++++ Makefile.in 2009-04-24 23:07:14.000000000 -0400
+@@ -582,7 +582,7 @@
+
+ info-am:
+
+-install-data-am: install-dist_docDATA
++install-data-am:
+
+ install-dvi: install-dvi-recursive
+
diff --git a/lang/ikarus/files/extra-patch-doc__Makefile.in b/lang/ikarus/files/extra-patch-doc__Makefile.in
new file mode 100644
index 000000000000..9d98cef8bc33
--- /dev/null
+++ b/lang/ikarus/files/extra-patch-doc__Makefile.in
@@ -0,0 +1,11 @@
+--- ./doc/Makefile.in.orig 2009-04-24 22:41:02.000000000 -0400
++++ ./doc/Makefile.in 2009-04-24 22:42:36.000000000 -0400
+@@ -287,7 +287,7 @@
+
+ info-am:
+
+-install-data-am: install-dist_docDATA
++install-data-am:
+
+ install-dvi: install-dvi-am
+
diff --git a/lang/ikarus/files/patch-Makefile.in b/lang/ikarus/files/patch-Makefile.in
new file mode 100644
index 000000000000..4c4b30ed2641
--- /dev/null
+++ b/lang/ikarus/files/patch-Makefile.in
@@ -0,0 +1,13 @@
+--- ./Makefile.in.orig 2009-04-24 22:40:45.000000000 -0400
++++ ./Makefile.in 2009-04-24 22:40:53.000000000 -0400
+@@ -184,8 +184,8 @@
+ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = foreign
+ SUBDIRS = src scheme doc lib benchmarks
+-EXTRA_DIST = README COPYING GPL-3 ACKNOWLEDGMENTS
+-dist_doc_DATA = README COPYING GPL-3 ACKNOWLEDGMENTS
++EXTRA_DIST = README ACKNOWLEDGMENTS
++dist_doc_DATA = README ACKNOWLEDGMENTS
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
diff --git a/lang/ikarus/pkg-descr b/lang/ikarus/pkg-descr
new file mode 100644
index 000000000000..9717ad50bc60
--- /dev/null
+++ b/lang/ikarus/pkg-descr
@@ -0,0 +1,17 @@
+Ikarus Scheme is a free optimizing incremental native-code compiler
+for Scheme as specified in the Revised^6 Report on the Algorithmic
+Language Scheme.
+
+Ikarus Scheme is an optimizing compiler, so your Scheme code will
+run fast without the need to port hot spots to C "for performance".
+With an incremental compiler, you don't need a separate compilation
+step to make your program run fast. The best part is that the
+compiler itself is fast, capable of compiling thousands of lines
+of code per second.
+
+Finally, Ikarus Scheme is an R6RS compiler. R6RS libraries, scripts,
+record types, condition system, exception handling, unicode strings,
+bytevectors, hashtable, and enumerations are among the supported
+features.
+
+WWW: http://www.ikarus-scheme.org/
diff --git a/lang/ikarus/pkg-plist b/lang/ikarus/pkg-plist
new file mode 100644
index 000000000000..c86790c299e8
--- /dev/null
+++ b/lang/ikarus/pkg-plist
@@ -0,0 +1,14 @@
+bin/ikarus
+bin/scheme-script
+lib/ikarus/ikarus.boot
+lib/ikarus/match.ss
+lib/ikarus/pregexp.ss
+lib/ikarus/streams.ss
+lib/ikarus/streams/derived.ss
+lib/ikarus/streams/primitive.ss
+%%PORTDOCS%%%%DOCSDIR%%/ACKNOWLEDGMENTS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/ikarus-scheme-users-guide.pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm lib/ikarus/streams
+@dirrm lib/ikarus