summaryrefslogtreecommitdiff
path: root/lang/mzscheme/Makefile
diff options
context:
space:
mode:
authorpooka <pooka@pkgsrc.org>2002-08-27 16:42:04 +0000
committerpooka <pooka@pkgsrc.org>2002-08-27 16:42:04 +0000
commit844e5d53b31f1463cd9d409cbbc35bf95fc408e7 (patch)
treeaaaa232ab38b62c816e70eb18a526a3114505951 /lang/mzscheme/Makefile
parent8f8f73d3cec1ffbdbbd98e5e242b1bc9bd9aff49 (diff)
downloadpkgsrc-844e5d53b31f1463cd9d409cbbc35bf95fc408e7.tar.gz
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
Diffstat (limited to 'lang/mzscheme/Makefile')
-rw-r--r--lang/mzscheme/Makefile37
1 files changed, 14 insertions, 23 deletions
diff --git a/lang/mzscheme/Makefile b/lang/mzscheme/Makefile
index 73df20cf4c0..249795f0776 100644
--- a/lang/mzscheme/Makefile
+++ b/lang/mzscheme/Makefile
@@ -1,15 +1,19 @@
-# $NetBSD: Makefile,v 1.2 2001/02/17 09:07:21 agc Exp $
+# $NetBSD: Makefile,v 1.3 2002/08/27 16:42:05 pooka Exp $
DISTNAME= mzscheme.src.unix
-PKGNAME= mzscheme-101
+PKGNAME= mzscheme-200
CATEGORIES= lang
-MASTER_SITES= http://www.cs.rice.edu/CS/PLT/packages/download/101/mzscheme/
+MASTER_SITES= http://download.plt-scheme.org/bundles/200/mzscheme/
+DIST_SUBDIR= ${PKGNAME}
MAINTAINER= pooka@netbsd.org
-HOMEPAGE= http://www.cs.rice.edu/CS/PLT/packages/mzscheme/
-COMMENT= R4RS-compilant and nearly R5RS-compliant scheme
+HOMEPAGE= http://www.plt-scheme.org/software/mzscheme/
+COMMENT= R5RS-compliant scheme
-USE_GMAKE= yes
+CONFLICTS+= drscheme*:../drscheme
+
+GNU_CONFIGURE= yes
+CONFIGURE_SCRIPT= ../configure
ONLY_FOR_PLATFORM= NetBSD-*-i386
@@ -17,30 +21,17 @@ WRKSRC= ${WRKDIR}/plt/src/mzscheme
post-patch:
@for patchee in ${WRKDIR}/plt/man/man1/mzscheme.1 \
- ${WRKSRC}/cmdline.inc ${WRKDIR}/plt/collects/mzlib/restartr.ss \
- ${WRKDIR}/plt/collects/slibinit/init.ss \
- ${WRKSRC}/src/makeexn ; do \
+ ${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
-do-build:
- @(cd ${WRKSRC} ; ./mzmake)
-
-post-build:
- @(cd ${WRKSRC} ; ${MAKE} install)
- @(cd ${WRKDIR}/plt ; ${ECHO} y | ./install)
-
do-install:
- @${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
+ @(cd ${WRKDIR}/plt/src/mzscheme/mzscheme ; ${MAKE} normal-install)
+ @${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
.include "../../mk/bsd.pkg.mk"