# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Command-line flags module for Unix shell scripts" HOMEPAGE="http://code.google.com/p/shflags/" SRC_URI="http://shflags.googlecode.com/files/${P}.tgz" LICENSE="LGPL-3" SLOT="0" KEYWORDS="~x86" IUSE="doc" src_install() { insinto /usr/lib/shflags doins src/shflags if use doc; then dodoc README.txt dohtml README.html dodoc doc/CHANGES-1.0.txt dodoc doc/RELEASE_NOTES-1.0.0.txt dodoc examples/hello_world.sh fi }