# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="The C-INTERCAL INTERCAL implementation" HOMEPAGE="http://www.catb.org/~esr/intercal/" SRC_URI="http://www.catb.org/~esr/intercal/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=sys-devel/bison-1.35 >=sys-devel/flex-2.5.4a-r5 virtual/glibc" S=${WORKDIR}/${P} src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { # INTERCAL, being INTERCAL, needs these directories to already exist, else error mkdir -p ${D}/usr/{bin,lib,share} make DESTDIR=${D} install || die "install failed" dodoc BUGS COPYING NEWS doc/* }