diff options
author | Alex Alexander <wired@gentoo.org> | 2010-08-28 10:24:37 +0000 |
---|---|---|
committer | Alex Alexander <wired@gentoo.org> | 2010-08-28 10:24:37 +0000 |
commit | ae7040137b27f78230559fc52070bef5be46527c (patch) | |
tree | 95dbeda94a4f13bb7a01d0c11cdaf7a5a46159cd /www-client/luakit | |
parent | alpha/ia64/s390/sh/sparc stable wrt #332957 (diff) | |
download | gentoo-2-ae7040137b27f78230559fc52070bef5be46527c.tar.gz gentoo-2-ae7040137b27f78230559fc52070bef5be46527c.tar.bz2 gentoo-2-ae7040137b27f78230559fc52070bef5be46527c.zip |
added vim-syntax USE flag
(Portage version: 2.2_rc71/cvs/Linux x86_64)
Diffstat (limited to 'www-client/luakit')
-rw-r--r-- | www-client/luakit/ChangeLog | 5 | ||||
-rw-r--r-- | www-client/luakit/luakit-9999.ebuild | 22 |
2 files changed, 22 insertions, 5 deletions
diff --git a/www-client/luakit/ChangeLog b/www-client/luakit/ChangeLog index e71bad50480d..6e10621a7987 100644 --- a/www-client/luakit/ChangeLog +++ b/www-client/luakit/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for www-client/luakit # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v 1.5 2010/08/27 12:00:23 wired Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v 1.6 2010/08/28 10:24:37 wired Exp $ + + 28 Aug 2010; Alex Alexander <wired@gentoo.org> luakit-9999.ebuild: + added vim-syntax USE flag 27 Aug 2010; Alex Alexander <wired@gentoo.org> luakit-9999.ebuild: respect user-defined branch and/or commit. keep the develop branch as diff --git a/www-client/luakit/luakit-9999.ebuild b/www-client/luakit/luakit-9999.ebuild index f7f96ff123df..e0052f981643 100644 --- a/www-client/luakit/luakit-9999.ebuild +++ b/www-client/luakit/luakit-9999.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/luakit-9999.ebuild,v 1.5 2010/08/27 12:00:23 wired Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/luakit-9999.ebuild,v 1.6 2010/08/28 10:24:37 wired Exp $ EAPI=3 -IUSE="" +IUSE="vim-syntax" if [[ ${PV} == *9999* ]]; then inherit git @@ -25,7 +25,7 @@ HOMEPAGE="http://www.luakit.org" LICENSE="GPL-3" SLOT="0" -RDEPEND=" +COMMON_DEPEND=" >=dev-lang/lua-5.1 dev-libs/glib:2 net-libs/libsoup @@ -36,7 +36,12 @@ RDEPEND=" DEPEND=" dev-util/gperf sys-apps/help2man - ${RDEPEND} + ${COMMON_DEPEND} +" + +RDEPEND=" + ${COMMON_DEPEND} + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) " src_prepare() { @@ -55,4 +60,13 @@ src_compile() { src_install() { emake PREFIX="/usr" DESTDIR="${D}" DOCDIR="${D}/usr/share/doc/${PF}" install || die "Installation failed" + + if use vim-syntax; then + local t + for t in $(ls "${S}"/extras/vim/); do + insinto /usr/share/vim/vimfiles/"${t}" + doins "${S}"/extras/vim/"${t}"/luakit.vim || + die "vim-${t} doins failed" + done + fi } |