Skip to content

Commit

Permalink
dev-lisp/hyperspec: Provide a permanent path
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/808078
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ulrich Müller <[email protected]>
  • Loading branch information
ulm committed Aug 14, 2021
1 parent e4b8a7d commit 066658b
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions dev-lisp/hyperspec/hyperspec-7.0-r3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit readme.gentoo-r1

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"
S="${WORKDIR}"

LICENSE="HyperSpec"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"

src_install() {
docinto html
dodoc -r HyperSpec/{Body,Data,Front,Graphics,Issues}
dosym html /usr/share/doc/${PF}/HyperSpec
dosym -r /usr/share/doc/${PF} /usr/share/${PN}

docinto .
dodoc HyperSpec-{README,Legalese}.text
local DOC_CONTENTS="A permanent link to the HyperSpec documentation
is provided at: ${EPREFIX}/usr/share/${PN}"
readme.gentoo_create_doc
}

pkg_postinst() {
readme.gentoo_print_elog
}

0 comments on commit 066658b

Please sign in to comment.