Permalink
Browse files

dev-scheme/chicken: fix sed bug; respect USE=-doc

  • Loading branch information...
1 parent 6ed38b9 commit 85329427609bb8097cfd8d904d1ac33738126486 @fadein fadein committed Jan 17, 2013
Showing with 9 additions and 3 deletions.
  1. +1 −1 dev-scheme/chicken/Manifest
  2. +8 −2 dev-scheme/chicken/chicken-4.8.0.ebuild
@@ -3,5 +3,5 @@ AUX chicken-4.8.0-parallel-build.patch 3112 SHA256 0fc0f3422c2c24a2bdfb67aaec5e0
DIST chicken-4.7.0.tar.gz 3392031 SHA256 56afdbff812febe3f98ae437716ecaa96115732f21db5063ce413e4c7449a26c SHA512 e2f747aafc5ccae56940ad0c8cc5790523e6113645d5a0efc5fdf800362bf65501a04e211269d0312280e3d11db8b2e44cdce4d11bc431172c42b852efad8716 WHIRLPOOL 17c63a0a413822013883d807b6950c2b0d2ff7cd3a5c0d582d0db04bb0ac9286857b5e8d30f4fd8abda52c6a505f2354412cf9046e61ff7f5bcfc5ca1a20dc58
DIST chicken-4.8.0.tar.gz 3970818 SHA256 5b2e8c6b4b13b502d8c684b394d80ed490d2884c03789353d895ab85d19979ab SHA512 5ea40ca240d9d6ab9a250947288fda3cc1202b6cb689207dc603c1ca86f537f407b1c4a8020533ccfc7b48fa01d3bf8f7229f883a2a95edb3f39863d43aa6c63 WHIRLPOOL 52010977034e0661af4c692d828303ebaad8d6d2517908b2474e64c0f8840c0a8e8342577853d66c1921033926fdefa21db66857786e659d92260390e98b879f
EBUILD chicken-4.7.0.ebuild 2159 SHA256 7b2335f1ca2fed398b1610cef92fc0ab2e5af5f7b9bc11804c6c816c317b9b10 SHA512 6ff251c60e8e9fbf58287d0730a7853e5d1f731e43c852d2df2793de2998c037103c4861fa9f9d975fc2bff761a42fee65a7b64e46e86b9054e9d159ae92bcb3 WHIRLPOOL 8e800cdcb5dd9f87d0aaea0b168c76c293ffa501196695c0f207d97b266f23b6cd4afa978800e5ec3b7fe9fd9618b87c337d14792358ec1011d23b9e0603a3c6
-EBUILD chicken-4.8.0.ebuild 2032 SHA256 c6911f6d035cc4401a434684f140b9e2f9f8e89439bf6f054f8d683e47f8866c SHA512 9983b6ebbec476f412078526a4da3129ffa26f3f0f73033b818d5db04f20485861b8bbf20f7eaadf5c5d7968184e4fe10b8353543424e546ecba99a927cceadd WHIRLPOOL d7512589072c5aafbc79a65738fde3576c4445388bafb3b85db38869592972ca4d6e678758b1d1f768ad995d0ec7fbfed7c8890bba410528890f4bd0d870275f
+EBUILD chicken-4.8.0.ebuild 2176 SHA256 234d7634a4091f2ea9eede032bb2baa05e13ff54fc04086ed751aaef7cc61482 SHA512 aa220d611049ae3a9897f799ad91477f50f5aa46e594cd9c0f358d70e09bdcb7a94768868822dd790c3f1e95bcdc6b060a07609f1096bf5e5bac3a3801a5c804 WHIRLPOOL 36b7eac8f15fb5348dfa4e95ee33fdaa6932c5608e3f0af6425dc45f397e0cddf8e487ba0a9d529ffaf2d58b5041aa48b7fde4bd7219e515caa850cdde25788c
EBUILD chicken-9999.ebuild 1636 SHA256 3788edf7fde026a13fde2b895f8889f35b91eb2035de35e7c40561a78ecb2a75 SHA512 8ff9e74deb7caa1b2aa96f4fda8e8effab860e1ae70731c5d03538322ae46cd6928df11f6cfcdcd5e4d53a5d1145b43f9ab84875946c607d35ef61778fc0baa5 WHIRLPOOL 90eaf333d3baa2ee9355ab0a9e81869753a3d3cc6d473e7909ade90ae18bad2991b67ea584dd61360deac4b679a048a8b3ee9a9e53f2fabe42dcbf33713eb89a
@@ -14,7 +14,7 @@ SRC_URI="http://code.call-cc.org/releases/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
-IUSE="emacs parallel-build"
+IUSE="emacs parallel-build doc"
DEPEND="sys-apps/texinfo
emacs? ( virtual/emacs )"
@@ -28,7 +28,7 @@ src_prepare() {
#Because chicken's Upstream is in the habit of using variables that
#portage also uses :( eg. $ARCH and $A
- sed 's,A\(\s?=\|)\),chicken&,p' -i Makefile.cross-linux-mingw \
+ sed 's,A\(\s?=\|)\),chicken&,' -i Makefile.cross-linux-mingw \
defaults.make rules.make \
|| die "sed failed"
@@ -68,4 +68,10 @@ src_install() {
rm "${D}"/usr/share/doc/${P}/LICENSE || die
dodoc NEWS || die
+
+ # remove HTML documentation if the user doesn't USE=doc
+ if ! use "doc"
+ then
+ rm -rf "${D}"/usr/share/doc/${P}/manual || die
+ fi
}

0 comments on commit 8532942

Please sign in to comment.