summaryrefslogtreecommitdiff
path: root/lang/racket/Makefile
diff options
context:
space:
mode:
authorasau <asau>2014-06-15 09:35:28 +0000
committerasau <asau>2014-06-15 09:35:28 +0000
commit933d999dd7c6f0817b5c6afe69e6fec067d2ed08 (patch)
tree7762b59c39ba0b88dc3f06fbdb9a4591b614a6eb /lang/racket/Makefile
parentdb72bae8ab533acbc9643c252964154ad1d79f29 (diff)
downloadpkgsrc-933d999dd7c6f0817b5c6afe69e6fec067d2ed08.tar.gz
Update to Racket 6.0.1
Changes in version 6.0.1 * A new `racket/undefined` library exports `undefined` as the value currently produced by (letrec ([x x]) x) This library anticipates a future where that expression will raise an exception. The `racket/undefined` library will continue to offer the `undefined` value as a bridge between versions and as a last resort. * The drawing and GUI libraries provide improved support for high-resolution bitmaps and their use on Retina displays. For example, `read-bitmap` includes a `#:try-@2x?` option to trigger substitutions through the usual "@2x" naming convention. * Check Syntax cooperates with Typed Racket to show arrows and other Check Syntax highlighting even when there is a type error. * Functions provided via contract-out that have first-order contracts perform better. * The contract boundary between typed/untyped modules is much less expensive. Typed Racket now avoids generating contracts for places where contracts failures cannot happen. * Occurrence typing now works better with when/unless. Example: (let ((x (read))) (unless (number? x) (error 'bad-input)) (add1 x)) * Types in Typed Racket are now pretty-printed. * Function types can now be written in prefix style, which is now preferred and is used for printing. Infix function types are still accepted for backwards compatibility. * A new `->*' type constructor is used for writing types for functions with optional and keyword arguments. The notation is similar to the matching contract combinator. * Typed Racket forms do not have a `:' suffix by default now. For example, the `struct' form replaces `struct:'. The suffixed versions are all provided for backwards compatibility. * Typed Racket now has preliminary support for classes and objects. However, it is still experimental and the APIs are subject to change. * Type aliases in Typed Racket now support recursion and mutual recursion. For example, `(define-type (MyList X) (U Null (Pair X (MyList X))))' is now a valid type alias. * Plot correctly renders intersecting 3D graphs and non-grid-aligned 3D rectangles. * Elements in plots output in PDF/PS format have the same relative scale as in other formats. In particular, it is not necessary to adjust `plot-font-size` to make PDF plots look the same as PNG. Changes in version 6.0 Racket 6.0 has a new package system, including a catalog of hundreds of already-available packages. Please visit http://pkgs.racket-lang.org/ for an overview of the packages. Racket versions 5.3.4 through 5.3.6 included "beta" versions of the package system. Racket version 6.0 incorporates many improvements suggested by preliminary experiences in those versions: * A package is treated as a single collection by default, so it is even easier to use a GitHub repository as a package. Get started quickly: http://docs.racket-lang.org/pkg/getting-started.html * DrRacket includes a new package manager GUI, available via the File|Package Manager ... menu item. The GUI is also available as a stand-alone program via the "gui-pkg-manager" package. * The main Racket distribution has been separated into about 200 packages. The Racket installer combines the core system with bundled versions of these packages. Alternatively, you may now install a Minimal Racket distribution --- which is about 1/10 the size of the main distribution --- and add only those packages that you need. * Package installation supports pre-built packages that include compiled byte code and rendered documentation, meaning packages can be installed quickly when built versions are available. All packages in the main distribution are available in pre-built form. The recent 5.92 and 5.93 releases served as release candidates for 6.0, and 6.0 includes a few additional repairs related to the package system. Further improvements to the package system are in the works, notably including package documentation on the package-catalog web site. COMPATIBILITY NOTE: PLaneT, the previous Racket package system, will remain in place for the foreseeable future, but we expect all package work to shift to the new system. Beyond the package system, this release brings a number of other changes: * Racket's HTML documentation has a new and improved look, thanks to Matthew Butterick. * The documentation includes a style guide, "How to Program Racket" http://docs.racket-lang.org/style/ * Racket's JIT compiler supports the ARM architecture. * Racket supports the Mac's Retina display mode. * The performance of the Typed Racket compiler improved by 50% on some typed programs. * The profiler provides a new mode that uses the errortrace library to produce fine-grained profiles. * A new contract profiler reports how much time programs spend checking contracts, and which contracts are most expensive. * The math/flonum library exports fast 105-bit precision operations. * Check Syntax handles generated identifiers, especially those introduced by struct (e.g. field selectors) and Redex (e.g., e_1, e_2) * 2htdp/batch-io includes functions for dealing with html/xml in files and web sites as X-expressions plus conveniences for web-based graph traversals. * The `gen:set' generic interface extends set operations to work on user-defined types that implement set methods, as well as on other set-like built-in types, such as lists. * Picts support conversion to SVG format. * Under unix, Racket provides desktop entries (.desktop files) for its graphical executables.
Diffstat (limited to 'lang/racket/Makefile')
-rw-r--r--lang/racket/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/lang/racket/Makefile b/lang/racket/Makefile
index 18a66924b54..19de8cc7bf9 100644
--- a/lang/racket/Makefile
+++ b/lang/racket/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.36 2014/05/05 19:57:12 szptvlfn Exp $
+# $NetBSD: Makefile,v 1.37 2014/06/15 09:35:28 asau Exp $
-PKGNAME= racket-5.3.6
-DISTNAME= $(PKGNAME_NOREV)-src-unix
-PKGREVISION= 4
+PKGNAME= racket-6.0.1
+DISTNAME= $(PKGNAME_NOREV)-src
CATEGORIES= lang
MASTER_SITES_PLT= http://download.racket-lang.org/installers/$(PKGVERSION_NOREV)/ \
http://www.eecs.northwestern.edu/racket/$(PKGVERSION_NOREV)/ \
@@ -10,7 +9,7 @@ MASTER_SITES_PLT= http://download.racket-lang.org/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)/
-MASTER_SITES= ${MASTER_SITES_PLT:=racket/}
+MASTER_SITES= $(MASTER_SITES_PLT)
EXTRACT_SUFX= .tgz
MAINTAINER= asau@inbox.ru
@@ -44,7 +43,7 @@ CHECK_INTERPRETER_SKIP= lib/racket/collects/meta/build/sitemap/setup.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
-REPLACE_RACKET+= collects/ffi/examples/${f}
+REPLACE_RACKET+= share/pkgs/racket-doc/ffi/examples/${f}
.endfor
REPLACE_INTERPRETER+= racket
@@ -56,9 +55,6 @@ post-install:
$(RM) -f $(DESTDIR)$(PREFIX)/lib/racket/collects/racket/draw/unsafe/png.rkt.orig
$(RM) -f $(DESTDIR)$(PREFIX)/lib/racket/collects/racket/draw/unsafe/jpeg.rkt.orig
-do-test:
- $(RUN) cd $(WRKSRC)/collects/tests/racket && $(WRKSRC)/src/racket/racket3m -f quiet.rktl
-
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"