summaryrefslogtreecommitdiff
blob: 36a1ecad6ef4c3aed863fcf4951e62c4dc916e48 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit common-lisp-2

DESCRIPTION="CL-DARCS is a client for the darcs version control system written in Common Lisp."
HOMEPAGE="http://common-lisp.net/project/cl-darcs
		http://www.cliki.net/CL-DARCS"
SRC_URI="http://common-lisp.net/~sionescu/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
USE="doc"

DEPEND="dev-lisp/split-sequence
		dev-lisp/drakma
		dev-lisp/puri
		dev-lisp/trivial-gray-streams
		dev-lisp/ironclad
		dev-lisp/flexi-streams
		dev-lisp/cl-fad
		dev-lisp/cl-ppcre
		dev-lisp/cl-difflib
		doc? ( virtual/latex-base sys-apps/texinfo )"

src_compile() {
	if use doc ; then
		cd doc
		texi2pdf ${PN}.texi
	fi
}

src_install() {
	common-lisp-install *.{lisp,asd}
	common-lisp-symlink-asdf
	use doc && dodoc doc/${PN}.pdf
	dodoc README
}