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
commit70aa01c86e9225b522de93f19e7d07f0f386fea6 (patch)
tree3be1bc66ca8ec50066ba22d29fa15c0a2e9393f0 /dev-tcltk
parentadded optional installation of examples (if 'doc' is defined) (diff)
downloadgentoo-2-70aa01c86e9225b522de93f19e7d07f0f386fea6.tar.gz
gentoo-2-70aa01c86e9225b522de93f19e7d07f0f386fea6.tar.bz2
gentoo-2-70aa01c86e9225b522de93f19e7d07f0f386fea6.zip
keymasked new revision
Diffstat (limited to 'dev-tcltk')
-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
}