Skip to content

Commit

Permalink
dev-lisp/hyperspec: Removes fetch restrictions
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/show_bug.cgi?id=583332
Closes: gentoo#4773

Package-Manager: Portage-2.3.5, Repoman-2.3.1
  • Loading branch information
lukateras authored and Chema Alonso Josa committed Jun 5, 2017
1 parent ea1b03c commit 9abc449
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions dev-lisp/hyperspec/hyperspec-7.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand All @@ -15,21 +15,8 @@ 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}"
Expand Down

0 comments on commit 9abc449

Please sign in to comment.