forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hyperspec-7.0-r1.ebuild
37 lines (28 loc) · 979 Bytes
/
hyperspec-7.0-r1.ebuild
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
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MY_PV=${PV/./-}
MY_P=HyperSpec-${MY_PV}
DESCRIPTION="Common Lisp ANSI-standard Hyperspec"
HOMEPAGE="http://www.lispworks.com/reference/HyperSpec/"
SRC_URI="ftp://ftp.lispworks.com/pub/software_tools/reference/${MY_P}.tar.gz"
LICENSE="HyperSpec"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd"
IUSE=""
DEPEND=""
RESTRICT="mirror fetch"
S=${WORKDIR}/
pkg_nofetch() {
while read line; do elog "${line}"; done <<EOF
The HyperSpec cannot be redistributed. Download the ${MY_P}.tar.gz
file from http://www.lispworks.com/documentation/HyperSpec/ and move it to
/usr/portage/distfiles before rerunning emerge. The legal conditions are
described at http://www.lispworks.com/reference/HyperSpec/Front/Help.htm#Legal
EOF
}
src_install() {
dodir /usr/share/doc/${P}
cp -r HyperSpec* "${D}/usr/share/doc/${P}"
dosym /usr/share/doc/${P} /usr/share/doc/hyperspec
}