[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / racket-textual

File: [cvs.NetBSD.org] / pkgsrc / lang / racket-textual / Makefile (download)

Revision 1.23, Wed Aug 5 21:14:29 2015 UTC (4 years, 5 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.22: +2 -2 lines

Update to Racket 6.1.1


Changes:

* The MAC OS X YOSEMITE compatibility problems are fixed. We
  bundled a patched Pango text-drawing library with Racket.

* The WINDOWS [32-bit] releases fixes the window-update crashes.
  We bundled a patched Cairo drawing library with Racket.

* TYPED RACKET closes two safety holes in the exception system.
  The revised type system restricts `raise' to send only
  instances of the `exn' structure type and flat data to
  handlers. It also checks exception handlers properly.
  NOTE: Previously well-typed programs may fail to typecheck.

* TYPED RACKET'S typed regions support casts and predicates.

* 2HTDP/IMAGE'S notion of equality ignores an image's baseline.

* The PACKAGE MANAGER supports a binary library installation mode,
  which allows users to install packages without source or
  documentation.  Use the `--binary-lib' option with `raco pkg
  install'.

* The new DRRACKET-TOOL-LIB package factors out parts of DrRacket's
  IDE so that they can be reused with other editors, such as Emacs.

* The COMPILER'S use-before-defined analysis has been repaired for
  certain forms of nested `letrec', some `let' forms, and some
  uses of `set!' or `with-continuation-mark'.

* The COMPILER performs additional bytecode optimizations.
  Thanks to Gustavo Massaccesi.

* The CML library comes with a new `replace-evt' event constructor.
  Thanks to Jan Dvorak.

* REDEX'S benchmark suite comes with a description of the benchmark
  programs.

* REDEX'S metafunctions can be typeset using the "large left brace"
  notation for conditionals.

* The CONTRACT library comes with an improved `contract-stronger?'.
  Its error messages note that the contract itself might be wrong.

* The GUI library is DPI-aware on Windows.

* The OPENSSL library supports Server Name Indication for servers.
  Thanks to Jay Kominek.

* The SYNTAX/PARSE library allows the definition of new pattern
  forms via pattern expanders, similar to match expanders.
  Thanks to Alex Knauth.

* OpenGL on Linux no longer depends on libgtkgl, and core profiles
  are supported (see `set-legacy?').

* The TEACHING LANGUAGES' unit test framework supports
  `check-satisfied', a construct for checking whether a result
  satisfies a predicate, e.g.: (check-satisfied (sort l) sorted?)

# $NetBSD: Makefile,v 1.23 2015/08/05 21:14:29 asau Exp $

PKGNAME=	racket-minimal-6.2
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)/ \
		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)/
MASTER_SITES=	$(MASTER_SITES_PLT)
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-[0-9]*

PATCHDIR=	$(.CURDIR)/../../lang/racket/patches

WRKSRC=		$(WRKDIR)/racket-$(PKGVERSION_NOREV)

GNU_CONFIGURE=	yes
CONFIGURE_DIRS=	src
CONFIGURE_ARGS=	--enable-pthread
USE_LANGUAGES=	c c++
MAKE_JOBS_SAFE=	no
UNLIMIT_RESOURCES=	datasize
OVERRIDE_DIRDEPTH=	3

LDFLAGS.DragonFly+=	-rdynamic

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
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

PTHREAD_AUTO_VARS=	yes
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"