1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Upgrade repocopied plt-scheme to Razor 5.0 and take over maintainership.

PR:		ports/149198
Submitted by:	olgeni
Approved by:	maintainer
This commit is contained in:
Jimmy Olgeni 2010-08-08 11:51:35 +00:00
parent 12d804c91e
commit d003e2cb73
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258930
10 changed files with 32002 additions and 29328 deletions

View File

@ -5,21 +5,19 @@
# $FreeBSD$
#
PORTNAME= plt-scheme
PORTVERSION= 4.2.4
PORTREVISION= 2
PORTNAME= racket
PORTVERSION= 5.0
CATEGORIES= lang scheme
MASTER_SITES= http://download.plt-scheme.org/bundles/${PORTVERSION}/plt/\
http://plt.cs.uchicago.edu/bundles/${PORTVERSION}/plt/\
http://www.cs.utah.edu/plt/download/${PORTVERSION}/plt/\
http://mirror.informatik.uni-tuebingen.de/mirror/plt/${PORTVERSION}/plt/\
ftp://infogroep.be/pub/plt/bundles/${PORTVERSION}/plt/\
http://gd.tuwien.ac.at/languages/scheme/plt/${PORTVERSION}/plt/
DISTFILES= plt-${PORTVERSION}-src-unix.tgz ${PLTPATCHES}
DIST_SUBDIR= plt-scheme/${PORTVERSION}
EXTRACT_ONLY= plt-${PORTVERSION}-src-unix.tgz
MAINTAINER= areilly@bigpond.net.au
MASTER_SITES= http://download.racket-lang.org/installers/${PORTVERSION}/racket/ \
http://www.eecs.northwestern.edu/racket/${PORTVERSION}/racket/ \
http://www.cs.utah.edu/plt/installers/${PORTVERSION}/racket/ \
http://mirror.informatik.uni-tuebingen.de/mirror/racket/${PORTVERSION}/racket/ \
ftp://infogroep.be/pub/racket/installers/${PORTVERSION}/racket/ \
http://russell.cs.bilgi.edu.tr/racket-installers/${PORTVERSION}/racket/
DISTFILES= racket-${PORTVERSION}-src-unix.tgz ${PLTPATCHES}
DIST_SUBDIR= racket/${PORTVERSION}
EXTRACT_ONLY= racket-${PORTVERSION}-src-unix.tgz
MAINTAINER= olgeni@FreeBSD.org
COMMENT= An interactive, integrated, graphical Scheme programming environment
LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
@ -43,12 +41,9 @@ USE_GL= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:22:env
# no man files in this version: run plt-help for helpdesk
MAN1= drscheme.1 mred.1 mzc.1 mzscheme.1 \
plt-help.1 setup-plt.1 tex2page.1
#CGC is deprecated now
# OPTIONS= CGC "With CGC garbage collector" off
MAN1= drracket.1 drscheme.1 gracket.1 \
mred.1 mzc.1 mzscheme.1 plt-help.1 \
racket.1 raco.1 setup-plt.1 tex2page.1
ONLY_FOR_ARCHS= i386 amd64
@ -58,14 +53,6 @@ PLTPATCHES= # none yet for this version
.include <bsd.port.pre.mk>
#.if defined(WITH_CGC)
#ALL_TARGET= both
#INSTALL_TARGET= install-both
#PLIST_SUB+= CGC=""
#.else
#PLIST_SUB+= CGC="@comment "
#.endif
.if ${ARCH} == "amd64"
CPPFLAGS+= -DLONG64
.endif

View File

@ -1,3 +1,3 @@
MD5 (plt-scheme/4.2.4/plt-4.2.4-src-unix.tgz) = 7a21fcb5b565b8c352aa22e1698eb05b
SHA256 (plt-scheme/4.2.4/plt-4.2.4-src-unix.tgz) = cf34e2dcead02284d8db427b86edcabc9f54d3d08452352a1e57870a665a5f15
SIZE (plt-scheme/4.2.4/plt-4.2.4-src-unix.tgz) = 16081145
MD5 (racket/5.0/racket-5.0-src-unix.tgz) = 369af9d3728ab636e8234d8ee039658c
SHA256 (racket/5.0/racket-5.0-src-unix.tgz) = 5d4ecfa79b781ebb061d9f7c72104053d537f2f3411fbeda5682957118d6878b
SIZE (racket/5.0/racket-5.0-src-unix.tgz) = 16661627

