summaryrefslogtreecommitdiff
blob: 5a81d1cc9193326d6c27a8f44f7735a3993b9f2d (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
41
42
43
44
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-fare-matcher/cl-fare-matcher-1.1-r1.ebuild,v 1.8 2007/03/03 23:21:21 genone Exp $

inherit common-lisp eutils

DESCRIPTION="A library of macros and functions by Fare Rideau."
HOMEPAGE="http://mapcar.org/~mrd/utilities/matcher.html http://www.cliki.net/fare-matcher http://www.cliki.net/fare-matcher-docs"
SRC_URI="http://mapcar.org/~mrd/utilities/fare-matcher-ext-${PV}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc x86"
IUSE=""

DEPEND="dev-lisp/common-lisp-controller
	virtual/commonlisp"

S=${WORKDIR}/matcher

CLPACKAGE=fare-matcher

src_unpack() {
	unpack ${A}
	# maybe we should consider having clisp.sh pass -E utf8 to clisp
	epatch ${FILESDIR}/clisp-utf8-gentoo.patch
}

src_install() {
	common-lisp-install *.asd *.lisp
	common-lisp-system-symlink
}

pkg_postinst() {
	register-common-lisp-source ${CLPACKAGE}
	while read line; do elog ${line}; done <<EOF

The comments within the source for fare-matcher provide documentation.
You can find summarized documentation at the CLiki.

	http://www.cliki.net/fare-matcher-docs

EOF
}