summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-10-20 09:22:24 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-10-20 09:22:24 +0000
commit068a51a6ea74846442acf3b1115f18344e2e460d (patch)
tree9ba4eebd96896fa81b2df8487ffa31fdd892ca9c /media-sound/cm/cm-2.4.2.ebuild
parentVersion bump. Added KEYWORDS ~amd64. (Manifest recommit) (diff)
downloadgentoo-2-068a51a6ea74846442acf3b1115f18344e2e460d.tar.gz
gentoo-2-068a51a6ea74846442acf3b1115f18344e2e460d.tar.bz2
gentoo-2-068a51a6ea74846442acf3b1115f18344e2e460d.zip
Removing old version. Ebuild cleanup.
Diffstat (limited to 'media-sound/cm/cm-2.4.2.ebuild')
-rw-r--r--media-sound/cm/cm-2.4.2.ebuild29
1 files changed, 14 insertions, 15 deletions
diff --git a/media-sound/cm/cm-2.4.2.ebuild b/media-sound/cm/cm-2.4.2.ebuild
index abcda700954b..63d3afb54baa 100644
--- a/media-sound/cm/cm-2.4.2.ebuild
+++ b/media-sound/cm/cm-2.4.2.ebuild
@@ -1,13 +1,12 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cm/cm-2.4.2.ebuild,v 1.7 2004/09/14 07:26:20 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cm/cm-2.4.2.ebuild,v 1.8 2004/10/20 09:22:24 eradicator Exp $
-IUSE=""
+IUSE="doc"
DESCRIPTION="Common Music: An object oriented music composition environment in LISP/scheme"
HOMEPAGE="http://commonmusic.sourceforge.net"
SRC_URI="mirror://sourceforge/commonmusic/${P}.tar.gz"
-RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
@@ -16,25 +15,25 @@ KEYWORDS="x86 sparc amd64"
DEPEND=">=dev-util/guile-1.6.4"
src_install() {
- dodir /usr/share/${PN}
+ newbin ${FILESDIR}/${PN}-2.4.0-exec ${PN}
+
# the installer part needs the bin dir created
keepdir /usr/share/${PN}/bin
- dodir /usr/share/${PN}/src
+
insinto /usr/share/${PN}/src
doins ${S}/src/*
- insinto /usr/share/${PN}/src/plotter
- doins ${S}/src/plotter/*
- dodir /usr/share/${PN}/etc
+
insinto /usr/share/${PN}/etc
doins ${S}/etc/*
- dodir /usr/share/${PN}/contrib
+
insinto /usr/share/${PN}/contrib
doins ${S}/etc/contrib/*
- dodir /usr/share/${PN}/examples
- insinto /usr/share/${PN}/examples
- doins ${S}/etc/examples/*
- dohtml -r doc/*
- dodoc ${S}/readme.text ${S}/doc/changelog.text
- newexe ${FILESDIR}/${PN}-2.4.0-exec ${PN}
+ if use doc; then
+ insinto /usr/share/doc/${PF}/examples
+ doins ${S}/etc/examples/*
+ dohtml -r doc/*
+ fi
+
+ dodoc ${S}/readme.text ${S}/doc/changelog.text
}