summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2005-08-14 08:01:40 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2005-08-14 08:01:40 +0000
commit0119a4c8299b0d7d33d0aea598d4bf5f49c09faf (patch)
treecf1c6e73f1dae254ed00ecd97796e3a5e41e90f8 /dev-lisp/hyperspec/hyperspec-7.0.ebuild
parentversion bump (diff)
downloadgentoo-2-0119a4c8299b0d7d33d0aea598d4bf5f49c09faf.tar.gz
gentoo-2-0119a4c8299b0d7d33d0aea598d4bf5f49c09faf.tar.bz2
gentoo-2-0119a4c8299b0d7d33d0aea598d4bf5f49c09faf.zip
AS PER THE CHANGELOG: "Install version independent symbolic link to documentation."
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-lisp/hyperspec/hyperspec-7.0.ebuild')
-rw-r--r--dev-lisp/hyperspec/hyperspec-7.0.ebuild19
1 files changed, 11 insertions, 8 deletions
diff --git a/dev-lisp/hyperspec/hyperspec-7.0.ebuild b/dev-lisp/hyperspec/hyperspec-7.0.ebuild
index 17ac5d35ffbb..621172b7a15b 100644
--- a/dev-lisp/hyperspec/hyperspec-7.0.ebuild
+++ b/dev-lisp/hyperspec/hyperspec-7.0.ebuild
@@ -1,6 +1,6 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/hyperspec/hyperspec-7.0.ebuild,v 1.3 2005/08/14 08:01:40 mkennedy Exp $
MY_PV=${PV/./-}
@@ -18,12 +18,15 @@ DEPEND=""
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"
+ if [ ! -f ${DISTDIR}/HyperSpec-${MY_PV}.tar.gz ]; then
+ while read line; do einfo "${line}"; done <<EOF
+
+The HyperSpec cannot be redistributed. Download the HyperSpec-${PV//./-}.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
die
else
unpack HyperSpec-${MY_PV}.tar.gz
@@ -33,6 +36,6 @@ src_unpack() {
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
+ dosym /usr/share/doc/${P} /usr/share/doc/hyperspec
}