summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-02-05 11:28:14 +0000
committerTim Harder <radhermit@gentoo.org>2014-02-05 11:28:14 +0000
commit1bee82d008452992d909da61c4ad27d684b1722d (patch)
treeba169c0d0495e3e8b96b4334aab8f4904ed1bd23 /app-doc/csound-manual
parentMigrate to usex. Apply upstream patch to avoid crashing at exporting to lilyp... (diff)
downloadgentoo-2-1bee82d008452992d909da61c4ad27d684b1722d.tar.gz
gentoo-2-1bee82d008452992d909da61c4ad27d684b1722d.tar.bz2
gentoo-2-1bee82d008452992d909da61c4ad27d684b1722d.zip
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'app-doc/csound-manual')
-rw-r--r--app-doc/csound-manual/ChangeLog9
-rw-r--r--app-doc/csound-manual/csound-manual-6.01.ebuild64
2 files changed, 71 insertions, 2 deletions
diff --git a/app-doc/csound-manual/ChangeLog b/app-doc/csound-manual/ChangeLog
index 91d6aaecbf26..4e7ce1f1ce4d 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-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/csound-manual/ChangeLog,v 1.4 2013/01/17 06:21:39 radhermit Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/csound-manual/ChangeLog,v 1.5 2014/02/05 11:28:14 radhermit Exp $
+
+*csound-manual-6.01 (05 Feb 2014)
+
+ 05 Feb 2014; Tim Harder <radhermit@gentoo.org> +csound-manual-6.01.ebuild:
+ Version bump.
*csound-manual-5.19 (17 Jan 2013)
diff --git a/app-doc/csound-manual/csound-manual-6.01.ebuild b/app-doc/csound-manual/csound-manual-6.01.ebuild
new file mode 100644
index 000000000000..9f2d3d7fab7d
--- /dev/null
+++ b/app-doc/csound-manual/csound-manual-6.01.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.01.ebuild,v 1.1 2014/02/05 11:28:14 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
+}