2012-10-02 22:11:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2012/10/02 20:11:51 asau Exp $
|
2010-07-20 04:15:50 +02:00
|
|
|
|
Update to Racket 5.3
Changes in Racket 5.3
* Submodules are nested module declarations that can be loaded and
run independently from the enclosing module. For an overview of
submodules, see
http://blog.racket-lang.org/2012/06/submodules.html
* The futures visualizer is a graphical profiling tool for parallel
programs using futures. The tool shows a detailed execution
timeline depicting the migration of futures between threads, and
gives detailed information about each runtime synchronization that
occurred during program execution. In addition, `would-be-future'
is a special type of future that always executes sequentially and
records all potential barricades a regular future would encounter.
* Optimization Coach (formerly Performance Report) reports
information about Racket's inlining optimizations. Optimization
Coach can be launched in any language through the View menu.
* The new `images/flomap' library defines floating-point bitmaps and
fast image processing operations on them. It is written in Typed
Racket, so Typed Racket code may use it without the cost of
contract checks.
* The new `json' library supports parsing and generating JSON.
(Originally based on Dave Herman's planet library.)
* `racket/string' is extended with a set of simplified string
manipulation functions that are more convenient than using
regexps. `regexp-match*' and friends can now be used with new
keyword arguments to return specific matched regexp group/s and
gaps between matches.
* The new `racket/generic' library allows generic function
definitions, which dispatch to methods added to a structure type
via the new `#:methods' keyword.
* The `class' form supports declaring a method abstract. An
abstract method prevents a class from being instantiated unless it
is overridden.
* The contract library comes with support for interfaces, generics,
prompts, continuation-marks, and structs.
* Most error messages use a new multi-line format that is more
consistent with contract errors and accommodates more information.
* Typed Racket supports function definitions with keyword arguments;
the startup time of Typed Racket programs has been sharply
reduced.
* The new `ffi/com' library replaces MysterX; a compatibility
`mysterx' library remains, but without ActiveX support. The new
`ffi/unsafe/com' library offers a more primitive and direct way to
use COM classes and methods.
* There is now a very complete completion code for zsh. It is not
included in the distribution though; get it at http://goo.gl/DU8JK
(This script and the bash completions will be included in the
standard installers in future versions.)
--- DEPRECATION ----------------------------------------------------
Effective this release:
- The `tex2page' and `combinator-parser' libraries have been moved
from the Racket distribution to PLaneT:
(require (planet plt/tex2page))
(require (planet plt/combinator-parser))
The following has been deprecated and will be removed in the
January 2013 release:
- the `planet' command-line tool; use `raco planet' instead.
The following has been deprecated and will be removed in the
August 2013 release:
- the `mzlib/class100' library; use `racket/class' instead.
2012-08-08 08:55:32 +02:00
|
|
|
PKGNAME= racket-textual-5.3
|
2012-09-15 15:36:17 +02:00
|
|
|
PKGREVISION= 1
|
2012-09-24 13:18:38 +02:00
|
|
|
DISTNAME= $(PKGNAME_NOREV)-src-unix
|
2010-07-20 04:15:50 +02:00
|
|
|
CATEGORIES= lang
|
2010-08-10 12:32:45 +02:00
|
|
|
MASTER_SITES_PLT= http://download.racket-lang.org/installers/$(PKGVERSION_NOREV)/ \
|
|
|
|
http://www.eecs.northwestern.edu/racket/$(PKGVERSION_NOREV)/ \
|
|
|
|
http://www.cs.utah.edu/plt/installers/$(PKGVERSION_NOREV)/ \
|
|
|
|
http://mirror.informatik.uni-tuebingen.de/mirror/racket/$(PKGVERSION_NOREV)/ \
|
|
|
|
ftp://infogroep.be/pub/racket/installers/$(PKGVERSION_NOREV)/ \
|
|
|
|
http://russell.cs.bilgi.edu.tr/racket-installers/$(PKGVERSION_NOREV)/
|
2012-09-24 13:18:38 +02:00
|
|
|
MASTER_SITES= $(MASTER_SITES_PLT:=racket-textual/)
|
2010-07-20 04:15:50 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= asau@inbox.ru
|
|
|
|
HOMEPAGE= http://racket-lang.org/
|
|
|
|
COMMENT= Scheme-based dialect of Lisp
|
|
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
|
2010-07-20 05:12:18 +02:00
|
|
|
CONFLICTS+= drscheme-[0-9]* mzscheme-[0-9]* racket-[0-9]*
|
|
|
|
|
2012-09-24 13:18:38 +02:00
|
|
|
PATCHDIR= $(.CURDIR)/../../lang/racket/patches
|
Update to Racket 5.2.1
Changes in Racket 5.2.1
* Performance improvements include the use of epoll()/kqueue()
instead of select() for the Racket thread scheduler, cross-module
inlining of small functions, and the use of SSE instead of x87 for
JIT-compiled floating-point operations on platforms where SSE is
always available (including x86_64 platforms). A related change
is the interning of literal numbers, strings, byte strings,
characters, and regexps that appear in code and syntax objects.
* DrRacket uses a set of composable ray-traced icons available from
the new `images' library collection.
* Typed Racket's `typecheck-fail' form allows macro creators to
customize the error messages that Typed Racket produces. This is
especially useful when creating pattern matching macros.
* The performance of Redex's matcher has been substantially
improved; depending on the model you should see improvements
between 2x and 50x in the time it takes to reduce terms.
* Plots look nicer and are more correct at very small and very large
scales. New features include customizable dual axis ticks and
transforms (e.g., log axes, date and currency ticks, axis interval
collapse and stretch), stacked histograms, and 3D vector fields.
The legacy `fit' function and libfit have been removed.
* The `2htdp/universe' library's `big-bang' form supports an
experimental game pad key handler.
* The `db' library now supports nested transactions and PostgreSQL
arrays. Bugs involving MySQL authentication and memory corruption
in the SQLite bindings have been fixed.
* The Macro Stepper tool in DrRacket no longer executes a program
after expanding it.
* In the DMdA teaching languages, infinite recursive signatures
("streams", for example) with no intervening `mixed' are now
supported, and the signatures of record definitions without fields
now have generators for use with `property'.
* MysterX's ActiveX support is deprecated and will be removed in the
next release. MysterX's core COM functionality will become
deprecated in the next release, but COM functionality will be
supported for the foreseeable future as a compatibility layer over
a forthcoming `ffi/com' library.
2012-02-03 22:34:06 +01:00
|
|
|
|
2012-09-24 13:18:38 +02:00
|
|
|
WRKSRC= $(WRKDIR)/$(PKGNAME_NOREV)
|
2010-07-20 04:15:50 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_DIRS= src
|
Update to Racket 5.2.1
Changes in Racket 5.2.1
* Performance improvements include the use of epoll()/kqueue()
instead of select() for the Racket thread scheduler, cross-module
inlining of small functions, and the use of SSE instead of x87 for
JIT-compiled floating-point operations on platforms where SSE is
always available (including x86_64 platforms). A related change
is the interning of literal numbers, strings, byte strings,
characters, and regexps that appear in code and syntax objects.
* DrRacket uses a set of composable ray-traced icons available from
the new `images' library collection.
* Typed Racket's `typecheck-fail' form allows macro creators to
customize the error messages that Typed Racket produces. This is
especially useful when creating pattern matching macros.
* The performance of Redex's matcher has been substantially
improved; depending on the model you should see improvements
between 2x and 50x in the time it takes to reduce terms.
* Plots look nicer and are more correct at very small and very large
scales. New features include customizable dual axis ticks and
transforms (e.g., log axes, date and currency ticks, axis interval
collapse and stretch), stacked histograms, and 3D vector fields.
The legacy `fit' function and libfit have been removed.
* The `2htdp/universe' library's `big-bang' form supports an
experimental game pad key handler.
* The `db' library now supports nested transactions and PostgreSQL
arrays. Bugs involving MySQL authentication and memory corruption
in the SQLite bindings have been fixed.
* The Macro Stepper tool in DrRacket no longer executes a program
after expanding it.
* In the DMdA teaching languages, infinite recursive signatures
("streams", for example) with no intervening `mixed' are now
supported, and the signatures of record definitions without fields
now have generators for use with `property'.
* MysterX's ActiveX support is deprecated and will be removed in the
next release. MysterX's core COM functionality will become
deprecated in the next release, but COM functionality will be
supported for the foreseeable future as a compatibility layer over
a forthcoming `ffi/com' library.
2012-02-03 22:34:06 +01:00
|
|
|
CONFIGURE_ARGS= --enable-pthread
|
2010-07-20 04:15:50 +02:00
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
UNLIMIT_RESOURCES= datasize
|
|
|
|
|
2012-09-15 15:36:17 +02:00
|
|
|
LDFLAGS.DragonFly+= -rdynamic
|
|
|
|
|
Update to Racket 5.2.1
Changes in Racket 5.2.1
* Performance improvements include the use of epoll()/kqueue()
instead of select() for the Racket thread scheduler, cross-module
inlining of small functions, and the use of SSE instead of x87 for
JIT-compiled floating-point operations on platforms where SSE is
always available (including x86_64 platforms). A related change
is the interning of literal numbers, strings, byte strings,
characters, and regexps that appear in code and syntax objects.
* DrRacket uses a set of composable ray-traced icons available from
the new `images' library collection.
* Typed Racket's `typecheck-fail' form allows macro creators to
customize the error messages that Typed Racket produces. This is
especially useful when creating pattern matching macros.
* The performance of Redex's matcher has been substantially
improved; depending on the model you should see improvements
between 2x and 50x in the time it takes to reduce terms.
* Plots look nicer and are more correct at very small and very large
scales. New features include customizable dual axis ticks and
transforms (e.g., log axes, date and currency ticks, axis interval
collapse and stretch), stacked histograms, and 3D vector fields.
The legacy `fit' function and libfit have been removed.
* The `2htdp/universe' library's `big-bang' form supports an
experimental game pad key handler.
* The `db' library now supports nested transactions and PostgreSQL
arrays. Bugs involving MySQL authentication and memory corruption
in the SQLite bindings have been fixed.
* The Macro Stepper tool in DrRacket no longer executes a program
after expanding it.
* In the DMdA teaching languages, infinite recursive signatures
("streams", for example) with no intervening `mixed' are now
supported, and the signatures of record definitions without fields
now have generators for use with `property'.
* MysterX's ActiveX support is deprecated and will be removed in the
next release. MysterX's core COM functionality will become
deprecated in the next release, but COM functionality will be
supported for the foreseeable future as a compatibility layer over
a forthcoming `ffi/com' library.
2012-02-03 22:34:06 +01:00
|
|
|
CHECK_INTERPRETER_SKIP= lib/racket/collects/meta/build/sitemap/setup.py \
|
|
|
|
lib/racket/collects/meta/build/sitemap/sitemap_gen.py \
|
|
|
|
lib/racket/collects/meta/build/sitemap/test_sitemap_gen.py
|
|
|
|
|
|
|
|
CHECK_INTERPRETER_SKIP+= lib/racket/collects/tests/jpr/mon-script.ss
|
|
|
|
|
|
|
|
.for f in use-c-printf.rkt use-crypt.rkt use-esd.rkt use-magick.rkt use-sndfile.rkt use-tcl.rkt use-xmmsctrl.rkt use-xosd.rkt
|
2012-09-24 13:18:38 +02:00
|
|
|
REPLACE_RACKET+= collects/ffi/examples/$f
|
Update to Racket 5.2.1
Changes in Racket 5.2.1
* Performance improvements include the use of epoll()/kqueue()
instead of select() for the Racket thread scheduler, cross-module
inlining of small functions, and the use of SSE instead of x87 for
JIT-compiled floating-point operations on platforms where SSE is
always available (including x86_64 platforms). A related change
is the interning of literal numbers, strings, byte strings,
characters, and regexps that appear in code and syntax objects.
* DrRacket uses a set of composable ray-traced icons available from
the new `images' library collection.
* Typed Racket's `typecheck-fail' form allows macro creators to
customize the error messages that Typed Racket produces. This is
especially useful when creating pattern matching macros.
* The performance of Redex's matcher has been substantially
improved; depending on the model you should see improvements
between 2x and 50x in the time it takes to reduce terms.
* Plots look nicer and are more correct at very small and very large
scales. New features include customizable dual axis ticks and
transforms (e.g., log axes, date and currency ticks, axis interval
collapse and stretch), stacked histograms, and 3D vector fields.
The legacy `fit' function and libfit have been removed.
* The `2htdp/universe' library's `big-bang' form supports an
experimental game pad key handler.
* The `db' library now supports nested transactions and PostgreSQL
arrays. Bugs involving MySQL authentication and memory corruption
in the SQLite bindings have been fixed.
* The Macro Stepper tool in DrRacket no longer executes a program
after expanding it.
* In the DMdA teaching languages, infinite recursive signatures
("streams", for example) with no intervening `mixed' are now
supported, and the signatures of record definitions without fields
now have generators for use with `property'.
* MysterX's ActiveX support is deprecated and will be removed in the
next release. MysterX's core COM functionality will become
deprecated in the next release, but COM functionality will be
supported for the foreseeable future as a compatibility layer over
a forthcoming `ffi/com' library.
2012-02-03 22:34:06 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
REPLACE_INTERPRETER+= racket
|
|
|
|
REPLACE.racket.old= .*racket
|
2012-09-24 22:52:23 +02:00
|
|
|
REPLACE.racket.new= $(LOCALBASE)/bin/racket
|
2012-09-24 13:18:38 +02:00
|
|
|
REPLACE_FILES.racket= $(REPLACE_RACKET)
|
Update to Racket 5.2.1
Changes in Racket 5.2.1
* Performance improvements include the use of epoll()/kqueue()
instead of select() for the Racket thread scheduler, cross-module
inlining of small functions, and the use of SSE instead of x87 for
JIT-compiled floating-point operations on platforms where SSE is
always available (including x86_64 platforms). A related change
is the interning of literal numbers, strings, byte strings,
characters, and regexps that appear in code and syntax objects.
* DrRacket uses a set of composable ray-traced icons available from
the new `images' library collection.
* Typed Racket's `typecheck-fail' form allows macro creators to
customize the error messages that Typed Racket produces. This is
especially useful when creating pattern matching macros.
* The performance of Redex's matcher has been substantially
improved; depending on the model you should see improvements
between 2x and 50x in the time it takes to reduce terms.
* Plots look nicer and are more correct at very small and very large
scales. New features include customizable dual axis ticks and
transforms (e.g., log axes, date and currency ticks, axis interval
collapse and stretch), stacked histograms, and 3D vector fields.
The legacy `fit' function and libfit have been removed.
* The `2htdp/universe' library's `big-bang' form supports an
experimental game pad key handler.
* The `db' library now supports nested transactions and PostgreSQL
arrays. Bugs involving MySQL authentication and memory corruption
in the SQLite bindings have been fixed.
* The Macro Stepper tool in DrRacket no longer executes a program
after expanding it.
* In the DMdA teaching languages, infinite recursive signatures
("streams", for example) with no intervening `mixed' are now
supported, and the signatures of record definitions without fields
now have generators for use with `property'.
* MysterX's ActiveX support is deprecated and will be removed in the
next release. MysterX's core COM functionality will become
deprecated in the next release, but COM functionality will be
supported for the foreseeable future as a compatibility layer over
a forthcoming `ffi/com' library.
2012-02-03 22:34:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
PTHREAD_AUTO_VARS= yes
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2010-07-20 04:15:50 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|