diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-11-17 15:58:10 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-11-17 15:58:10 +0000 |
commit | 33385fd203536360873ef57cba4ffd06e126b718 (patch) | |
tree | b770799f9d0052467c83224ef57d9e8f83ed1283 /dev-util/source-highlight/source-highlight-2.11.ebuild | |
parent | additional ebuild cleanup for minor mistakes. use_enable in global scope, nee... (diff) | |
download | historical-33385fd203536360873ef57cba4ffd06e126b718.tar.gz historical-33385fd203536360873ef57cba4ffd06e126b718.tar.bz2 historical-33385fd203536360873ef57cba4ffd06e126b718.zip |
Version bump.
Package-Manager: portage-2.2_rc14/cvs/Linux 2.6.27.5 x86_64
Diffstat (limited to 'dev-util/source-highlight/source-highlight-2.11.ebuild')
-rw-r--r-- | dev-util/source-highlight/source-highlight-2.11.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/source-highlight/source-highlight-2.11.ebuild b/dev-util/source-highlight/source-highlight-2.11.ebuild new file mode 100644 index 000000000000..145864d25bca --- /dev/null +++ b/dev-util/source-highlight/source-highlight-2.11.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/source-highlight-2.11.ebuild,v 1.1 2008/11/17 15:58:10 dev-zero Exp $ + +inherit bash-completion + +DESCRIPTION="Generate highlighted source code as an (x)html document" +HOMEPAGE="http://www.gnu.org/software/src-highlite/source-highlight.html" +SRC_URI="mirror://gnu/src-highlite/${P}.tar.gz" +LICENSE="GPL-3" +KEYWORDS="~amd64 ~mips ~ppc ~x86" +SLOT="0" +IUSE="doc" + +DEPEND=">=dev-libs/boost-1.34.1 + dev-util/ctags" +RDEPEND="${DEPEND}" + +src_install () { + emake DESTDIR="${D}" install || die "make install failed" + + dobashcompletion source-highlight-bash-completion + + # That's not how we want it + rm -fr "${D}/usr/share/doc" "${D}/etc" + dodoc AUTHORS ChangeLog CREDITS NEWS README THANKS TODO.txt + + if use doc ; then + cd "${S}/doc" + dohtml *.{html,css,java} + fi +} |