2005-06-16 08:57:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2005/06/16 06:58:00 jlam Exp $
|
2000-01-10 23:09:15 +01:00
|
|
|
|
2003-12-24 00:57:16 +01:00
|
|
|
DISTNAME= mzscheme-205.src.unix
|
|
|
|
PKGNAME= mzscheme-205
|
2000-01-10 23:09:15 +01:00
|
|
|
CATEGORIES= lang
|
2003-12-24 00:57:16 +01:00
|
|
|
MASTER_SITES= http://download.plt-scheme.org/bundles/205/mzscheme/
|
2003-10-24 22:34:44 +02:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= pooka@NetBSD.org
|
2002-08-27 18:42:04 +02:00
|
|
|
HOMEPAGE= http://www.plt-scheme.org/software/mzscheme/
|
|
|
|
COMMENT= R5RS-compliant scheme
|
2000-01-10 23:09:15 +01:00
|
|
|
|
2002-08-27 18:42:04 +02:00
|
|
|
CONFLICTS+= drscheme*:../drscheme
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/plt/src
|
2002-08-27 18:42:04 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-12-24 00:57:16 +01:00
|
|
|
CONFIGURE_SCRIPT= ./configure
|
2005-05-16 05:04:44 +02:00
|
|
|
EXTRACT_USING= pax
|
2000-01-10 23:09:15 +01:00
|
|
|
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386
|
2003-09-18 14:48:35 +02:00
|
|
|
ONLY_FOR_PLATFORM+= Linux-*-i386
|
2000-01-10 23:09:15 +01:00
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= man/man1
|
|
|
|
|
2000-01-10 23:09:15 +01:00
|
|
|
post-patch:
|
|
|
|
@for patchee in ${WRKDIR}/plt/man/man1/mzscheme.1 \
|
2003-12-24 00:57:16 +01:00
|
|
|
${WRKDIR}/plt/man/man1/help-desk.1 \
|
|
|
|
${WRKDIR}/plt/collects/make/setup-extension.ss \
|
|
|
|
${WRKDIR}/plt/collects/slibinit/init.ss ; do \
|
2000-01-10 23:09:15 +01:00
|
|
|
${MV} -f $$patchee ${WRKSRC}/foo ; \
|
|
|
|
${SED} -e 's@XXXPREFIXXXX@${PREFIX}@g' <${WRKSRC}/foo \
|
|
|
|
> $$patchee ; \
|
|
|
|
done
|
|
|
|
@${RM} -f ${WRKSRC}/foo
|
|
|
|
|
|
|
|
do-install:
|
2003-12-24 00:57:16 +01:00
|
|
|
@(cd ${WRKDIR}/plt/src/mzscheme ; ${MAKE} normal-install)
|
2002-09-11 16:07:38 +02:00
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/include/mzscheme
|
|
|
|
@${INSTALL_DATA} ${WRKDIR}/plt/include/*.h ${PREFIX}/include/mzscheme
|
2002-08-27 18:42:04 +02:00
|
|
|
@${INSTALL_MAN} ${WRKDIR}/plt/man/man1/mzscheme.1 ${PREFIX}/man/man1
|
|
|
|
@([ -d ${PREFIX}/lib/plt ] || ${INSTALL_DATA_DIR} ${PREFIX}/lib/plt)
|
2000-01-10 23:09:15 +01:00
|
|
|
@${CP} -R ${WRKDIR}/plt/collects ${PREFIX}/lib/plt
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|