--- /dev/null
+# ChangeLog for app-sci/lard
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/app-sci/lard/ChangeLog,v 1.1 2002/10/30 08:00:38 george Exp $
+
+*lard-2.0.14 (29 Oct 2002)
+
+ 29 Oct 2002; George Shapovalov <george@gentoo.org> lard-2.0.14.ebuild, files/lard-2.0.14-configure.patch :
+
+ initial release.
+
+ lard - Language for Asynchronous Research and Development. Used to describe and
+ simulate asynchronous circuits
+ ebuild submitted by Chris Bainbridge <chrb@dcs.ed.ac.uk>
--- /dev/null
+MD5 1662a5185574501b2223bb2f09faec72 lard-2.0.14.tar.gz 336090
+MD5 99adde34967f1c75a89f3983ce79b0b8 lard-demos-2.0.12.tar.gz 119124
+MD5 c76c77fe5643893abc03911bf3cf0607 lard-doc-2.0.14.tar.gz 355267
--- /dev/null
+diff -u lard-2.0.14.orig/configure lard-2.0.14/configure
+--- lard-2.0.14.orig/configure 2001-11-20 05:29:29.000000000 -0800
++++ lard-2.0.14/configure 2002-10-29 22:59:01.000000000 -0800
+@@ -2633,7 +2633,7 @@
+
+
+
+- lardbindir=${bindir}/${host_alias}
++ lardbindir=${bindir}/
+
+ echo "$ac_t""lardbindir set to ${lardbindir}" 1>&6
+
+@@ -2648,17 +2648,17 @@
+ echo "$ac_t""lardlibdir set to ${lardlibdir}" 1>&6
+
+
+- lardcommondir=${bindir}/common
++ lardcommondir=${lardbindir}
+
+ echo "$ac_t""lardcommondir set to ${lardcommondir}" 1>&6
+
+
+- lardelispdir=${libdir}/elisp
++ lardelispdir=/usr/share/emacs/site-lisp
+
+ echo "$ac_t""lardelispdir set to ${lardelispdir}" 1>&6
+
+
+-docdir=${prefix}/doc
++docdir=${prefix}/share/doc/lard-2.0.14
+
+ tcllibdir=${prefix}/lib/tcl
+
--- /dev/null
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/lard/lard-2.0.14.ebuild,v 1.1 2002/10/30 08:00:38 george Exp $
+
+DESCRIPTION="Language for Asynchronous Research and Development. Used to describe and simulate asynchronous circuits"
+HOMEPAGE="http://www.cs.man.ac.uk/amulet/projects/lard/"
+SRC_URI="ftp://ftp.cs.man.ac.uk/pub/amulet/lard/${P}.tar.gz
+ ftp://ftp.cs.man.ac.uk/pub/amulet/lard/lard-demos-2.0.12.tar.gz
+ ftp://ftp.cs.man.ac.uk/pub/amulet/lard/lard-doc-2.0.14.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+
+DEPEND="sys-devel/flex
+ dev-lang/tcl
+ dev-lang/tk
+ sys-devel/bison
+ sys-devel/binutils
+ dev-tcltk/tclx
+ dev-libs/gmp
+ sys-devel/perl
+ dev-tcltk/bwidget"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ patch -p1 < ${FILESDIR}/lard-2.0.14-configure.patch || die
+}
+
+src_compile() {
+ econf --libdir=/usr/lib/lard || die "./configure failed"
+
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install
+
+ dodoc AUTHORS COPYING NEWS README
+
+ mkdir -p ${D}/usr/share/doc/${PF}/demos
+ cp -R ${WORKDIR}/lard-demos-2.0.12/* ${D}/usr/share/doc/${PF}/demos
+ cd ${WORKDIR}/lard-doc
+ find . -name "*.doc *.cgi" -exec rm {} \;
+ mkdir -p ${D}/usr/share/doc/${PF}/html
+ cp -R * ${D}/usr/share/doc/${PF}/html
+ cd ${WORKDIR}
+ sed -e "s:\$exec_prefix:#\$exec_prefix:g" ${D}/usr/bin/lcd > lcd.1
+ cp lcd.1 ${D}/usr/bin/lcd
+}
+