| 1 |
# Copyright 1999-2008 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcllib/tcllib-1.11.ebuild,v 1.1 2008/10/26 11:35:16 mescalinum Exp $
|
| 4 |
|
| 5 |
DESCRIPTION="Tcl Standard Library."
|
| 6 |
HOMEPAGE="http://www.tcl.tk/software/tcllib/"
|
| 7 |
SRC_URI="mirror://sourceforge/tcllib/${P}.tar.gz"
|
| 8 |
|
| 9 |
LICENSE="BSD"
|
| 10 |
SLOT="0"
|
| 11 |
IUSE="examples"
|
| 12 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~s390 ~sparc ~x86 ~x86-fbsd"
|
| 13 |
|
| 14 |
DEPEND=">=dev-lang/tcl-8.4"
|
| 15 |
|
| 16 |
src_install() {
|
| 17 |
emake DESTDIR="${D}" install || die
|
| 18 |
|
| 19 |
dodoc ChangeLog DESCRIPTION.txt README* STATUS devdoc/*.txt
|
| 20 |
dohtml devdoc/*.html
|
| 21 |
if use examples ; then
|
| 22 |
for f in $(find examples -type f); do
|
| 23 |
docinto $(dirname $f)
|
| 24 |
dodoc $f
|
| 25 |
done
|
| 26 |
fi
|
| 27 |
}
|