summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-01-17 06:21:39 +0000
committerTim Harder <radhermit@gentoo.org>2013-01-17 06:21:39 +0000
commitea3aedc87224b2badaf41ccd07edd1d1332742e8 (patch)
tree9bb6952d9a34ae575e4324e9394bbd320a45b53a /app-doc/csound-manual
parentStable on amd64, wrt bug #452626 (diff)
downloadgentoo-2-ea3aedc87224b2badaf41ccd07edd1d1332742e8.tar.gz
gentoo-2-ea3aedc87224b2badaf41ccd07edd1d1332742e8.tar.bz2
gentoo-2-ea3aedc87224b2badaf41ccd07edd1d1332742e8.zip
Version bump.
(Portage version: 2.2.0_alpha151/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-5.19.ebuild64
2 files changed, 71 insertions, 2 deletions
diff --git a/app-doc/csound-manual/ChangeLog b/app-doc/csound-manual/ChangeLog
index cff64c86f3c4..91d6aaecbf26 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-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/csound-manual/ChangeLog,v 1.3 2012/09/02 03:33:27 radhermit Exp $
+# 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 $
+
+*csound-manual-5.19 (17 Jan 2013)
+
+ 17 Jan 2013; Tim Harder <radhermit@gentoo.org> +csound-manual-5.19.ebuild:
+ Version bump.
02 Sep 2012; Tim Harder <radhermit@gentoo.org> csound-manual-5.17.ebuild:
Fix SRC_URI.
diff --git a/app-doc/csound-manual/csound-manual-5.19.ebuild b/app-doc/csound-manual/csound-manual-5.19.ebuild
new file mode 100644
index 000000000000..70b552b2936b
--- /dev/null
+++ b/app-doc/csound-manual/csound-manual-5.19.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/csound-manual/csound-manual-5.19.ebuild,v 1.1 2013/01/17 06:21:39 radhermit Exp $
+
+EAPI=4
+
+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
+}