summaryrefslogtreecommitdiff
blob: 4f6d75723085b3f18761103a7febda67382efaea (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-2005 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.5 2005/03/18 08:01:38 mkennedy 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="~x86 ~amd64"
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 einfo ${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
}