summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/wklej')
-rw-r--r--app-text/wklej/ChangeLog57
-rw-r--r--app-text/wklej/metadata.xml3
-rw-r--r--app-text/wklej/wklej-0.1.5.ebuild36
3 files changed, 45 insertions, 51 deletions
diff --git a/app-text/wklej/ChangeLog b/app-text/wklej/ChangeLog
index 057689a33dba..fe1ee8d4f57a 100644
--- a/app-text/wklej/ChangeLog
+++ b/app-text/wklej/ChangeLog
@@ -1,56 +1,11 @@
# ChangeLog for app-text/wklej
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/wklej/ChangeLog,v 1.12 2008/10/01 22:34:27 cla Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/wklej/ChangeLog,v 1.13 2008/10/09 18:23:50 cla Exp $
- 01 Oct 2008; Dawid Węgliński <cla@gentoo.org> wklej-0.1.3.ebuild:
- Stable on x86 (bug #238465)
+*wklej-0.1.5 (09 Oct 2008)
- 30 Sep 2008; Jeremy Olexa <darkside@gentoo.org> wklej-0.1.3.ebuild:
- amd64 stable, bug #238465
-
-*wklej-0.1.4 (29 Sep 2008)
-
- 29 Sep 2008; Dawid Węgliński <cla@gentoo.org> +wklej-0.1.4.ebuild:
- Version bump (bug #238982)
-
-*wklej-0.1.3 (18 Sep 2008)
-
- 18 Sep 2008; Dawid Węgliński <cla@gentoo.org> +wklej-0.1.3.ebuild:
- Version bump (bug #238015), thanks to Paweł Kilian
-
- 17 Sep 2008; Dawid Węgliński <cla@gentoo.org> -wklej-0.0.5.ebuild,
- -wklej-0.0.9.ebuild:
- Remove p.masked versions
-
-*wklej-0.1.2 (22 Aug 2008)
-
- 22 Aug 2008; Dawid Węgliński <cla@gentoo.org> +wklej-0.1.2.ebuild:
- Version bump, fix bug #235452
-
-*wklej-0.1.1 (20 Aug 2008)
-
- 20 Aug 2008; Dawid Węgliński <cla@gentoo.org> +wklej-0.1.1.ebuild:
- Version bump, thanks to Paweł Kilian for ebuild
-
-*wklej-0.0.9 (19 Aug 2007)
-
- 19 Aug 2007; Jurek Bartuszek <jurek@gentoo.org> wklej-0.0.5.ebuild,
- +wklej-0.0.9.ebuild:
- - Version bump (bug #189122)
- - Changed description
-
- 21 Jun 2007; Christian Faulhammer <opfer@gentoo.org> wklej-0.0.5.ebuild:
- stable x86, bug 173282
-
- 20 Jun 2007; Christoph Mende <angelos@gentoo.org> wklej-0.0.5.ebuild:
- Stable on amd64 wrt bug 173282
-
- 19 Jun 2007; Jurek Bartuszek <jurek@gentoo.org> wklej-0.0.5.ebuild:
- Added ~x86-fbsd keyword
-
-*wklej-0.0.5 (23 Apr 2007)
-
- 23 Apr 2007; Jurek Bartuszek <jurek@gentoo.org> +metadata.xml,
- +wklej-0.0.5.ebuild:
- Initial version (fixes bug #173282)
+ 09 Oct 2008; Dawid Węgliński <cla@gentoo.org> metadata.xml,
+ +wklej-0.1.5.ebuild:
+ Version bump (thanks to Antoni <awaria at chopin.edu.pl> and Paweł <pkilian
+ at wklej.org> for working on ebuild
diff --git a/app-text/wklej/metadata.xml b/app-text/wklej/metadata.xml
index 9cf09a6be010..5120242f204a 100644
--- a/app-text/wklej/metadata.xml
+++ b/app-text/wklej/metadata.xml
@@ -6,4 +6,7 @@
<email>jurek@gentoo.org</email>
<name>Jurek Bartuszek</name>
</maintainer>
+ <use>
+ <flag name='vim'>Install vim plugin allowing to paste from vim by :Wklej</flag>
+ </use>
</pkgmetadata>
diff --git a/app-text/wklej/wklej-0.1.5.ebuild b/app-text/wklej/wklej-0.1.5.ebuild
new file mode 100644
index 000000000000..ca8bd7945313
--- /dev/null
+++ b/app-text/wklej/wklej-0.1.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/wklej/wklej-0.1.5.ebuild,v 1.1 2008/10/09 18:23:50 cla Exp $
+
+EAPI=1
+
+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="~x86 ~amd64"
+IUSE="+vim"
+
+DEPEND="${RDEPEND}"
+RDEPEND="dev-lang/python
+ vim? ( app-editors/vim )"
+
+pkg_setup() {
+ if use vim && ! built_with_use app-editors/vim python; then
+ eerror "app-editors/vim must be compiled with USE=python"
+ die "app-editors/vim must be compiled with USE=python"
+ fi
+}
+
+src_install() {
+ if use vim; then
+ insinto /usr/share/vim/vimfiles/plugin
+ doins "${WORKDIR}"/${PN}.vim
+ fi
+
+ dobin "${WORKDIR}"/${PN}
+}