diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-07-31 10:06:38 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-07-31 10:06:38 +0000 |
commit | f76e94f6f28e0a3add993da75840bc5c2c570c49 (patch) | |
tree | 8b7649dfaa0f0a0ae848698cdff934d940ecaf68 /lang/rscheme | |
parent | 21eb89848bef16449057c7a933824648fc4566ac (diff) | |
download | ports-f76e94f6f28e0a3add993da75840bc5c2c570c49.tar.gz ports-f76e94f6f28e0a3add993da75840bc5c2c570c49.zip |
Notes
Diffstat (limited to 'lang/rscheme')
-rw-r--r-- | lang/rscheme/Makefile | 41 | ||||
-rw-r--r-- | lang/rscheme/distinfo | 1 | ||||
-rw-r--r-- | lang/rscheme/files/patch-..::Makefile | 17 | ||||
-rw-r--r-- | lang/rscheme/files/patch-..::handc::rshell::Makefile | 14 | ||||
-rw-r--r-- | lang/rscheme/files/patch-..::handc::rshell::shell.c | 14 | ||||
-rw-r--r-- | lang/rscheme/files/patch-..::modules::corelib::corelib.mcf | 13 | ||||
-rw-r--r-- | lang/rscheme/files/patch-..::stage0::configure | 14 | ||||
-rw-r--r-- | lang/rscheme/files/patch-..::stage0::corelib::string.c | 13 | ||||
-rw-r--r-- | lang/rscheme/pkg-comment | 1 | ||||
-rw-r--r-- | lang/rscheme/pkg-descr | 11 | ||||
-rw-r--r-- | lang/rscheme/pkg-plist | 141 |
11 files changed, 280 insertions, 0 deletions
diff --git a/lang/rscheme/Makefile b/lang/rscheme/Makefile new file mode 100644 index 000000000000..85886ac91aab --- /dev/null +++ b/lang/rscheme/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: rscheme +# Date created: 31 July 2001 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= rscheme +PORTVERSION= 0.7.3.1 +CATEGORIES= lang +MASTER_SITES= ftp://ftp.rscheme.org/pub/rscheme/ +DISTNAME= rs-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org + +WRKSRC= ${WRKDIR}/${DISTNAME}/src + +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${WRKDIR}/build ${CONFIGURE_TARGET} +MAKE_ENV= REAL_PREFIX=${PREFIX} + +BOOTSTRAP_DIR= ${WRKDIR}/${DISTNAME} +BOOTSTRAP_TARGET= stage1 + +post-extract: + @${MKDIR} ${WRKSRC} ${WRKDIR}/build + +pre-configure: + @${RM} -rf ${WRKSRC} + @(cd ${BOOTSTRAP_DIR}; ${SETENV} ${MAKE_ENV} ${CONFIGURE_ENV} ${MAKE} \ + ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${BOOTSTRAP_TARGET}) + +do-install: + ${INSTALL_PROGRAM} ${WRKDIR}/build/bin/rs ${PREFIX}/bin/rs + (cd ${WRKDIR}/build && ${TAR} -c -f - include/rscheme* lib/librs.a) \ + | (cd ${PREFIX} && ${TAR} --unlink -x -f -) + ${MKDIR} ${DATADIR} + (cd ${WRKDIR}/build && ${TAR} -c -f - resource) \ + | (cd ${DATADIR} && ${TAR} --unlink -x -f -) + +.include <bsd.port.mk> diff --git a/lang/rscheme/distinfo b/lang/rscheme/distinfo new file mode 100644 index 000000000000..0a1f947590f7 --- /dev/null +++ b/lang/rscheme/distinfo @@ -0,0 +1 @@ +MD5 (rs-0.7.3.1.tar.gz) = 3cb7be3f41cdb3b03c6ef92cbcd04928 diff --git a/lang/rscheme/files/patch-..::Makefile b/lang/rscheme/files/patch-..::Makefile new file mode 100644 index 000000000000..3740f70ed303 --- /dev/null +++ b/lang/rscheme/files/patch-..::Makefile @@ -0,0 +1,17 @@ + +$FreeBSD$ + +--- ../Makefile.orig Thu Mar 18 17:40:45 1999 ++++ ../Makefile Tue Jul 31 10:48:35 2001 +@@ -123,9 +123,9 @@ + + stage1:: + cd stage0 ; ./configure --prefix=`pwd`/install $(CONFIG_OPTS) +- cd stage0 ; make ++ cd stage0 ; $(MAKE) + mkdir -p stage0/install/bin +- cd stage0 ; make shell ++ cd stage0 ; $(MAKE) shell + cd stage0 ; ln -s ../../rshell/rs install/bin/rs + cd stage0 ; ln -s ../../system.img install/resource/system.img + $(MAKE) RS=`pwd`/stage0/install/bin/rs RSC_FLAGS2=-ccode \ diff --git a/lang/rscheme/files/patch-..::handc::rshell::Makefile b/lang/rscheme/files/patch-..::handc::rshell::Makefile new file mode 100644 index 000000000000..58b9e992386c --- /dev/null +++ b/lang/rscheme/files/patch-..::handc::rshell::Makefile @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- ../handc/rshell/Makefile.orig Thu Mar 18 17:43:41 1999 ++++ ../handc/rshell/Makefile Tue Jul 31 12:04:08 2001 +@@ -11,7 +11,7 @@ + # + + FINAL_INSTALL_DIR=$(INSTALL_DIR) +-XCFLAGS='-DINSTALL_DIR="$(FINAL_INSTALL_DIR)"' ++XCFLAGS='-DINSTALL_DIR="$(REAL_PREFIX)"' + + include $(INSTALL_DIR)/resource/buildenv/preamble.mak + diff --git a/lang/rscheme/files/patch-..::handc::rshell::shell.c b/lang/rscheme/files/patch-..::handc::rshell::shell.c new file mode 100644 index 000000000000..ade3d7976a9b --- /dev/null +++ b/lang/rscheme/files/patch-..::handc::rshell::shell.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- ../handc/rshell/shell.c 2001/07/31 08:24:33 1.1 ++++ ../handc/rshell/shell.c 2001/07/31 08:25:25 +@@ -43,7 +43,7 @@ + { + char temp[1024]; + +- sprintf( temp, "%s/resource/system.img", rs_install_dir ); ++ sprintf( temp, "%s/share/rscheme/resource/system.img", rs_install_dir ); + return rscheme_std_main( argc, argv, std_modules, temp ); + } + #endif diff --git a/lang/rscheme/files/patch-..::modules::corelib::corelib.mcf b/lang/rscheme/files/patch-..::modules::corelib::corelib.mcf new file mode 100644 index 000000000000..de863a2d8387 --- /dev/null +++ b/lang/rscheme/files/patch-..::modules::corelib::corelib.mcf @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- ../modules/corelib/corelib.mcf 2001/07/31 08:05:16 1.1 ++++ ../modules/corelib/corelib.mcf 2001/07/31 08:07:40 +@@ -27,6 +27,7 @@ + (files alloc apply process) + (files dynstate) + (files string str2num num2str) ++ (require-c-header "<ctype.h>") + (files layer imageio intrglue) + (files linkinfo keywords) + (files complex rational basicnum) diff --git a/lang/rscheme/files/patch-..::stage0::configure b/lang/rscheme/files/patch-..::stage0::configure new file mode 100644 index 000000000000..d9accb6c511f --- /dev/null +++ b/lang/rscheme/files/patch-..::stage0::configure @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- ../stage0/configure 2001/07/31 06:44:55 1.1 ++++ ../stage0/configure 2001/07/31 06:45:13 +@@ -2837,7 +2837,7 @@ + # + + if $OPTIMIZE +-then CFLAGS="$CFLAGS -O2" ++then CFLAGS="$CFLAGS" + fi + + echo $ac_n "checking if we should use hardware registers""... $ac_c" 1>&6 diff --git a/lang/rscheme/files/patch-..::stage0::corelib::string.c b/lang/rscheme/files/patch-..::stage0::corelib::string.c new file mode 100644 index 000000000000..d76364a8379d --- /dev/null +++ b/lang/rscheme/files/patch-..::stage0::corelib::string.c @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- ../stage0/corelib/string.c 2001/07/31 07:20:17 1.1 ++++ ../stage0/corelib/string.c 2001/07/31 07:21:08 +@@ -12,6 +12,7 @@ + #define _C_STRING + #include "corelib_p.h" + #include <rscheme/vinsns.h> ++#include <ctype.h> + extern struct module_descr module_corelib; + extern struct part_descr corelib_part_string; + static char sccsid[] = "@(#)corelib modules/corelib/string.scm[71979012] (RS v0.7.3.1, 2000-11-26)"; diff --git a/lang/rscheme/pkg-comment b/lang/rscheme/pkg-comment new file mode 100644 index 000000000000..9ec18b81c658 --- /dev/null +++ b/lang/rscheme/pkg-comment @@ -0,0 +1 @@ +An object-oriented, extended version of the Scheme dialect of Lisp diff --git a/lang/rscheme/pkg-descr b/lang/rscheme/pkg-descr new file mode 100644 index 000000000000..7871d76b005b --- /dev/null +++ b/lang/rscheme/pkg-descr @@ -0,0 +1,11 @@ +RScheme is an object-oriented, extended version of the Scheme dialect of Lisp. +RScheme is freely redistributable, and offers reasonable performance despite +being extraordinarily portable. RScheme can be compiled to C, and the C can +then compiled with a normal C compiler to generate machine code. By default, +however, RScheme compiles to bytecodes which are interpreted by a (runtime) +virtual machine. This ensures that compilation is fast and keeps code size +down. In general, we recommend using the (default) bytecode code generation +system, and only compiling your time-critical code to machine code. This +allows a nice adjustment of space/time tradeoffs. + +WWW: http://www.rscheme.org/ diff --git a/lang/rscheme/pkg-plist b/lang/rscheme/pkg-plist new file mode 100644 index 000000000000..46d352910a52 --- /dev/null +++ b/lang/rscheme/pkg-plist @@ -0,0 +1,141 @@ +bin/rs +include/rscheme.h +include/rscheme/alloc.h +include/rscheme/allocns.h +include/rscheme/api.h +include/rscheme/bcextend.h +include/rscheme/buildsty.h +include/rscheme/chektype.ci +include/rscheme/chektype.h +include/rscheme/clientyp.h +include/rscheme/collectn.h +include/rscheme/gcadapt.h +include/rscheme/gcclient1.ci +include/rscheme/gcclient2.ci +include/rscheme/gcconfig.h +include/rscheme/gcglue.h +include/rscheme/gcserver.h +include/rscheme/gcserver1.ci +include/rscheme/gcserver2.ci +include/rscheme/gcxverse.h +include/rscheme/hashfn.h +include/rscheme/hashmain.h +include/rscheme/hasht.h +include/rscheme/heapi.h +include/rscheme/imagfile.h +include/rscheme/interim.ci +include/rscheme/intrs.h +include/rscheme/irc.h +include/rscheme/irctypes.h +include/rscheme/langtype.h +include/rscheme/linktype.h +include/rscheme/longint.h +include/rscheme/modulo.h +include/rscheme/ntohd.ci +include/rscheme/obj.h +include/rscheme/osglue.h +include/rscheme/platform.h +include/rscheme/profile.h +include/rscheme/rdln.h +include/rscheme/readwrit.ci +include/rscheme/record.h +include/rscheme/regs.h +include/rscheme/rlseconf.cfg +include/rscheme/rlseconf.h +include/rscheme/rsmodule.h +include/rscheme/runtime.h +include/rscheme/scheme.h +include/rscheme/sizeclas.h +include/rscheme/smemory.ci +include/rscheme/smemory.h +include/rscheme/stack.ci +include/rscheme/stack.h +include/rscheme/stakcach.ci +include/rscheme/stakcach.h +include/rscheme/stdiox.h +include/rscheme/stdmodul.h +include/rscheme/timeprof.h +include/rscheme/traverse.h +include/rscheme/travstat.h +include/rscheme/vinsns.ci +include/rscheme/vinsns.h +include/rscheme/writebar.h +lib/librs.a +share/rscheme/resource/buildenv/module.mak +share/rscheme/resource/buildenv/preamble.mak +share/rscheme/resource/compiler/bytecode/bcgen.scm +share/rscheme/resource/compiler/bytecode/bctable.dat +share/rscheme/resource/compiler/bytecode/potable.dat +share/rscheme/resource/modules/codegen.doc +share/rscheme/resource/modules/codegen.mif +share/rscheme/resource/modules/codegen.mx +share/rscheme/resource/modules/compiler.doc +share/rscheme/resource/modules/compiler.mif +share/rscheme/resource/modules/compiler.mx +share/rscheme/resource/modules/corelib.doc +share/rscheme/resource/modules/corelib.mif +share/rscheme/resource/modules/corelib.mx +share/rscheme/resource/modules/debugger.doc +share/rscheme/resource/modules/debugger.mif +share/rscheme/resource/modules/debugger.mx +share/rscheme/resource/modules/editinp.doc +share/rscheme/resource/modules/editinp.mif +share/rscheme/resource/modules/editinp.mx +share/rscheme/resource/modules/hacks.doc +share/rscheme/resource/modules/hacks.mif +share/rscheme/resource/modules/hacks.mx +share/rscheme/resource/modules/high_scheme.doc +share/rscheme/resource/modules/high_scheme.mif +share/rscheme/resource/modules/high_scheme.mx +share/rscheme/resource/modules/imageio.doc +share/rscheme/resource/modules/imageio.mif +share/rscheme/resource/modules/imageio.mx +share/rscheme/resource/modules/iolib.doc +share/rscheme/resource/modules/iolib.mif +share/rscheme/resource/modules/iolib.mx +share/rscheme/resource/modules/low_scheme.doc +share/rscheme/resource/modules/low_scheme.mif +share/rscheme/resource/modules/low_scheme.mx +share/rscheme/resource/modules/mathlib.doc +share/rscheme/resource/modules/mathlib.mif +share/rscheme/resource/modules/mathlib.mx +share/rscheme/resource/modules/mlink.doc +share/rscheme/resource/modules/mlink.mif +share/rscheme/resource/modules/mlink.mx +share/rscheme/resource/modules/objsys.doc +share/rscheme/resource/modules/objsys.mif +share/rscheme/resource/modules/objsys.mx +share/rscheme/resource/modules/paths.doc +share/rscheme/resource/modules/paths.mif +share/rscheme/resource/modules/paths.mx +share/rscheme/resource/modules/precore.doc +share/rscheme/resource/modules/precore.mif +share/rscheme/resource/modules/precore.mx +share/rscheme/resource/modules/primops.mif +share/rscheme/resource/modules/primops.mx +share/rscheme/resource/modules/regex.doc +share/rscheme/resource/modules/regex.mif +share/rscheme/resource/modules/regex.mx +share/rscheme/resource/modules/repl.doc +share/rscheme/resource/modules/repl.mif +share/rscheme/resource/modules/repl.mx +share/rscheme/resource/modules/sort.doc +share/rscheme/resource/modules/sort.mif +share/rscheme/resource/modules/sort.mx +share/rscheme/resource/modules/start.doc +share/rscheme/resource/modules/start.mif +share/rscheme/resource/modules/start.mx +share/rscheme/resource/modules/tables.doc +share/rscheme/resource/modules/tables.mif +share/rscheme/resource/modules/tables.mx +share/rscheme/resource/modules/threads.doc +share/rscheme/resource/modules/threads.mif +share/rscheme/resource/modules/threads.mx +share/rscheme/resource/system.img +@dirrm share/rscheme/resource/modules +@dirrm share/rscheme/resource/compiler/bytecode +@dirrm share/rscheme/resource/compiler +@dirrm share/rscheme/resource/buildenv +@dirrm share/rscheme/resource +@dirrm share/rscheme +@dirrm include/rscheme |