blob: 0eac178d839b188cda785b6655d8c90fed509a22 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit common-lisp-2 eutils
DESCRIPTION="Parenscript is a small lispy language that can be compiled to JavaScript."
HOMEPAGE="http://common-lisp.net/project/parenscript/"
SRC_URI="http://common-lisp.net/~sionescu/files/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc"
DEPEND="!dev-lisp/cl-${PN}
!dev-lisp/cl-${PN}-darcs
!dev-lisp/${PN}-darcs
doc? ( virtual/latex-base )"
src_compile() {
use doc && { cd docs ; sh build.sh ; }
}
# TODO: install extras/js-expander.el
src_install() {
common-lisp-install parenscript.asd src t
common-lisp-symlink-asdf
dodoc contributors docs/internal/notes-and-links.txt || die
use doc && { dodoc docs/*.pdf || die ; }
}
|