summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lisp/mzscheme/mzscheme-205.ebuild')
-rw-r--r--dev-lisp/mzscheme/mzscheme-205.ebuild60
1 files changed, 0 insertions, 60 deletions
diff --git a/dev-lisp/mzscheme/mzscheme-205.ebuild b/dev-lisp/mzscheme/mzscheme-205.ebuild
deleted file mode 100644
index a4ef983b9e97..000000000000
--- a/dev-lisp/mzscheme/mzscheme-205.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/mzscheme/mzscheme-205.ebuild,v 1.9 2005/04/21 18:51:32 hansmi Exp $
-
-inherit flag-o-matic
-
-S=${WORKDIR}/plt
-DESCRIPTION="MzScheme scheme compiler"
-HOMEPAGE="http://www.plt-scheme.org/software/mzscheme/"
-SRC_URI="http://www.cs.utah.edu/plt/download/${PV}/${PN}/${P}.src.unix.tar.gz"
-DEPEND=">=sys-devel/gcc-2.95.3-r7"
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="x86 ppc ~sparc"
-IUSE=""
-
-src_compile() {
- # http://bugs.gentoo.org/show_bug.cgi?id=47037 -march=athlon-xp
- # causes build failure
- if is-flag '-march=athlon-xp'; then
- replace-flags '-march=athlon-xp' '-mcpu=athlon-xp'
- fi
- # http://bugs.gentoo.org/show_bug.cgi?id=48491 -march=pentium4
- # causes build failure
- if is-flag '-march=pentium4'; then
- replace-flags '-march=pentium4' '-mcpu=pentium4'
- fi
-
- # mzscheme is sensitive to a lot of compiler flags
- unset CFLAGS
-
- cd ${S}/src
- econf || die "./configure failed"
- emake -j1 || die
-}
-
-src_install () {
- cd ${S}/src
- echo -e "n\n" | einstall || die "installation failed"
- cd ${S}
- dodoc README
- dodoc notes/COPYING.LIB
- dodoc notes/mzscheme/*
-
- # 2002-09-06: karltk
- # Normally, one specifies the full path to the collects,
- # so this should work, but it's not been tested properly.
- mv ${D}/usr/install ${D}/usr/bin/mzscheme-install
-
- dodir /usr/share/mzscheme
- mv ${D}/usr/collects/ ${D}/usr/share/mzscheme/collects/
-
- rm -rf ${D}/usr/notes/
-
- #the resultant files are infected with ${D} and Makefiles do not recognize
- #standard conventions. Looks like the simples way out is to
- #strip ${D}'s here
- cd ${D}/usr
- grep -rle "${D}" . | xargs sed -i -e "s:${D}:/:g"
-}