head	1.26;
access;
symbols
	pkgsrc-2013Q2:1.26.0.8
	pkgsrc-2013Q2-base:1.26
	pkgsrc-2012Q4:1.26.0.6
	pkgsrc-2012Q4-base:1.26
	pkgsrc-2011Q4:1.26.0.4
	pkgsrc-2011Q4-base:1.26
	pkgsrc-2011Q2:1.26.0.2
	pkgsrc-2011Q2-base:1.26
	pkgsrc-2010Q2:1.25.0.4
	pkgsrc-2010Q2-base:1.25
	pkgsrc-2010Q1:1.25.0.2
	pkgsrc-2010Q1-base:1.25
	pkgsrc-2009Q4:1.24.0.2
	pkgsrc-2009Q4-base:1.24
	pkgsrc-2009Q3:1.23.0.2
	pkgsrc-2009Q3-base:1.23
	pkgsrc-2009Q2:1.22.0.2
	pkgsrc-2009Q2-base:1.22
	pkgsrc-2009Q1:1.21.0.2
	pkgsrc-2009Q1-base:1.21
	pkgsrc-2008Q4:1.20.0.12
	pkgsrc-2008Q4-base:1.20
	pkgsrc-2008Q3:1.20.0.10
	pkgsrc-2008Q3-base:1.20
	cube-native-xorg:1.20.0.8
	cube-native-xorg-base:1.20
	pkgsrc-2008Q2:1.20.0.6
	pkgsrc-2008Q2-base:1.20
	cwrapper:1.20.0.4
	pkgsrc-2008Q1:1.20.0.2
	pkgsrc-2008Q1-base:1.20
	pkgsrc-2007Q4:1.19.0.4
	pkgsrc-2007Q4-base:1.19
	pkgsrc-2007Q3:1.19.0.2
	pkgsrc-2007Q3-base:1.19
	pkgsrc-2007Q2:1.18.0.2
	pkgsrc-2007Q2-base:1.18
	pkgsrc-2007Q1:1.17.0.4
	pkgsrc-2007Q1-base:1.17
	pkgsrc-2006Q4:1.17.0.2
	pkgsrc-2006Q4-base:1.17
	pkgsrc-2006Q3:1.16.0.8
	pkgsrc-2006Q3-base:1.16
	pkgsrc-2006Q2:1.16.0.6
	pkgsrc-2006Q2-base:1.16
	pkgsrc-2006Q1:1.16.0.4
	pkgsrc-2006Q1-base:1.16
	pkgsrc-2005Q4:1.16.0.2
	pkgsrc-2005Q4-base:1.16
	pkgsrc-2005Q3:1.15.0.2
	pkgsrc-2005Q3-base:1.15
	pkgsrc-2005Q2:1.14.0.2
	pkgsrc-2005Q2-base:1.14
	pkgsrc-2005Q1:1.12.0.10
	pkgsrc-2005Q1-base:1.12
	pkgsrc-2004Q4:1.12.0.8
	pkgsrc-2004Q4-base:1.12
	pkgsrc-2004Q3:1.12.0.6
	pkgsrc-2004Q3-base:1.12
	pkgsrc-2004Q2:1.12.0.4
	pkgsrc-2004Q2-base:1.12
	pkgsrc-2004Q1:1.12.0.2
	pkgsrc-2004Q1-base:1.12
	pkgsrc-2003Q4:1.10.0.2
	pkgsrc-2003Q4-base:1.10
	netbsd-1-6-1:1.6.0.2
	netbsd-1-6-1-base:1.6
	netbsd-1-6:1.2.0.8
	netbsd-1-6-RELEASE-base:1.2
	pkgviews:1.2.0.4
	pkgviews-base:1.2
	buildlink2:1.2.0.2
	buildlink2-base:1.2
	netbsd-1-5-PATCH003:1.2
	netbsd-1-5-PATCH001:1.2
	netbsd-1-5-RELEASE:1.1.1.1
	netbsd-1-4-PATCH003:1.1.1.1
	netbsd-1-4-PATCH002:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.26
date	2010.07.20.09.28.52;	author asau;	state dead;
branches;
next	1.25;

1.25
date	2010.01.31.20.24.38;	author asau;	state Exp;
branches;
next	1.24;

1.24
date	2009.10.11.13.10.43;	author asau;	state Exp;
branches;
next	1.23;

1.23
date	2009.08.23.17.04.24;	author asau;	state Exp;
branches;
next	1.22;

