summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2013-07-24 13:48:13 +0000
committerAndrey Grozin <grozin@gentoo.org>2013-07-24 13:48:13 +0000
commit1ec7263a06311e80a6526d86614de79824d34e1c (patch)
tree6866eb226337e9d85a40c42c6dcafd9d8fc1aa72 /dev-lisp
parentUpdate plugdev polkit rules for modemmanager's dbus interface changes. (diff)
downloadhistorical-1ec7263a06311e80a6526d86614de79824d34e1c.tar.gz
historical-1ec7263a06311e80a6526d86614de79824d34e1c.tar.bz2
historical-1ec7263a06311e80a6526d86614de79824d34e1c.zip
Version bump
Package-Manager: portage-2.2.0_alpha185/cvs/Linux i686 Manifest-Sign-Key: 0x3AFFCE974D34BD8C!
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/sbcl/ChangeLog7
-rw-r--r--dev-lisp/sbcl/Manifest33
-rw-r--r--dev-lisp/sbcl/sbcl-1.1.9.ebuild204
3 files changed, 228 insertions, 16 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog
index 82bc372c7b2f..b6d29e0aaf2f 100644
--- a/dev-lisp/sbcl/ChangeLog
+++ b/dev-lisp/sbcl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lisp/sbcl
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.191 2013/06/18 19:03:29 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.192 2013/07/24 13:47:55 grozin Exp $
+
+*sbcl-1.1.9 (24 Jul 2013)
+
+ 24 Jul 2013; Andrey Grozin <grozin@gentoo.org> +sbcl-1.1.9.ebuild:
+ Version bump
*sbcl-1.1.8 (18 Jun 2013)
diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest
index a48692e0a3be..27ac720cada0 100644
--- a/dev-lisp/sbcl/Manifest
+++ b/dev-lisp/sbcl/Manifest
@@ -20,29 +20,32 @@ DIST sbcl-1.1.7-source.tar.bz2 3721856 SHA256 c82258b8c53073d6e7ac7e03cf77891460
DIST sbcl-1.1.7-x86-64-linux-binary.tar.bz2 9241663 SHA256 3406c6f527bb50c6d4a5121ee01767c3b213ef41703d066597afc0eb6b5d97cf SHA512 a07e6d4f15a309b460e2ec0b962c197c6d678bc5871108c02e4c46ddb43c4b50043fd6a37df8ef061ef52f5d7ed7cc1105154e5ea3b557fdae34f2bb18a6b46f WHIRLPOOL 4e1f572ff432af42de55f0313602d0043c1a21299f8dcfe179f99c1e785c908d736940fcbada5085d96ba4c309bae371ef5255c5e5bc12da1c83856a69c99db6
DIST sbcl-1.1.8-source.tar.bz2 4108784 SHA256 37ca54d018f49c095e0bf575c2eac825dce48589a9de1ac7bfaeb525a2beacba SHA512 5c5ab526fa95b493af60509503c87af89b4509346ecb7f3890c88f81cb9fe29358c64ed3fdfc1ced3d5348d3b04f7e6f0b7cae3e6b95b7d25042e233a9571fc7 WHIRLPOOL 9a5b188b8cb84853ee44226f3a2f28d3cafd3c33d21f821777da76417da11f261889bf6dec88a0cb3ee848dd5026a8c88220ee2da54b324731cd8235ff1b15e4
DIST sbcl-1.1.8-x86-64-linux-binary.tar.bz2 9350166 SHA256 3d5f93e8376dd6658582aadcd3675e7046b3ac0c933f6d2a23933bdae9930152 SHA512 976354f490193d0e4dbea20f08e6587668e3363a7d69ad25de0e16bbdb19e8be7a48f0ca2211826a97eccbd42634b0a12198da3e29f7918abdc165fe3c37c014 WHIRLPOOL 6ebcdfe7848ceead286da78c3ed5ea489475b90345df6c03c490acb1bc400ee176a9c597b2a2eeabeb586b9a0e676aa8351192fb4dff358e87f5f136e67abacb
+DIST sbcl-1.1.9-source.tar.bz2 4121460 SHA256 59a497603291d9e6a3496ff5f7ff576350687ed09326d27d88fba9fe6d6e0009 SHA512 2cf1a5f3459799292f84d84febba9d2bb69719754bf24dd8ced4c6603edc50dc09dc2228be7507bea66841ea50e1b2d057eda3f59472c804097ca4e3a1831a6f WHIRLPOOL eea30bd35dad117d2d9bf6d9c580cbf67dc1e285271f0a23e3e4f10d024e5b7bf4e65d0b78b7fed02415daeaa166433e84a8154d9d5fb51a734779735f1f0f43
+DIST sbcl-1.1.9-x86-64-linux-binary.tar.bz2 9370064 SHA256 1635afa210dcb47ace3ae376e272c60d2e8a028382a185271d8ac12f632836fb SHA512 b54fe00c203a0bc8082793ecad6c301ac2b5782a087ffc56a9df1c133b0f44836451dd994ae47804707654ccef88bcb8f3ce77d53f92fe46837aad1e19771efa WHIRLPOOL 1bbbcafc6124ae5d50038adacec48bfec3b78f37a3877f2a08bbdd7ffb2f9bbe42ca12d2fa4832c19f7fcf2860f6952090369dd1d7a5effef8f1d3d447b2e8c0
EBUILD sbcl-1.0.55-r1.ebuild 6161 SHA256 764c48efc217326b8a9862bcc4589df7c2e1ba2b164937a6c008bf7850f383fd SHA512 ff9c03ce7aa6f523efd4e4b6b41639cdafc45fa242dfabe59ef8c5d428bb9a6025b44420663ea38fdfc110b2ff84a13bf5bfc62f8a6a4ad65b20e13ac4e92164 WHIRLPOOL 3585987db968443527fb6d31f71c110638855e19915679d7a89ce9024c21e1c400fc7e4b1de2ca67b9aaded423e6d0b6552c09b160c4d9bff7aa92606ced36bd
EBUILD sbcl-1.0.55-r2.ebuild 6230 SHA256 02574bec1fb07d17dd604daa7c4279a5125d0e9362247eaa2bde4ac55d0db607 SHA512 125165bf61e89a98f4796c792bc9c39dd8caa9595253bda3b2d50af762a5a597438966cbb5faa0d2e37563104b97185c88718be3d2df6a8fdb56af7bfe0d00c5 WHIRLPOOL 5f945702055282b0a989001f39b5ceb4de62ec750902018a3421562098298c405f23c855b2a00dd5a02b25aedfe3a92eab3de13a19de98670f15f2ebe6197a22
EBUILD sbcl-1.1.6-r4.ebuild 6810 SHA256 174a11627e240ccca9ffa289f4a0d0f3d9103f65cb9030dfe31327e629256dde SHA512 f3d7913578999c776f672f6c43cd6f8a12e805890b9704583e0e44b142fad86e9e88953feee57dbc8460319cebd76b9b1e6556a63f1f5b4b22062b9ab8c34792 WHIRLPOOL 9514b3bdcc662f17930b329e8d7e55ba7ba84b1a1e2928e2b3dc9afb31cff1a0b7f9391c2fbdc819797ccdb1c4d868767ea03481091871205f4d3ee48fdf44f9
EBUILD sbcl-1.1.7.ebuild 6781 SHA256 e179b4230cc07eba889f2a950b61f2fbf93b4aa12e0c8eadd9cd952c3e10e74d SHA512 da156d41e0af75553e54340ded3b55719247233e7f83c2b0d2b135edd6da5087f4a53ecc8cfe6af663a7493be6f9b1660c91e87ea8b7a6103343771f7364fced WHIRLPOOL 71b332bd280dea4b1985c96e3f88aff5dd162abb290cb0a5cd1b8ef94f3a74b4acbdd166257b0679d83e2d86448a57d34c1a75a252cf0f7f87a55d31919c302e
EBUILD sbcl-1.1.8.ebuild 6787 SHA256 5dc506490083fbbef1e5236d839c9b31507819872415c127f9d2078f0af5763e SHA512 26a66665b4b368543a793651ce687c1d05b3393241220b35c56bbc618c7c78d0fe237602af89cc6e94be94c05c4774dc420a83dce7bd6e1898513381bdf489bb WHIRLPOOL 4b4fb3d56c7e54c6827167771de1b84d9be0d6b322733cc0e11b7966a186d1b61349efa6191eace3ba9beb3d7e8276bc366457be5db6472313cc14dc7418183d
-MISC ChangeLog 52065 SHA256 7415ca513300c6e5807ce10ddcf0340927eef6ef10fd757d314cdb226273e70b SHA512 d20c9f9a930853b4a00dae2b590c83fae3f647269d8ae6b89b3958fe1f3e462588969d9d5802e481997a7c69886b8f6b63ce5fc7f7ffd095c82154822ef6ddf4 WHIRLPOOL 7aa57f6c19a82382d39c535c5ed60e4362559e073ee4700dd756ade019684b7960c4d29bff0507fa2bde498dad41d29ce05e748a18983a17ab249053d6059ba3
+EBUILD sbcl-1.1.9.ebuild 6787 SHA256 e2d5215e58c699871a13a5fbb8f26fde32c30728fb27dd191c81c1d677588692 SHA512 754978715353e4e8164f2f9f78846025be51c384f1f4492aa9ad4fa66bf5d9a05e92e43125540805b4788ed0ea5afae64763c9e92a577c0987347f4cfd6c9991 WHIRLPOOL b1c16d944f0669bbd93ed3da8ec401ed3aa4896da9e18578948aaeff463cd15394fc52e8ea24fd2e7a8d16cf640f1b87a1d704b05fadab1ea739a4330fa3ba79
+MISC ChangeLog 52177 SHA256 28b1debd4a0d90b87e857091d74c14df2ba9dec29e4dc67eb8eef9e2ae06c418 SHA512 b06e02e5b02d15af472340084dba2e7c4e3c70e742ef84df1a96b73d2bec5b9bf546bbd2839948088f3be9847d5b816da09ddec97ac6c880d9af3abb6a068d88 WHIRLPOOL eaf8ccc13e17c2ad98de49e39e9bbdba3ece7d23d3ff2b4fade67f2110b81cd01f2a59d3a7254b9d55142f6da2446539b7428ffdfc8bcd30f7e902f7c4c4a93c
MISC metadata.xml 1676 SHA256 17fb0c325844368c649a311f15fbb53a87e5ef987021c52424ffa647745101f3 SHA512 54f12b8385602a6f26b35bb63cbfb0414788e899bc2f5240f60ce249d8ac914c1e236b8d66cee893eac1c3602661869a4333223fa4ce043bd284bde51fa99512 WHIRLPOOL 90a7306f698aa56ab618874f1d325bd3bb789961675d4b0728744abff152bfb6e8cb7303c3cc063782e0411ce27551527c313b404846dadbe2638c5ea086e2f1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iQJ8BAEBCABmBQJRwK7NXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+iQJ8BAEBCABmBQJR79qwXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwOEM0RURGNjY5QzVBNjMwRkU3REVCOTQz
-QUZGQ0U5NzREMzRCRDhDAAoJEDr/zpdNNL2MZxMP/1W4INXbP7HymZncWl3elz99
-y6CB4+gGkptsXkHZZK2cH/pPsTFwPcAz2rCE0DGbRX6LApxvxQ0smWR+w1lB8Aih
-YNoyDhwI2+YUTNPJb6NMy7SuFY4S50QaMe46Ccu4sMdsemDaseSzS8T+x+RuN/9j
-fA7ctN7CCzw2hvgsCB7QoXy7v/pMDyA3hrv7/WmthqnKpKA+XjuFFSffBT69QvJ5
-nNx2CB11BGyT7LovrpFO1t168pMAJyELLzASRZKWE7M6k+DPbdDstsTQ7FrWKA3J
-X/t4q4tJ6BOh6qymCWQbZX8C4zxCzxEu2qKt4pR/QdvTEfw/XUYh2Ggkzbme3qjU
-UAf8bcrtFze9NfGxFs+735ka5thLkF+6FwVVB6bndl+F86fMdYWo8nVnB6UmtLHl
-FQIUJP1WoW1GnoqrY0aqaUJvSs5IGUIi/r/3GpQzqliRYp+aDiyNjYXhWrKs2BOK
-/ObJvLxE/AuzcNE6u1tils21A9kA/nDkWPcoOg1s7CNUzF86sGiuFLmHqmosD7jb
-DqtWH/TfjfWjq7iBa+CgvVkUyb9BmDLYZIoP0Ul/D3P8rhjplcUto1cg9w+9Bb9k
-RItw9Tcou+ow8Q6OtDVVfa6Paja4yTzZClxbGLpObs1tbeF/kXy5zaDXwaW5L5hl
-IV9fWDiUERMee+F4aWa5
-=65dA
+QUZGQ0U5NzREMzRCRDhDAAoJEDr/zpdNNL2M5eAP/j2JUAf094BxsdslvG2L8+n8
+M9eF86UJVA1VJ2NdvWKOoqFxS7xuCrF+7kFc1itH4Zqik833IjRqHpn4j4UYJnuk
+kufwI8dX+ZvWPc7S3qGAnW9oufIEgaR/cg439uJsdQgeULTGZkMvxFgK1sg/azhE
+0f1tgrX6HAwpPYVem3ZAN5XLlu7D7Ms3+7MqjgnjrZtBIi/ynibsc/vRx78Mz1V+
+Yu2lXkrjI92s8McZkquCOkUMQCrwzRUWRErVj0El8AJ/Fqcy+chRc03oJDEQJpzy
+aij6yYRO/rmQLbuaToXwSo8Wn08zHFLyF+lcS6ksvOTkChljHRx0ZBfQd7xk/8/0
+AeMZ4qhrpU6wgWLmb7vSt1es1+j/MeBtHH63JwiFVe0xsPdZjGhIqeJCdOun73sa
+MtCQh/vOtKTyA/bmTsgSMCdC4r0XoaW50YE7wBpRm1EIWa5QoxNyb1DIndZ5iCD5
+x4mKu3iec7fsM0Wj8NNvHWghdFVo7KFrYOAUqNerXvT4SQR9MYqGGyF3RrNezItB
+CJ6rLuteOkoWO2YDH3reNUo+rgQvz7oNUNnq+7qKPe/bcnH9cwFrMdzsnA1574+4
+oxEaWdsHjsSwhNTlY+ImS3vnIlweSiebq3SuLUnod0EEe4LmCbBdKFyZzMZQakzJ
+b39YKW9nHXxWYF5fgBwN
+=i96I
-----END PGP SIGNATURE-----
diff --git a/dev-lisp/sbcl/sbcl-1.1.9.ebuild b/dev-lisp/sbcl/sbcl-1.1.9.ebuild
new file mode 100644
index 000000000000..02620376cb0b
--- /dev/null
+++ b/dev-lisp/sbcl/sbcl-1.1.9.ebuild
@@ -0,0 +1,204 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.1.9.ebuild,v 1.1 2013/07/24 13:47:55 grozin Exp $
+
+EAPI=5
+inherit multilib eutils flag-o-matic pax-utils
+
+#same order as http://www.sbcl.org/platform-table.html
+BV_X86=1.0.58
+BV_AMD64=1.1.9
+BV_PPC=1.0.28
+BV_SPARC=1.0.28
+BV_ALPHA=1.0.28
+
+DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp."
+HOMEPAGE="http://sbcl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
+ x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
+ amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
+ ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
+ sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
+ alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )"
+
+RESTRICT="mirror"
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="debug doc source +threads +unicode zlib"
+
+CDEPEND=">=dev-lisp/asdf-2.33-r3:="
+DEPEND="${CDEPEND}
+ doc? ( <sys-apps/texinfo-5.0 >=media-gfx/graphviz-2.26.0 )"
+RDEPEND="${CDEPEND}
+ elibc_glibc? ( >=sys-libs/glibc-2.3 || ( <sys-libs/glibc-2.6[nptl] >=sys-libs/glibc-2.6 ) )"
+
+# Disable warnings about executable stacks, as this won't be fixed soon by upstream
+QA_EXECSTACK="usr/bin/sbcl"
+
+CONFIG="${S}/customize-target-features.lisp"
+ENVD="${T}/50sbcl"
+
+# Prevent ASDF from using the system libraries
+CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
+ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
+
+usep() {
+ use ${1} && echo "true" || echo "false"
+}
+
+sbcl_feature() {
+ echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
+}
+
+sbcl_apply_features() {
+ cat > "${CONFIG}" <<'EOF'
+(lambda (list)
+ (flet ((enable (x) (pushnew x list))
+ (disable (x) (setf list (remove x list))))
+EOF
+ if use x86 || use amd64; then
+ sbcl_feature "$(usep threads)" ":sb-thread"
+ fi
+ sbcl_feature "true" ":sb-ldb"
+ sbcl_feature "false" ":sb-test"
+ sbcl_feature "$(usep unicode)" ":sb-unicode"
+ sbcl_feature "$(usep zlib)" ":sb-core-compression"
+ sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
+ cat >> "${CONFIG}" <<'EOF'
+ )
+ list)
+EOF
+ cat "${CONFIG}"
+}
+
+src_unpack() {
+ unpack ${A}
+ mv sbcl-*-linux sbcl-binary || die
+ cd "${S}"
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/gentoo-fix_install_man.patch
+ epatch "${FILESDIR}"/gentoo-fix_linux-os-c.patch
+
+ # To make the hardened compiler NOT compile with -fPIE -pie
+ if gcc-specs-pie ; then
+ einfo "Disabling PIE..."
+ epatch "${FILESDIR}"/gentoo-fix_nopie_for_hardened_toolchain.patch
+ fi
+
+ cp /usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
+
+ use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
+
+ # Some shells(such as dash) don't have "time" as builtin
+ # and we don't want to DEPEND on sys-process/time
+ sed "s,^time ,," -i make.sh || die
+ sed "s,/lib,/$(get_libdir),g" -i install.sh || die
+ # #define SBCL_HOME ...
+ sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
+
+ find . -type f -name .cvsignore -delete
+}
+
+src_configure() {
+ # customizing SBCL version as per
+ # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
+ echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
+
+ # applying customizations
+ sbcl_apply_features
+}
+
+src_compile() {
+ local bindir="${WORKDIR}"/sbcl-binary
+
+ strip-unsupported-flags ; filter-flags -fomit-frame-pointer
+
+ if host-is-pax ; then
+ # To disable PaX on hardened systems
+ pax-mark -C "${bindir}"/src/runtime/sbcl
+ pax-mark -mr "${bindir}"/src/runtime/sbcl
+
+ # Hack to disable PaX on second GENESIS stage
+ sed -i -e '/load/!s/^echo \/\/doing warm.*$/&\npaxctl -C \.\/src\/runtime\/sbcl\npaxctl -mprexs \.\/src\/runtime\/sbcl/' \
+ "${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
+ fi
+
+ # clear the environment to get rid of non-ASCII strings, see bug 174702
+ # set HOME for paludis
+ env - HOME="${T}" \
+ CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
+ CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
+ GNUMAKE=make ./make.sh \
+ "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
+ || die "make failed"
+
+ # need to set HOME because libpango(used by graphviz) complains about it
+ if use doc; then
+ env - HOME="${T}" \
+ CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
+ ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
+ make -C doc/manual info html || die "Cannot build manual"
+ env - HOME="${T}" \
+ CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
+ ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
+ make -C doc/internals info html || die "Cannot build internal docs"
+ fi
+}
+
+src_test() {
+ ewarn "Unfortunately, it is known that some tests fail eg."
+ ewarn "run-program.impure.lisp. This is an issue of the upstream's"
+ ewarn "development and not of Gentoo's side. Please, before filing"
+ ewarn "any bug(s) search for older submissions. Thank you."
+ time ( cd tests && sh run-tests.sh )
+}
+
+src_install() {
+ # install system-wide initfile
+ dodir /etc/
+ cat > "${D}"/etc/sbclrc <<EOF
+;;; The following is required if you want source location functions to
+;;; work in SLIME, for example.
+
+(setf (logical-pathname-translations "SYS")
+ '(("SYS:SRC;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/src/**/*.*")
+ ("SYS:CONTRIB;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/**/*.*")))
+
+;;; Setup ASDF2
+(load "/etc/common-lisp/gentoo-init.lisp")
+EOF
+
+ # Install documentation
+ unset SBCL_HOME
+ INSTALL_ROOT="${D}/usr" LIB_DIR="/usr/$(get_libdir)" DOC_DIR="${D}/usr/share/doc/${PF}" \
+ sh install.sh || die "install.sh failed"
+
+ # rm empty directories lest paludis complain about this
+ find "${D}" -empty -type d -exec rmdir -v {} +
+
+ if use doc; then
+ dohtml -r doc/manual/
+ doinfo doc/manual/*.info*
+ dohtml -r doc/internals/sbcl-internals
+ doinfo doc/internals/sbcl-internals.info
+ docinto internals-notes && dodoc doc/internals-notes/*
+ else
+ rm -Rv "${D}/usr/share/doc/${PF}" || die
+ fi
+
+ dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
+
+ # install the SBCL source
+ if use source; then
+ ./clean.sh
+ cp -av src "${D}/usr/$(get_libdir)/sbcl/" || die
+ fi
+
+ # necessary for running newly-saved images
+ echo "SBCL_HOME=/usr/$(get_libdir)/${PN}" > "${ENVD}"
+ echo "SBCL_SOURCE_ROOT=/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
+ doenvd "${ENVD}"
+}