summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2002-10-26 04:17:04 +0000
committerGeorge Shapovalov <george@gentoo.org>2002-10-26 04:17:04 +0000
commit667eed41ba2ffd507534243e24112bff816e75e5 (patch)
tree0396810b77ce47e9aa76951e2da1002374649a6c /dev-tcltk/expect
parentadded optional installation of examples (if 'doc' is defined) (diff)
downloadhistorical-667eed41ba2ffd507534243e24112bff816e75e5.tar.gz
historical-667eed41ba2ffd507534243e24112bff816e75e5.tar.bz2
historical-667eed41ba2ffd507534243e24112bff816e75e5.zip
keymasked new revision
Diffstat (limited to 'dev-tcltk/expect')
-rw-r--r--dev-tcltk/expect/expect-5.37.1-r2.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-tcltk/expect/expect-5.37.1-r2.ebuild b/dev-tcltk/expect/expect-5.37.1-r2.ebuild
index f1a400498f7b..d7e3eca9ee67 100644
--- a/dev-tcltk/expect/expect-5.37.1-r2.ebuild
+++ b/dev-tcltk/expect/expect-5.37.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect/expect-5.37.1-r2.ebuild,v 1.1 2002/10/26 04:02:49 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect/expect-5.37.1-r2.ebuild,v 1.2 2002/10/26 04:17:04 george Exp $
IUSE="X doc"
@@ -12,7 +12,7 @@ SRC_URI="http://expect.nist.gov/src/${P}.tar.gz"
HOMEPAGE="http://expect.nist.gov/"
SLOT="0"
-KEYWORDS="x86 ppc sparc sparc64"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
LICENSE="BSD"
DEPEND=">=dev-lang/tcl-8.2
@@ -58,8 +58,9 @@ src_install () {
#install examples if 'doc' is set
if use doc; then
+ cd ${S}
dodir /usr/share/doc/${PF}/examples/
- cp example/* /usr/share/doc/${PF}/examples/
+ cp example/* ${D}/usr/share/doc/${PF}/examples/
fi
}