1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="An improved dynamic tiling window manager"
10 HOMEPAGE="http://i3.zekjur.net/"
12 EGIT_REPO_URI="git://code.stapelberg.de/i3"
20 RDEPEND=">=x11-libs/libxcb-1.1.93
21 >=x11-libs/xcb-util-0.3.3
25 >=x11-proto/xcb-proto-1.3
26 >=app-text/asciidoc-8.3
28 app-text/docbook-xml-dtd"
31 use debug || { sed -i -e "s:DEBUG=1:DEBUG=0:" common.mk || die "sed die - debug" ; }
33 -e "s:/usr/local/include:/usr/include:" \
34 -e "s:/usr/local/lib:/usr/$(get_libdir):" \
35 common.mk || die "sed die"
39 emake || die "emake compile die"
40 emake -C man || die "emake man die"
41 use doc && { emake -C docs || die "emake docs die" ; }
45 emake DESTDIR="${D}" install || die "emake install die"
46 dodoc GOALS TODO CMDMODE || die "dodoc die"
47 doman man/i3.1 man/i3-msg.1 || die "doman die"
49 dohtml -r docs/*.html || die "dohtml die"
50 elog "Documentation in html is in /etc/share/doc/${P}"