summaryrefslogtreecommitdiff
blob: 17ac5d35ffbb54d0b9e82b48983c3557505b6e3a (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/hyperspec/hyperspec-7.0.ebuild,v 1.2 2005/07/19 15:01:44 mkennedy Exp $

MY_PV=${PV/./-}

DESCRIPTION="Common Lisp ANSI-standard Hyperspec"
HOMEPAGE="http://www.lispworks.com/reference/HyperSpec/"
SRC_URI=""
LICENSE="HyperSpec"
SLOT="0"
KEYWORDS="x86 amd64 sparc ppc"
IUSE=""
DEPEND=""

# URL: ftp://ftp.lispworks.com/pub/software_tools/reference/HyperSpec-7-0.tar.gz

S=${WORKDIR}/

src_unpack() {
	if [ ! -f ${DISTDIR}/HyperSpec-${MY_PV}.tar.gz ] ; then
		echo
		einfo ">>> The HyperSpec cannot be redistributed.  Download the HyperSpec-7-0.tar.gz "
		einfo ">>> file from http://www.lispworks.com/documentation/HyperSpec/ and move it to "
		einfo ">>> /usr/portage/distfiles before rerunning emerge.	The legal conditions are "
		einfo ">>> described at http://www.lispworks.com/reference/HyperSpec/Front/Help.htm#Legal"
		die
	else
		unpack HyperSpec-${MY_PV}.tar.gz
	fi
}

src_install() {
	dodir /usr/share/doc/${P}
	cp -r HyperSpec* ${D}/usr/share/doc/${P}
#	cd ${D}/usr/share/doc/${P} && tar xfz ${DISTDIR}/HyperSpec-${MY_PV}.tar.gz || die
}