pkgsrc/lang/racket/Makefile

74 lines
2.4 KiB
Makefile
Raw Normal View History

2013-10-10 16:41:44 +02:00
# $NetBSD: Makefile,v 1.34 2013/10/10 14:42:20 ryoon Exp $
PKGNAME= racket-5.3.6
DISTNAME= $(PKGNAME_NOREV)-src-unix
2013-10-10 16:41:44 +02:00
PKGREVISION= 2
CATEGORIES= lang
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)/
2013-04-06 16:09:32 +02:00
MASTER_SITES= ${MASTER_SITES_PLT:=racket/}
EXTRACT_SUFX= .tgz
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://racket-lang.org/
COMMENT= Scheme-based dialect of Lisp
LICENSE= gnu-lgpl-v2
CONFLICTS+= drscheme-[0-9]* mzscheme-[0-9]* racket-textual-[0-9]*
WRKSRC= $(WRKDIR)/$(PKGNAME_NOREV)
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
USE_LANGUAGES= c c++
Update to Racket 5.1.1 Changes in version 5.1.1, May 2011: Enabled single-precision floats by default Added single-flonum? Changed eqv? so that inexacts are equivalent only when they have the same precision Changed file-or-directory-permission to add 'bits mode and permission-setting mode Added special treatment of void as an 'inferred-name property Removed the "MrEd" compatability executable under Windows and Mac OS X, but the "mred" compatibility script remains racket/gui: added multi-column support to list-box% racket/gui: added scrollbar support to panel%, vertical-panel%, and horizontal-panel% racket/gui: added 'wheel-left and 'wheel-right events racket/file: add user-read-bit, etc. racket/contract: removed some (undocumented) exports. Changes in version 5.1, February 2011 Renamed "proxy" to "impersonator" Added current-get-interaction-input-port, which enables racket/gui events to be dispatched while a REPL is blocked Changed equal? to equate C pointers when they refer to the same address Internal: weak boxes are cleared before non-will-like finalizers; use late-weak boxes to get the old behavior Changes in version 5.0.2, October 2010 Changed body of `when', `unless', `cond' clauses, `case' clauses, and `match' clauses to be internal-definition contexts Swapped unsafe-vector*-ref with unsafe-vector-ref, etc. Added ->i to the contract library, improved ->*, adding #:pre and #:post, as well as making the optional arguments clause optional. Added #true and #false, and changed #t/#T and #f/#F to require a delimiter afterward Added print-boolean-long-form Added read-accept-lang, which is set to #t when reading a module Added flonum? Changed continuation-marks to accept a #f argument to produce an empty set of marks Added fxvectors Added unsafe-{s,u}16-{ref,set!} Added prop:proxy-of Added proxies to go with chaperones, and renamed chaperone property as proxy property; beware that the word "proxy" will change in a future version, perhaps to "impersonator" Added collection-file-path and collection splicing at the file level
2011-08-01 13:45:42 +02:00
USE_TOOLS= pkg-config
MAKE_JOBS_SAFE= no
UNLIMIT_RESOURCES= datasize
LDFLAGS.DragonFly+= -rdynamic
REPLACE_SH= collects/tests/framework/framework-test
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= collects/meta/build/sitemap/setup.py \
collects/meta/build/sitemap/test_sitemap_gen.py
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
Update to Racket 5.1.1 Changes in version 5.1.1, May 2011: Enabled single-precision floats by default Added single-flonum? Changed eqv? so that inexacts are equivalent only when they have the same precision Changed file-or-directory-permission to add 'bits mode and permission-setting mode Added special treatment of void as an 'inferred-name property Removed the "MrEd" compatability executable under Windows and Mac OS X, but the "mred" compatibility script remains racket/gui: added multi-column support to list-box% racket/gui: added scrollbar support to panel%, vertical-panel%, and horizontal-panel% racket/gui: added 'wheel-left and 'wheel-right events racket/file: add user-read-bit, etc. racket/contract: removed some (undocumented) exports. Changes in version 5.1, February 2011 Renamed "proxy" to "impersonator" Added current-get-interaction-input-port, which enables racket/gui events to be dispatched while a REPL is blocked Changed equal? to equate C pointers when they refer to the same address Internal: weak boxes are cleared before non-will-like finalizers; use late-weak boxes to get the old behavior Changes in version 5.0.2, October 2010 Changed body of `when', `unless', `cond' clauses, `case' clauses, and `match' clauses to be internal-definition contexts Swapped unsafe-vector*-ref with unsafe-vector-ref, etc. Added ->i to the contract library, improved ->*, adding #:pre and #:post, as well as making the optional arguments clause optional. Added #true and #false, and changed #t/#T and #f/#F to require a delimiter afterward Added print-boolean-long-form Added read-accept-lang, which is set to #t when reading a module Added flonum? Changed continuation-marks to accept a #f argument to produce an empty set of marks Added fxvectors Added unsafe-{s,u}16-{ref,set!} Added prop:proxy-of Added proxies to go with chaperones, and renamed chaperone property as proxy property; beware that the word "proxy" will change in a future version, perhaps to "impersonator" Added collection-file-path and collection splicing at the file level
2011-08-01 13:45:42 +02:00
.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}
.endfor
REPLACE_INTERPRETER+= racket
REPLACE.racket.old= .*racket
REPLACE.racket.new= $(LOCALBASE)/bin/racket
REPLACE_FILES.racket= $(REPLACE_RACKET)
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
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
do-test:
$(RUN) cd $(WRKSRC)/collects/tests/racket && $(WRKSRC)/src/racket/racket3m -f quiet.rktl
Update to Racket 5.1.1 Changes in version 5.1.1, May 2011: Enabled single-precision floats by default Added single-flonum? Changed eqv? so that inexacts are equivalent only when they have the same precision Changed file-or-directory-permission to add 'bits mode and permission-setting mode Added special treatment of void as an 'inferred-name property Removed the "MrEd" compatability executable under Windows and Mac OS X, but the "mred" compatibility script remains racket/gui: added multi-column support to list-box% racket/gui: added scrollbar support to panel%, vertical-panel%, and horizontal-panel% racket/gui: added 'wheel-left and 'wheel-right events racket/file: add user-read-bit, etc. racket/contract: removed some (undocumented) exports. Changes in version 5.1, February 2011 Renamed "proxy" to "impersonator" Added current-get-interaction-input-port, which enables racket/gui events to be dispatched while a REPL is blocked Changed equal? to equate C pointers when they refer to the same address Internal: weak boxes are cleared before non-will-like finalizers; use late-weak boxes to get the old behavior Changes in version 5.0.2, October 2010 Changed body of `when', `unless', `cond' clauses, `case' clauses, and `match' clauses to be internal-definition contexts Swapped unsafe-vector*-ref with unsafe-vector-ref, etc. Added ->i to the contract library, improved ->*, adding #:pre and #:post, as well as making the optional arguments clause optional. Added #true and #false, and changed #t/#T and #f/#F to require a delimiter afterward Added print-boolean-long-form Added read-accept-lang, which is set to #t when reading a module Added flonum? Changed continuation-marks to accept a #f argument to produce an empty set of marks Added fxvectors Added unsafe-{s,u}16-{ref,set!} Added prop:proxy-of Added proxies to go with chaperones, and renamed chaperone property as proxy property; beware that the word "proxy" will change in a future version, perhaps to "impersonator" Added collection-file-path and collection splicing at the file level
2011-08-01 13:45:42 +02:00
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
Update to Racket 5.1.1 Changes in version 5.1.1, May 2011: Enabled single-precision floats by default Added single-flonum? Changed eqv? so that inexacts are equivalent only when they have the same precision Changed file-or-directory-permission to add 'bits mode and permission-setting mode Added special treatment of void as an 'inferred-name property Removed the "MrEd" compatability executable under Windows and Mac OS X, but the "mred" compatibility script remains racket/gui: added multi-column support to list-box% racket/gui: added scrollbar support to panel%, vertical-panel%, and horizontal-panel% racket/gui: added 'wheel-left and 'wheel-right events racket/file: add user-read-bit, etc. racket/contract: removed some (undocumented) exports. Changes in version 5.1, February 2011 Renamed "proxy" to "impersonator" Added current-get-interaction-input-port, which enables racket/gui events to be dispatched while a REPL is blocked Changed equal? to equate C pointers when they refer to the same address Internal: weak boxes are cleared before non-will-like finalizers; use late-weak boxes to get the old behavior Changes in version 5.0.2, October 2010 Changed body of `when', `unless', `cond' clauses, `case' clauses, and `match' clauses to be internal-definition contexts Swapped unsafe-vector*-ref with unsafe-vector-ref, etc. Added ->i to the contract library, improved ->*, adding #:pre and #:post, as well as making the optional arguments clause optional. Added #true and #false, and changed #t/#T and #f/#F to require a delimiter afterward Added print-boolean-long-form Added read-accept-lang, which is set to #t when reading a module Added flonum? Changed continuation-marks to accept a #f argument to produce an empty set of marks Added fxvectors Added unsafe-{s,u}16-{ref,set!} Added prop:proxy-of Added proxies to go with chaperones, and renamed chaperone property as proxy property; beware that the word "proxy" will change in a future version, perhaps to "impersonator" Added collection-file-path and collection splicing at the file level
2011-08-01 13:45:42 +02:00
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
Update to Racket 5.1.1 Changes in version 5.1.1, May 2011: Enabled single-precision floats by default Added single-flonum? Changed eqv? so that inexacts are equivalent only when they have the same precision Changed file-or-directory-permission to add 'bits mode and permission-setting mode Added special treatment of void as an 'inferred-name property Removed the "MrEd" compatability executable under Windows and Mac OS X, but the "mred" compatibility script remains racket/gui: added multi-column support to list-box% racket/gui: added scrollbar support to panel%, vertical-panel%, and horizontal-panel% racket/gui: added 'wheel-left and 'wheel-right events racket/file: add user-read-bit, etc. racket/contract: removed some (undocumented) exports. Changes in version 5.1, February 2011 Renamed "proxy" to "impersonator" Added current-get-interaction-input-port, which enables racket/gui events to be dispatched while a REPL is blocked Changed equal? to equate C pointers when they refer to the same address Internal: weak boxes are cleared before non-will-like finalizers; use late-weak boxes to get the old behavior Changes in version 5.0.2, October 2010 Changed body of `when', `unless', `cond' clauses, `case' clauses, and `match' clauses to be internal-definition contexts Swapped unsafe-vector*-ref with unsafe-vector-ref, etc. Added ->i to the contract library, improved ->*, adding #:pre and #:post, as well as making the optional arguments clause optional. Added #true and #false, and changed #t/#T and #f/#F to require a delimiter afterward Added print-boolean-long-form Added read-accept-lang, which is set to #t when reading a module Added flonum? Changed continuation-marks to accept a #f argument to produce an empty set of marks Added fxvectors Added unsafe-{s,u}16-{ref,set!} Added prop:proxy-of Added proxies to go with chaperones, and renamed chaperone property as proxy property; beware that the word "proxy" will change in a future version, perhaps to "impersonator" Added collection-file-path and collection splicing at the file level
2011-08-01 13:45:42 +02:00
PTHREAD_AUTO_VARS= yes
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"