1 # $NetBSD: Makefile,v 1.5 2008/03/04 16:38:12 jlam Exp $
4 DISTNAME= mit-scheme-7.7.1-ix86-gnu-linux
5 PKGNAME= mit-scheme-bin-7.7.1
7 MASTER_SITES= http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/7.7.1/
9 MAINTAINER= pkgsrc-users@NetBSD.org
10 HOMEPAGE= http://www.gnu.org/software/mit-scheme/
11 COMMENT= MIT/GNU Scheme (Linux binary)
13 EMUL_PLATFORMS= linux-i386
14 EMUL_MODULES.linux= base
16 PKG_DESTDIR_SUPPORT= user-destdir
19 INSTALLATION_DIRS= bin libexec
24 ${SED} "s!@PREFIX@!${PREFIX}!g" ${FILESDIR}/scheme > ${WRKSRC}/scheme
25 ${SED} "s!@PREFIX@!${PREFIX}!g" ${FILESDIR}/bchscheme \
29 ${INSTALL_SCRIPT} ${WRKSRC}/bchscheme ${DESTDIR}${PREFIX}/bin
30 ${INSTALL_SCRIPT} ${WRKSRC}/scheme ${DESTDIR}${PREFIX}/bin
31 ${INSTALL_PROGRAM} ${WRKSRC}/bin/bchscheme ${DESTDIR}${PREFIX}/libexec
32 ${INSTALL_PROGRAM} ${WRKSRC}/bin/scheme ${DESTDIR}${PREFIX}/libexec
33 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/mit-scheme
34 cd ${WRKSRC}/lib && pax -rw mit-scheme ${DESTDIR}${PREFIX}/lib
35 ${RMDIR} ${DESTDIR}${PREFIX}/lib/mit-scheme/lib
37 .include "../../mk/bsd.pkg.mk"