1.22
date	2009.05.21.09.29.12;	author wiz;	state Exp;
branches;
next	1.21;

1.21
date	2009.03.22.10.33.43;	author pooka;	state Exp;
branches;
next	1.20;

1.20
date	2008.01.23.01.53.06;	author rillig;	state Exp;
branches;
next	1.19;

1.19
date	2007.08.10.08.25.58;	author pooka;	state Exp;
branches;
next	1.18;

1.18
date	2007.06.07.13.01.34;	author pooka;	state Exp;
branches;
next	1.17;

1.17
date	2006.10.01.14.47.43;	author rillig;	state Exp;
branches;
next	1.16;

1.16
date	2005.12.05.20.50.26;	author rillig;	state Exp;
branches;
next	1.15;

1.15
date	2005.09.24.02.30.57;	author dmcmahill;	state Exp;
branches;
next	1.14;

1.14
date	2005.06.16.06.58.00;	author jlam;	state Exp;
branches;
next	1.13;

1.13
date	2005.05.16.03.04.45;	author jlam;	state Exp;
branches;
next	1.12;

1.12
date	2004.01.20.12.19.17;	author agc;	state Exp;
branches;
next	1.11;

1.11
date	2003.12.23.23.57.16;	author pooka;	state Exp;
branches;
next	1.10;

1.10
date	2003.10.24.20.34.44;	author kristerw;	state Exp;
branches;
next	1.9;

1.9
date	2003.09.18.12.48.35;	author yyamano;	state Exp;
branches;
next	1.8;

1.8
date	2003.07.17.21.44.57;	author grant;	state Exp;
branches;
next	1.7;

1.7
date	2003.03.29.12.41.27;	author jmmv;	state Exp;
branches;
next	1.6;

1.6
date	2002.09.11.18.46.31;	author joda;	state Exp;
branches;
next	1.5;

1.5
date	2002.09.11.14.12.45;	author joda;	state Exp;
branches;
next	1.4;

1.4
date	2002.09.11.14.07.38;	author joda;	state Exp;
branches;
next	1.3;

1.3
date	2002.08.27.16.42.05;	author pooka;	state Exp;
branches;
next	1.2;

1.2
date	2001.02.17.09.07.21;	author agc;	state Exp;
branches;
next	1.1;

1.1
date	2000.01.10.22.09.15;	author pooka;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.01.10.22.09.15;	author pooka;	state Exp;
branches;
next	;


desc
@@


1.26
log
@Really delete MzScheme, see lang/racket-textual for successor.
@
text
@# $NetBSD: Makefile,v 1.25 2010/01/31 20:24:38 asau Exp $

PLT_VERSION=		4.2.4
MASTER_SITES_PLT=	http://download.plt-scheme.org/bundles/ \
			http://www.eecs.northwestern.edu/plt-scheme/ \
			http://www.cs.utah.edu/plt/download/ \
			http://mirror.informatik.uni-tuebingen.de/mirror/plt/ \
			ftp://infogroep.be/pub/plt/bundles/ \
			http://gd.tuwien.ac.at/languages/scheme/plt/ \
			http://russell.cs.bilgi.edu.tr/plt-bundles/

DISTNAME=		mz-$(PLT_VERSION)-src-unix
PKGNAME=		mzscheme-$(PLT_VERSION)
CATEGORIES=		lang
MASTER_SITES=		$(MASTER_SITES_PLT:=$(PLT_VERSION)/mz/)
EXTRACT_SUFX=		.tgz

MAINTAINER=		pkgsrc-users@@NetBSD.org
HOMEPAGE=		http://plt-scheme.org/
COMMENT=		R5RS and R6RS compliant Scheme

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=			$(WRKDIR)/mz-$(PLT_VERSION)
GNU_CONFIGURE=		yes
CONFIGURE_DIRS=		src
USE_LANGUAGES=		c c++
USE_TOOLS=		pkg-config
USE_LIBTOOL=		yes
MAKE_JOBS_SAFE=		no
UNLIMIT_RESOURCES=	datasize

