diff options
-rw-r--r-- | app-doc/csound-manual/ChangeLog | 7 | ||||
-rw-r--r-- | app-doc/csound-manual/csound-manual-6.04.ebuild | 64 |
2 files changed, 70 insertions, 1 deletions
diff --git a/app-doc/csound-manual/ChangeLog b/app-doc/csound-manual/ChangeLog index c4f6deadfc65..3f76516ca454 100644 --- a/app-doc/csound-manual/ChangeLog +++ b/app-doc/csound-manual/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-doc/csound-manual # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/csound-manual/ChangeLog,v 1.6 2014/05/28 05:27:50 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-doc/csound-manual/ChangeLog,v 1.7 2014/12/08 01:34:50 radhermit Exp $ + +*csound-manual-6.04 (08 Dec 2014) + + 08 Dec 2014; Tim Harder <radhermit@gentoo.org> +csound-manual-6.04.ebuild: + Version bump. *csound-manual-6.03 (28 May 2014) diff --git a/app-doc/csound-manual/csound-manual-6.04.ebuild b/app-doc/csound-manual/csound-manual-6.04.ebuild new file mode 100644 index 000000000000..13eb424c06b2 --- /dev/null +++ b/app-doc/csound-manual/csound-manual-6.04.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-doc/csound-manual/csound-manual-6.04.ebuild,v 1.1 2014/12/08 01:34:50 radhermit Exp $ + +EAPI=5 + +MY_P=Csound${PV} + +DESCRIPTION="The Csound reference manual" +HOMEPAGE="http://csounds.com/" +SRC_URI=" + mirror://sourceforge/csound/${MY_P}_manual_pdf.zip + linguas_fr? ( mirror://sourceforge/csound/${MY_P}_manual-fr_pdf.zip ) + + html? ( + mirror://sourceforge/csound/${MY_P}_manual_html.zip + linguas_fr? ( mirror://sourceforge/csound/${MY_P}_manual-fr_html.zip ) + )" + +LICENSE="FDL-1.3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="html" + +LANGS=" fr" +IUSE+="${LANGS// / linguas_}" + +DEPEND="app-arch/unzip" + +S=${WORKDIR} + +src_unpack() { + unpack ${MY_P}_manual_pdf.zip + + if use html ; then + unpack ${MY_P}_manual_html.zip + mv html html-en + fi + + local lang + for lang in ${LANGS} ; do + use linguas_${lang} || continue + unpack ${MY_P}_manual-${lang}_pdf.zip + if use html ; then + unpack ${MY_P}_manual-${lang}_html.zip + mv html html-${lang} + fi + done +} + +src_install() { + dodoc *.pdf + + if use html ; then + dohtml -r html-en/* + + local lang + for lang in ${LANGS} ; do + use linguas_${lang} || continue + docinto html-${lang} + dohtml -r html-${lang}/* + done + fi +} |