diff options
Diffstat (limited to 'app-text/wiki2beamer/wiki2beamer-0.9.5-r1.ebuild')
-rw-r--r-- | app-text/wiki2beamer/wiki2beamer-0.9.5-r1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-text/wiki2beamer/wiki2beamer-0.9.5-r1.ebuild b/app-text/wiki2beamer/wiki2beamer-0.9.5-r1.ebuild new file mode 100644 index 000000000000..ec1a6975a7b0 --- /dev/null +++ b/app-text/wiki2beamer/wiki2beamer-0.9.5-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/wiki2beamer/wiki2beamer-0.9.5-r1.ebuild,v 1.1 2015/01/18 23:29:54 mgorny Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit python-single-r1 + +DESCRIPTION="Tool to produce LaTeX Beamer code from wiki-like input" + +HOMEPAGE="http://wiki2beamer.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip" + +LICENSE="|| ( GPL-2 GPL-3 ) FDL-1.3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+examples" + +DEPEND="app-arch/unzip" +RDEPEND="" + +src_install() { + if use examples; then + # Patch example Makefile + sed -e 's|../../code/wiki2beamer|wiki2beamer|' \ + -i doc/example/Makefile \ + || die + + dodoc -r doc/example + fi + + doman doc/man/${PN}.1 + dodoc ChangeLog README + + python_doscript code/${PN} +} |