blob: 5429faea0414940dbef79eb32cecf9e9462a12d1 (
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
45
46
47
48
49
50
51
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jess-bin/jess-bin-6.1.6.ebuild,v 1.1 2004/07/30 20:43:27 axxo Exp $
inherit java-pkg
DESCRIPTION="Jess, the expert system shell for the Java platform"
HOMEPAGE="http://herzberg.ca.sandia.gov/jess/"
SRC_URI="Jess61p6.tgz"
MY_PN="Jess61p6"
LICENSE="jess"
SLOT="0"
KEYWORDS="~x86"
RESTRICT="fetch"
IUSE="doc"
DEPEND=">=virtual/jre-1.2"
S=${WORKDIR}/${MY_PN}
pkg_nofetch() {
einfo "Please visit http://herzberg.ca.sandia.gov/jess/download.shtml"
einfo "and download ${SRC_URI}."
einfo "Just save it in ${DISTDIR} !"
}
src_compile() { :; }
src_install() {
java-pkg_dojar jess.jar
dodoc README
if use doc; then
einfo "Installing documentation..."
dohtml -r docs/*
insinto /usr/share/doc/${P/-bin}/examples/
doins examples/*
local dirs="pumps simple xfer"
for i in $dirs; do
insinto /usr/share/doc/${P/-bin}/examples/$i
doins jess/examples/$i/*
done
fi
}
pkg_postinst() {
einfo "Online Documentation: "
einfo " http://herzberg.ca.sandia.gov/jess/docs/index.shtml"
}
|