# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/wklej/wklej-0.1.7.ebuild,v 1.4 2010/05/21 19:00:53 pacho Exp $ EAPI=2 inherit eutils DESCRIPTION="A wklej.org submitter" HOMEPAGE="http://wklej.org" SRC_URI="http://wklej.org/m/apps/wklej-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86 ~x86-fbsd" IUSE="+vim" DEPEND="${RDEPEND}" RDEPEND="dev-lang/python vim? ( app-editors/vim[python] )" src_install() { if use vim; then insinto /usr/share/vim/vimfiles/plugin doins "${WORKDIR}"/${PN}.vim || die fi dobin "${WORKDIR}"/${PN} || die dodoc "${WORKDIR}"/README || die elog "A new feature was added since version 0.1.6" elog "Now you can use ~/.wklejrc which allows you to pastebin as" elog "an authorized user." elog "Check out the README file in /usr/share/doc/${PN}-${PV}/README" }