blob: 0431b18a39abcdb4cad4431229339f82259bfb4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/lodgeit/lodgeit-0.3.ebuild,v 1.2 2009/11/19 16:48:07 maekke Exp $
EAPI="2"
DESCRIPTION="Command-line interface to paste.pocoo.org"
HOMEPAGE="http://paste.pocoo.org/"
SRC_URI="http://dev.pocoo.org/hg/lodgeit-main/raw-file/tip/scripts/lodgeit.py
-> ${P}.py
vim? ( http://www.vim.org/scripts/download_script.php?src_id=8848
-> ${P}.vim )"
LICENSE="as-is"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="vim"
RESTRICT="test"
DEPEND=""
RDEPEND="virtual/python
vim? ( || ( app-editors/vim[python] app-editors/gvim[python] ) )"
src_unpack() {
:
}
src_install() {
dobin "${DISTDIR}/${P}.py"
dosym "/usr/bin/${P}.py" "/usr/bin/${PN}"
if use vim; then
insinto /usr/share/vim/vimfiles/plugin
newins "${DISTDIR}/${P}.vim" "${PN}.vim"
fi
}
|