CHECK_INTERPRETER_SKIP=	include/plt/* lib/plt/collects/*

.include "../../mk/bsd.pkg.mk"
@


1.25
log
@Update to MzScheme 4.2.4

Changes:

Version 4.2.4, January 2010
Added scheme/flonum and scheme/fixnum
Extended scheme/unsafe/ops
Changed JIT to support unboxed local binding of known-flonum
 arguments to unsafe-fl functions
Changed JIT to inline numeric ops with more than 2 arguments
Added #:save-errno option for foreign-function types
Added module->imports and module->exports

Version 4.2.3, November 2009
Changed _pointer (in scheme/foreign) to mean a pointer that does not
 refer to GCable memory; added _gcpointer
Added scheme/vector
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2009/10/11 13:10:43 asau Exp $
@


1.24
log
@Update to MzScheme 4.2.2, changes since previous:
Added scheme/unsafe/ops
Added print-syntax-width
Added file-or-directory-identity
Inside: embedding applications should call scheme_seal_parameters
 after initializing parameter values (currently used by Planet)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2009/08/23 17:04:24 asau Exp $
d3 1
a3 1
PLT_VERSION=		4.2.2
@


1.23
log
@Update to MzScheme 4.2.1.  Numerous changes since previous version (360),
including support for new R6RS standard.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
PLT_VERSION=		4.2.1
@


1.22
log
@Alexey Lebedev reports that it builds fine on amd64 ubuntu, so allow it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2009/03/22 10:33:43 pooka Exp $
d3 11
a13 2
DISTNAME=		mz-360-src-unix
PKGNAME=		mzscheme-360
d15 1
a15 1
MASTER_SITES=		http://download.plt-scheme.org/bundles/360/mz/
d19 2
a20 2
HOMEPAGE=		http://www.plt-scheme.org/software/mzscheme/
COMMENT=		R5RS-compliant scheme
d22 1
a22 1
CONFLICTS+=		drscheme-[0-9]*
d24 1
a24 1
WRKSRC=			${WRKDIR}/mz-360
d27 2
a28 3
CONFIGURE_SCRIPT=	./configure
# causes the build to use libtool
CONFIGURE_ARGS=		--enable-shared
d31 1
d33 1
a33 21
ONLY_FOR_PLATFORM=	NetBSD-*-i386
ONLY_FOR_PLATFORM+=	Linux-*-i386
ONLY_FOR_PLATFORM+=	Linux-*-x86_64
ONLY_FOR_PLATFORM+=	SunOS-*-*

INSTALLATION_DIRS+=	${PREFIX}/share/doc/${PKGNAME}

SUBST_CLASSES+=		mz
SUBST_STAGE.mz=		pre-configure
SUBST_MESSAGE.mz=	Adjusting installation prefix.
SUBST_FILES.mz+=	collects/make/setup-extension.ss
SUBST_FILES.mz+=	collects/slibinit/init.ss
SUBST_FILES.mz+=	src/configure
SUBST_SED.mz=		-e 's@@XXXPREFIXXXX@@${PREFIX}@@g'
SUBST_SED.mz+=		-e 's@@XXXMZDOCDIRXXX@@${PREFIX}/share/doc/${PKGNAME}@@g'

LIBTOOL_OVERRIDE=	src/lt/libtool src/foreign/gcc/libffi/libtool

post-patch:
	${RM} ${WRKSRC}/collects/make/setup-extension.ss.orig
	${RM} ${WRKSRC}/collects/slibinit/init.ss.orig
@


1.21
log
@drop maintainership
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2008/01/23 01:53:06 rillig Exp $
d26 1
@


1.20
log
@Since revision 1.50 of mk/subst.mk, the test for text files is no longer
unreliable, so re-enable it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2007/08/10 08:25:58 pooka Exp $
d9 1
a9 1
MAINTAINER=		pooka@@NetBSD.org
@


1.19
log
@add MAKE_JOBS_SAFE=no

patch from Aleksej Saushev in PR pkg/36752
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2007/06/07 13:01:34 pooka Exp $
a37 2
# setup-extension.ss is classified as precompiled, which it isn't.
SUBST_SKIP_TEXT_CHECK.mz=	yes
@


1.18
log
@Update to mzscheme 360.  Loads of changes and bugfixes since
mzscheme 205 (released in 2003), including a native JIT compiler.

patches provided by Yorick Hardy in pkg/36330
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2006/10/01 14:47:43 rillig Exp $
d22 1
@


1.17
log
@Fixed pkglint warnings.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2005/12/05 20:50:26 rillig Exp $
d3 2
a4 2
DISTNAME=		mzscheme-205.src.unix
PKGNAME=		mzscheme-205
d6 2
a7 1
MASTER_SITES=		http://download.plt-scheme.org/bundles/205/mzscheme/
d15 1
a15 1
WRKSRC=			${WRKDIR}/plt
d19 3
a21 1
EXTRACT_USING=		pax
d27 1
a27 4
INSTALLATION_DIRS=	${PKGMANDIR}/man1

# setup-extension.ss is classified as precompiled, which it isn't.
_SUBST_IS_TEXT_FILE=	true
a31 1
SUBST_FILES.mz=		man/man1/mzscheme.1 man/man1/help-desk.1
d34 1
d36 5
d42 3
a44 7
do-install:
	cd ${WRKDIR}/plt/src/mzscheme && ${MAKE} normal-install
	${INSTALL_DATA_DIR} ${PREFIX}/include/mzscheme
	${INSTALL_DATA} ${WRKDIR}/plt/include/*.h ${PREFIX}/include/mzscheme
	${INSTALL_MAN} ${WRKDIR}/plt/man/man1/mzscheme.1 ${PREFIX}/${PKGMANDIR}/man1
	[ -d ${PREFIX}/lib/plt ] || ${INSTALL_DATA_DIR} ${PREFIX}/lib/plt
	cd ${WRKDIR}/plt && ${PAX} -wr -s ',.*\.orig$$,,' collects ${PREFIX}/lib/plt
@


1.16
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2005/09/24 02:30:57 dmcmahill Exp $
d14 1
a14 1
WRKSRC=			${WRKDIR}/plt/src
d16 1
d24 1
a24 1
INSTALLATION_DIRS=	man/man1
d26 10
a35 10
post-patch:
	@@for patchee in ${WRKDIR}/plt/man/man1/mzscheme.1 \
			${WRKDIR}/plt/man/man1/help-desk.1 \
			${WRKDIR}/plt/collects/make/setup-extension.ss \
			${WRKDIR}/plt/collects/slibinit/init.ss ; do \
		${MV} -f $$patchee ${WRKSRC}/foo ; \
		${SED} -e 's@@XXXPREFIXXXX@@${PREFIX}@@g' <${WRKSRC}/foo \
			> $$patchee ; \
	done
	@@${RM} -f ${WRKSRC}/foo
d38 6
a43 6
	@@(cd ${WRKDIR}/plt/src/mzscheme ; ${MAKE} normal-install)
	@@${INSTALL_DATA_DIR} ${PREFIX}/include/mzscheme
	@@${INSTALL_DATA} ${WRKDIR}/plt/include/*.h ${PREFIX}/include/mzscheme
	@@${INSTALL_MAN} ${WRKDIR}/plt/man/man1/mzscheme.1 ${PREFIX}/man/man1
	@@([ -d ${PREFIX}/lib/plt ] || ${INSTALL_DATA_DIR} ${PREFIX}/lib/plt)
	@@${CP} -R ${WRKDIR}/plt/collects ${PREFIX}/lib/plt
@


1.15
log
@enable on solaris.  seems to work ok here
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2005/06/16 06:58:00 jlam Exp $
d12 1
a12 1
CONFLICTS+=		drscheme*:../drscheme
@


1.14
log
@Create directories before installing files into them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2005/05/16 03:04:45 jlam Exp $
d21 1
@


1.13
log
@Change the EXTRACT_USING_PAX defined/undefined option into a EXTRACT_USING
which can take multiple values -- "pax" or "gtar".  The default value
of EXTRACT_USING is "pax", which more closely matches reality since
before, we were using bootstrap "tar" for ${GTAR} and it was actually
pax-as-tar.  Also, stop pretending pax-as-tar from the bootstrap kit
or on NetBSD is GNU tar.  Lastly, in bsd.pkg.extract.mk, note whether
we need "pax" or "gtar" depending on what we need to extract the
distfiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2004/01/20 12:19:17 agc Exp $
d22 2
@


1.12
log
@Move WRKSRC definition away from the first paragraph in a Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2003/12/23 23:57:16 pooka Exp $
d17 1
a17 1
EXTRACT_USING_PAX=      # defined
@


1.11
log
@Upgrade to mzscheme 205, patches provided by
Jesper Louis Andersen <jlouis@@mongers.org> in private email.

No earth-shattering changes, just a long list of bugfixes and minor
twiddles and additions.  For a complete list, see plt/notes/mzscheme/HISTORY
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2003/10/24 20:34:44 kristerw Exp $
a4 1
WRKSRC=			${WRKDIR}/plt/src
d14 1
@


1.10
log
@The GNU tar used in NetBSD 1.6 has problems with the distfile (some
of the .html files are extracted in an incorrect location).  Force
use of pax instead.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2003/09/18 12:48:35 yyamano Exp $
d3 3
a5 3
DISTNAME=		mzscheme.src.unix
PKGNAME=		mzscheme-200
WRKSRC=			${WRKDIR}/plt/src/mzscheme
d7 1
a7 5
MASTER_SITES=		http://download.plt-scheme.org/bundles/200/mzscheme/
DIST_SUBDIR=		${PKGNAME_NOREV}
PKGREVISION=		1

EXTRACT_USING_PAX=	# defined
d16 2
a17 1
CONFIGURE_SCRIPT=	../configure
d24 3
a26 1
	${WRKDIR}/plt/collects/slibinit/init.ss ; do \
d34 1
a34 1
	@@(cd ${WRKDIR}/plt/src/mzscheme/mzscheme ; ${MAKE} normal-install)
@


1.9
log
@It works on Linux/i386.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2003/07/17 21:44:57 grant Exp $
d10 2
@


1.8
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2003/03/29 12:41:27 jmmv Exp $
d21 1
@


1.7
log
@Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2002/09/11 18:46:31 joda Exp $
d11 1
a11 1
MAINTAINER=		pooka@@netbsd.org
@


1.6
log
@use PKGNAME_NOREV as DIST_SUBDIR
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2002/09/11 14:12:45 joda Exp $
d5 1
a20 2

WRKSRC=			${WRKDIR}/plt/src/mzscheme
@


1.5
log
@bump PKGREVISION; suggested by Thomas Klausner
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2002/09/11 14:07:38 joda Exp $
d7 1
a7 1
DIST_SUBDIR=		${PKGNAME}
@


1.4
log
@install header files too; update PLIST to match reality
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2002/08/27 16:42:05 pooka Exp $
d8 1
@


1.3
log
@update to mzscheme 200

changes:
* NetBSD patches integrated
* improvements to the module system
* new interfaces
basically numerous changes, see plt/notes/mzscheme in the source directory
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2000/01/10 22:09:15 pooka Exp $
d33 2
@


1.2
log
@Move the COMMENT from being in its own file to a definition in the
package Makefile.
@
text
@d4 1
a4 1
PKGNAME=		mzscheme-101
d6 2
a7 1
MASTER_SITES=		http://www.cs.rice.edu/CS/PLT/packages/download/101/mzscheme/
d10 2
a11 2
HOMEPAGE=		http://www.cs.rice.edu/CS/PLT/packages/mzscheme/
COMMENT=		R4RS-compilant and nearly R5RS-compliant scheme
d13 4
a16 1
USE_GMAKE=		yes
d24 1
a24 3
	${WRKSRC}/cmdline.inc ${WRKDIR}/plt/collects/mzlib/restartr.ss \
	${WRKDIR}/plt/collects/slibinit/init.ss \
	${WRKSRC}/src/makeexn ; do \
a30 7
do-build:
	@@(cd ${WRKSRC} ; ./mzmake)

post-build:
	@@(cd ${WRKSRC} ; ${MAKE} install)
	@@(cd ${WRKDIR}/plt ; ${ECHO} y | ./install)

d32 3
a34 7
	@@${INSTALL_SCRIPT} ${WRKDIR}/plt/bin/mzscheme ${PREFIX}/bin
	@@${INSTALL_SCRIPT} ${WRKDIR}/plt/bin/mzc ${PREFIX}/bin
	@@${INSTALL_PROGRAM_DIR} ${PREFIX}/lib/plt/bin
	@@${INSTALL_PROGRAM} ${WRKDIR}/plt/.bin/netbsd/mzscheme \
		${PREFIX}/lib/plt/bin
	@@${INSTALL_MAN} ${WRKDIR}/plt/man/man1/mzscheme.1 \
		${PREFIX}/man/man1
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d10 1
@


1.1.1.1
log
@Import mzscheme-101, an almost R5RS-compliant scheme intepreter with
compiler included. Uses the boehm garbage collector.

A big thanks goes to all who made devel/boehm-gc available. Modifying
patches for a specific use is much easier than reinventing them!

Note: I've marked this as i386-only, since it acted a little flacky on
alpha and sparc. In theory support for at least those platforms supported
by the garbage collector is possible. You are welcome to try.
@
text
@@
