summaryrefslogtreecommitdiff
blob: 3d0bb5511ac577dc71063d9bb68b7023d661d259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-fiveam/cl-fiveam-1.2.3.ebuild,v 1.4 2005/05/24 18:48:33 mkennedy Exp $

inherit common-lisp eutils

DESCRIPTION="FiveAM is a simple regression testing framework for Common Lisp."
HOMEPAGE="http://common-lisp.net/project/bese/FiveAM.html"
SRC_URI="ftp://ftp.common-lisp.net/pub/project/bese/fiveam_${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc x86"
IUSE="doc"
DEPEND="dev-lisp/cl-arnesi
	doc? ( virtual/tetex )"

CLPACKAGE="fiveam"

S=${WORKDIR}/fiveam_${PV}

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${PV}-spelling-gentoo.patch || die
	find ${S}/ -type d -name .arch-ids -exec rm -rf '{}' \; &>/dev/null
}

src_compile() {
	use doc && make -C docs
}

src_install() {
	dodir /usr/share/common-lisp/source/fiveam
	dodir /usr/share/common-lisp/systems
	cp -R src t ${D}/usr/share/common-lisp/source/fiveam/
	common-lisp-install fiveam.asd
	common-lisp-system-symlink
	dosym /usr/share/common-lisp/source/fiveam/fiveam.asd \
		/usr/share/common-lisp/systems/
	use doc && dodoc docs/FiveAM.pdf
}