View File

@ -1,26 +0,0 @@
--- ../mzscheme/src/number.c.orig 2008-05-07 23:15:18.000000000 +0200
+++ ../mzscheme/src/number.c 2008-06-27 08:07:23.000000000 +0200
@@ -52,6 +52,11 @@
# define MAX_SHIFT_EVER 32
#endif
+#include <sys/param.h>
+#include <fenv.h>
+#pragma STDC FENV_ACCESS ON
+
+
/* globals */
double scheme_infinity_val, scheme_minus_infinity_val;
@@ -152,7 +157,11 @@
MZ_SIGSET(SIGFPE, SIG_IGN);
#endif
#ifdef FREEBSD_CONTROL_387
+#if __FreeBSD_version < 800000
__fpsetreg(FP_MSKS_FLD, FP_MSKS_REG, FP_MSKS_FLD, FP_MSKS_OFF);
+#else
+ fedisableexcept(FE_ALL_EXCEPT);
+#endif
#endif
#ifdef LINUX_CONTROL_387
__setfpucw(_FPU_EXTENDED + _FPU_RC_NEAREST + 0x3F);

View File

@ -1,5 +1,5 @@
PLT-Scheme is a set of tools for writing and running the PLT scheme
programming language. It includes a graphical IDE (drscheme) that
Racket is a set of tools for writing and running the PLT scheme
programming language. It includes a graphical IDE (drracket) that
features highlighting of the source of syntax and run-time errors,
support for multiple language levels, an algebraic stepper, objects,
modules, a GUI library, TCP/IP, and much more. It includes an
@ -7,16 +7,4 @@ extensive, hyper-linked help system called Help Desk, available
from the Help menu, the plt-help command line tool, or through a
web browser.
mred is the interpreter/JIT compiler that includes the GUI toolkit.
drscheme is the GUI ide, and is a mred application.
mzscheme is a text-only variant that does not include the GUI toolkit.
swindle is a language variant that includes a CLOS-style object system.
mzc is a compilation manager that can produce stand-alone executable programs.
plt-r5rs and plt-r6rs are front ends for running standards-conforming
programms.
plt-web-server is a web server.
scribble, slatex and tex2page are text formatters.
slideshow is a presentation formatter.
sirmail is a mail user agent.
WWW: http://www.plt-scheme.org/
WWW: http://racket-lang.org/

File diff suppressed because it is too large Load Diff

View File

@ -5,21 +5,19 @@
# $FreeBSD$
#
PORTNAME= plt-scheme
PORTVERSION= 4.2.4
PORTREVISION= 2
PORTNAME= racket
PORTVERSION= 5.0
CATEGORIES= lang scheme
MASTER_SITES= http://download.plt-scheme.org/bundles/${PORTVERSION}/plt/\
http://plt.cs.uchicago.edu/bundles/${PORTVERSION}/plt/\
http://www.cs.utah.edu/plt/download/${PORTVERSION}/plt/\
http://mirror.informatik.uni-tuebingen.de/mirror/plt/${PORTVERSION}/plt/\
ftp://infogroep.be/pub/plt/bundles/${PORTVERSION}/plt/\
http://gd.tuwien.ac.at/languages/scheme/plt/${PORTVERSION}/plt/
DISTFILES= plt-${PORTVERSION}-src-unix.tgz ${PLTPATCHES}
DIST_SUBDIR= plt-scheme/${PORTVERSION}
EXTRACT_ONLY= plt-${PORTVERSION}-src-unix.tgz
MAINTAINER= areilly@bigpond.net.au
MASTER_SITES= http://download.racket-lang.org/installers/${PORTVERSION}/racket/ \
http://www.eecs.northwestern.edu/racket/${PORTVERSION}/racket/ \
http://www.cs.utah.edu/plt/installers/${PORTVERSION}/racket/ \
http://mirror.informatik.uni-tuebingen.de/mirror/racket/${PORTVERSION}/racket/ \
ftp://infogroep.be/pub/racket/installers/${PORTVERSION}/racket/ \
http://russell.cs.bilgi.edu.tr/racket-installers/${PORTVERSION}/racket/
DISTFILES= racket-${PORTVERSION}-src-unix.tgz ${PLTPATCHES}
DIST_SUBDIR= racket/${PORTVERSION}
EXTRACT_ONLY= racket-${PORTVERSION}-src-unix.tgz
MAINTAINER= olgeni@FreeBSD.org
COMMENT= An interactive, integrated, graphical Scheme programming environment
LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
@ -43,12 +41,9 @@ USE_GL= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:22:env
# no man files in this version: run plt-help for helpdesk
MAN1= drscheme.1 mred.1 mzc.1 mzscheme.1 \
plt-help.1 setup-plt.1 tex2page.1
#CGC is deprecated now
# OPTIONS= CGC "With CGC garbage collector" off
MAN1= drracket.1 drscheme.1 gracket.1 \
mred.1 mzc.1 mzscheme.1 plt-help.1 \
racket.1 raco.1 setup-plt.1 tex2page.1
ONLY_FOR_ARCHS= i386 amd64
@ -58,14 +53,6 @@ PLTPATCHES= # none yet for this version
.include <bsd.port.pre.mk>
#.if defined(WITH_CGC)
#ALL_TARGET= both
#INSTALL_TARGET= install-both
#PLIST_SUB+= CGC=""
#.else
#PLIST_SUB+= CGC="@comment "
#.endif
.if ${ARCH} == "amd64"
CPPFLAGS+= -DLONG64
.endif

