diff options
author | Keri Harris <keri@gentoo.org> | 2010-11-20 00:57:18 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2010-11-20 00:57:18 +0000 |
commit | afb2dd1ae8e675a8b04dc3b69ec89015ff1ee8ef (patch) | |
tree | 42c874e2e059b29b653d4365f5b0ab819d478c56 /dev-lang/mozart-stdlib/mozart-stdlib-1.4.0-r1.ebuild | |
parent | Fix obvious typo. (diff) | |
download | historical-afb2dd1ae8e675a8b04dc3b69ec89015ff1ee8ef.tar.gz historical-afb2dd1ae8e675a8b04dc3b69ec89015ff1ee8ef.tar.bz2 historical-afb2dd1ae8e675a8b04dc3b69ec89015ff1ee8ef.zip |
Drop doc USE flag since ozmake always installs docs; install docs into /usr/share/doc
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/mozart-stdlib/mozart-stdlib-1.4.0-r1.ebuild')
-rw-r--r-- | dev-lang/mozart-stdlib/mozart-stdlib-1.4.0-r1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-lang/mozart-stdlib/mozart-stdlib-1.4.0-r1.ebuild b/dev-lang/mozart-stdlib/mozart-stdlib-1.4.0-r1.ebuild new file mode 100644 index 000000000000..acf282a13503 --- /dev/null +++ b/dev-lang/mozart-stdlib/mozart-stdlib-1.4.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mozart-stdlib/mozart-stdlib-1.4.0-r1.ebuild,v 1.1 2010/11/20 00:57:18 keri Exp $ + +EAPI="2" + +inherit eutils + +MY_P="mozart-${PV}.20080704-std" + +DESCRIPTION="The Mozart Standard Library" +HOMEPAGE="http://www.mozart-oz.org/" +SRC_URI="http://www.mozart-oz.org/download/mozart-ftp/store/1.4.0-2008-07-02-tar/mozart-1.4.0.20080704-std.tar.gz" +LICENSE="Mozart" + +SLOT="0" +KEYWORDS="-amd64 ~ppc -ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="dev-lang/mozart" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-ozload.patch + epatch "${FILESDIR}"/${P}-docroot.patch +} + +src_install() { + emake \ + PREFIX="${D}"/usr/lib/mozart \ + DOCROOT="${D}"/usr/share/doc/${PF} \ + install || die "emake install failed" + + dosym /usr/lib/mozart/bin/ozmake /usr/bin/ozmake || die + + doman ozmake/ozmake.1 || die + docinto mozart-ozmake + dodoc ozmake/{DESIGN,NOTES,README} || die +} |