View File

@ -1,3 +1,3 @@
MD5 (plt-scheme/4.2.4/plt-4.2.4-src-unix.tgz) = 7a21fcb5b565b8c352aa22e1698eb05b
SHA256 (plt-scheme/4.2.4/plt-4.2.4-src-unix.tgz) = cf34e2dcead02284d8db427b86edcabc9f54d3d08452352a1e57870a665a5f15
SIZE (plt-scheme/4.2.4/plt-4.2.4-src-unix.tgz) = 16081145
MD5 (racket/5.0/racket-5.0-src-unix.tgz) = 369af9d3728ab636e8234d8ee039658c
SHA256 (racket/5.0/racket-5.0-src-unix.tgz) = 5d4ecfa79b781ebb061d9f7c72104053d537f2f3411fbeda5682957118d6878b
SIZE (racket/5.0/racket-5.0-src-unix.tgz) = 16661627

View File

@ -1,26 +0,0 @@
--- ../mzscheme/src/number.c.orig 2008-05-07 23:15:18.000000000 +0200
+++ ../mzscheme/src/number.c 2008-06-27 08:07:23.000000000 +0200
@@ -52,6 +52,11 @@
# define MAX_SHIFT_EVER 32
#endif
+#include <sys/param.h>
+#include <fenv.h>
+#pragma STDC FENV_ACCESS ON
+
+
/* globals */
double scheme_infinity_val, scheme_minus_infinity_val;
@@ -152,7 +157,11 @@
MZ_SIGSET(SIGFPE, SIG_IGN);
#endif
#ifdef FREEBSD_CONTROL_387
+#if __FreeBSD_version < 800000
__fpsetreg(FP_MSKS_FLD, FP_MSKS_REG, FP_MSKS_FLD, FP_MSKS_OFF);
+#else
+ fedisableexcept(FE_ALL_EXCEPT);
+#endif
#endif
#ifdef LINUX_CONTROL_387
__setfpucw(_FPU_EXTENDED + _FPU_RC_NEAREST + 0x3F);

View File

@ -1,5 +1,5 @@
PLT-Scheme is a set of tools for writing and running the PLT scheme
programming language. It includes a graphical IDE (drscheme) that
Racket is a set of tools for writing and running the PLT scheme
programming language. It includes a graphical IDE (drracket) that
features highlighting of the source of syntax and run-time errors,
support for multiple language levels, an algebraic stepper, objects,
modules, a GUI library, TCP/IP, and much more. It includes an
@ -7,16 +7,4 @@ extensive, hyper-linked help system called Help Desk, available
from the Help menu, the plt-help command line tool, or through a
web browser.
mred is the interpreter/JIT compiler that includes the GUI toolkit.
drscheme is the GUI ide, and is a mred application.
mzscheme is a text-only variant that does not include the GUI toolkit.
swindle is a language variant that includes a CLOS-style object system.
mzc is a compilation manager that can produce stand-alone executable programs.
plt-r5rs and plt-r6rs are front ends for running standards-conforming
programms.
plt-web-server is a web server.
scribble, slatex and tex2page are text formatters.
slideshow is a presentation formatter.
sirmail is a mail user agent.
WWW: http://www.plt-scheme.org/
WWW: http://racket-lang.org/

File diff suppressed because it is too large Load Diff