summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2007-02-16 23:58:26 +0000
committerKeri Harris <keri@gentoo.org>2007-02-16 23:58:26 +0000
commite70e9ceb1f036d46487dedea54088af46c73d6f0 (patch)
treea033e642c4847c34a768ea50d1cd16bae53ab91a /dev-lang
parentAdd use ao to amd64 package.use.mask (diff)
downloadgentoo-2-e70e9ceb1f036d46487dedea54088af46c73d6f0.tar.gz
gentoo-2-e70e9ceb1f036d46487dedea54088af46c73d6f0.tar.bz2
gentoo-2-e70e9ceb1f036d46487dedea54088af46c73d6f0.zip
Initial import
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/mozart-stdlib/ChangeLog11
-rw-r--r--dev-lang/mozart-stdlib/Manifest24
-rw-r--r--dev-lang/mozart-stdlib/files/digest-mozart-stdlib-1.3.23
-rw-r--r--dev-lang/mozart-stdlib/files/mozart-stdlib-1.3.2-doc.patch179
-rw-r--r--dev-lang/mozart-stdlib/files/mozart-stdlib-1.3.2-ozmake.patch78
-rw-r--r--dev-lang/mozart-stdlib/metadata.xml9
-rw-r--r--dev-lang/mozart-stdlib/mozart-stdlib-1.3.2.ebuild49
7 files changed, 353 insertions, 0 deletions
diff --git a/dev-lang/mozart-stdlib/ChangeLog b/dev-lang/mozart-stdlib/ChangeLog
new file mode 100644
index 000000000000..b86449cf250a
--- /dev/null
+++ b/dev-lang/mozart-stdlib/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-lang/mozart-stdlib
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mozart-stdlib/ChangeLog,v 1.1 2007/02/16 23:58:26 keri Exp $
+
+*mozart-stdlib-1.3.2 (16 Feb 2007)
+
+ 16 Feb 2007; keri <keri@gentoo.org> +files/mozart-stdlib-1.3.2-doc.patch,
+ +files/mozart-stdlib-1.3.2-ozmake.patch, +metadata.xml,
+ +mozart-stdlib-1.3.2.ebuild:
+ Initial import.
+
diff --git a/dev-lang/mozart-stdlib/Manifest b/dev-lang/mozart-stdlib/Manifest
new file mode 100644
index 000000000000..7afe3d5eb1e4
--- /dev/null
+++ b/dev-lang/mozart-stdlib/Manifest
@@ -0,0 +1,24 @@
+AUX mozart-stdlib-1.3.2-doc.patch 5894 RMD160 9563f12e64a3db76ab227c519e8b176b5e44f827 SHA1 c7a56b615fb690eb520eb85402f8cc034ff198c5 SHA256 a128c25e1f1a9f7810f1afb64176a3e10e7ea80920c2c0f76bc4a8ae7a86d806
+MD5 2acafab82dcd6acb41ae5a329eed2c27 files/mozart-stdlib-1.3.2-doc.patch 5894
+RMD160 9563f12e64a3db76ab227c519e8b176b5e44f827 files/mozart-stdlib-1.3.2-doc.patch 5894
+SHA256 a128c25e1f1a9f7810f1afb64176a3e10e7ea80920c2c0f76bc4a8ae7a86d806 files/mozart-stdlib-1.3.2-doc.patch 5894
+AUX mozart-stdlib-1.3.2-ozmake.patch 3674 RMD160 15d8b19da6c5107dbeb3dc407f8b0aea84eb2050 SHA1 f6ba3828d7c2a4173741227aa66d6b804792d729 SHA256 69bf462c819a68ecab085f56d7db807b20b456683a512a57ffb5717c23e81d3b
+MD5 8d7d459707291922712d561c96efea90 files/mozart-stdlib-1.3.2-ozmake.patch 3674
+RMD160 15d8b19da6c5107dbeb3dc407f8b0aea84eb2050 files/mozart-stdlib-1.3.2-ozmake.patch 3674
+SHA256 69bf462c819a68ecab085f56d7db807b20b456683a512a57ffb5717c23e81d3b files/mozart-stdlib-1.3.2-ozmake.patch 3674
+DIST mozart-1.3.2.20060615-std.tar.gz 1203535 RMD160 e2d5de149ad97f7e5b0cbc87df06893b6b13bd68 SHA1 2d82a1300bd7fc50a0b8f2735fdf425129f24cba SHA256 d1166a95ec71091bf9b8af28d9350269e73b0d55e8b7e2ab619fafafa6f68870
+EBUILD mozart-stdlib-1.3.2.ebuild 938 RMD160 ceb4fea4782f8547d235e85ec9dd7e9548d385b2 SHA1 e0f0f3c9c43a57d88c3853efec8a503785f686b8 SHA256 0b769254c104579f0554fa7b35bb553fe44d894912a73f12d2a2d36cdcaa4abe
+MD5 85f3ce305f877406c183f7719d7f42ff mozart-stdlib-1.3.2.ebuild 938
+RMD160 ceb4fea4782f8547d235e85ec9dd7e9548d385b2 mozart-stdlib-1.3.2.ebuild 938
+SHA256 0b769254c104579f0554fa7b35bb553fe44d894912a73f12d2a2d36cdcaa4abe mozart-stdlib-1.3.2.ebuild 938
+MISC ChangeLog 343 RMD160 15e4ea43c011de5e57910c59d672680a1d3480eb SHA1 acd70ad7adc29976411275f3ad130f6ea09cc59c SHA256 a65a8f826fe11390634264e6d198d00e03e415685068a5af386e8e1611467472
+MD5 576eed6a5f0f9275e8b098693bee8665 ChangeLog 343
+RMD160 15e4ea43c011de5e57910c59d672680a1d3480eb ChangeLog 343
+SHA256 a65a8f826fe11390634264e6d198d00e03e415685068a5af386e8e1611467472 ChangeLog 343
+MISC metadata.xml 247 RMD160 1b3df3c501d9a3b2e2651668be405677e8416397 SHA1 7b705a8a3368abab6ad31ea2fcb5e5db865d92b1 SHA256 2768d0688d443184194068497dcafb2e5d67521980cb46b7e8efc07d3900bcaa
+MD5 6fca20d17d6d55a28537204aa9bb626f metadata.xml 247
+RMD160 1b3df3c501d9a3b2e2651668be405677e8416397 metadata.xml 247
+SHA256 2768d0688d443184194068497dcafb2e5d67521980cb46b7e8efc07d3900bcaa metadata.xml 247
+MD5 d426638448a262762b7483b7f57c3e8e files/digest-mozart-stdlib-1.3.2 280
+RMD160 5b0c527a87530fd8ed535724b8807f5915a90bdd files/digest-mozart-stdlib-1.3.2 280
+SHA256 2e8c0eec38b0f5dbe56ab2a240df925a15544649b248b42645c148dd4e6461c3 files/digest-mozart-stdlib-1.3.2 280
diff --git a/dev-lang/mozart-stdlib/files/digest-mozart-stdlib-1.3.2 b/dev-lang/mozart-stdlib/files/digest-mozart-stdlib-1.3.2
new file mode 100644
index 000000000000..dda0555237ab
--- /dev/null
+++ b/dev-lang/mozart-stdlib/files/digest-mozart-stdlib-1.3.2
@@ -0,0 +1,3 @@
+MD5 0daf6c873990bebdde550ec1fd70bdb6 mozart-1.3.2.20060615-std.tar.gz 1203535
+RMD160 e2d5de149ad97f7e5b0cbc87df06893b6b13bd68 mozart-1.3.2.20060615-std.tar.gz 1203535
+SHA256 d1166a95ec71091bf9b8af28d9350269e73b0d55e8b7e2ab619fafafa6f68870 mozart-1.3.2.20060615-std.tar.gz 1203535
diff --git a/dev-lang/mozart-stdlib/files/mozart-stdlib-1.3.2-doc.patch b/dev-lang/mozart-stdlib/files/mozart-stdlib-1.3.2-doc.patch
new file mode 100644
index 000000000000..1752bb9f5187
--- /dev/null
+++ b/dev-lang/mozart-stdlib/files/mozart-stdlib-1.3.2-doc.patch
@@ -0,0 +1,179 @@
+diff -ur mozart-1.3.2.20060615-std.orig/adt/makefile.oz mozart-1.3.2.20060615-std/adt/makefile.oz
+--- mozart-1.3.2.20060615-std.orig/adt/makefile.oz 2004-05-19 11:40:35.000000000 +1200
++++ mozart-1.3.2.20060615-std/adt/makefile.oz 2007-02-17 12:29:43.000000000 +1300
+@@ -4,14 +4,5 @@
+ 'Dictionary.ozf' 'Cell.ozf'
+ %%'Generator.ozf'
+ ]
+- doc : [
+- 'index.html'
+- 'cell.html'
+- 'counter.html'
+- 'dictionary.html'
+- %%'generator.html'
+- 'queue.html'
+- 'stack.html'
+- ]
+
+ )
+diff -ur mozart-1.3.2.20060615-std.orig/makefile.oz mozart-1.3.2.20060615-std/makefile.oz
+--- mozart-1.3.2.20060615-std.orig/makefile.oz 2004-05-19 20:05:19.000000000 +1200
++++ mozart-1.3.2.20060615-std/makefile.oz 2007-02-17 12:29:25.000000000 +1300
+@@ -10,12 +10,4 @@
+ 'os'
+ 'net'
+ ]
+- doc : [
+- 'index.html'
+- 'ozdoc.css'
+- 'page.gif'
+- 'string.html'
+- 'mapping.html'
+- 'generator.html'
+- ]
+ )
+diff -ur mozart-1.3.2.20060615-std.orig/net/makefile.oz mozart-1.3.2.20060615-std/net/makefile.oz
+--- mozart-1.3.2.20060615-std.orig/net/makefile.oz 2004-05-18 11:33:41.000000000 +1200
++++ mozart-1.3.2.20060615-std/net/makefile.oz 2007-02-17 12:29:54.000000000 +1300
+@@ -1,4 +1,3 @@
+ makefile(
+ lib : ['URL.ozf']
+- doc : ['index.html' 'url.html']
+ )
+\ No newline at end of file
+diff -ur mozart-1.3.2.20060615-std.orig/os/makefile.oz mozart-1.3.2.20060615-std/os/makefile.oz
+--- mozart-1.3.2.20060615-std.orig/os/makefile.oz 2004-05-18 11:33:41.000000000 +1200
++++ mozart-1.3.2.20060615-std/os/makefile.oz 2007-02-17 12:30:07.000000000 +1300
+@@ -1,4 +1,3 @@
+ makefile(
+ lib : ['Path.ozf' 'Shell.ozf']
+- doc : ['index.html' 'path.html' 'shell.html']
+ )
+diff -ur mozart-1.3.2.20060615-std.orig/wp/makefile.oz mozart-1.3.2.20060615-std/wp/makefile.oz
+--- mozart-1.3.2.20060615-std.orig/wp/makefile.oz 2004-05-18 11:33:41.000000000 +1200
++++ mozart-1.3.2.20060615-std/wp/makefile.oz 2007-02-17 12:30:24.000000000 +1300
+@@ -2,5 +2,4 @@
+ subdirs : ['qtk'
+ %'qhtml'
+ ]
+- doc : ['index.html']
+ )
+diff -ur mozart-1.3.2.20060615-std.orig/wp/qtk/makefile.oz mozart-1.3.2.20060615-std/wp/qtk/makefile.oz
+--- mozart-1.3.2.20060615-std.orig/wp/qtk/makefile.oz 2004-02-28 03:05:22.000000000 +1300
++++ mozart-1.3.2.20060615-std/wp/qtk/makefile.oz 2007-02-17 12:31:29.000000000 +1300
+@@ -117,96 +117,4 @@
+ %%src : ['QTk.ozf' 'QTkDevel.ozf' 'QTkBare.ozf']
+ rules : o(
+ 'QTk.ozf' : ozl('QTkBare.ozf'))
+- doc : ['html/button.gif'
+- 'html/bwoz1.gif'
+- 'html/canvas.gif'
+- 'html/checkbutton.gif'
+- 'html/color.gif'
+- 'html/dropdownlistbox.gif'
+- 'html/entry.gif'
+- 'html/grid.gif'
+- 'html/index.html'
+- 'html/label.gif'
+- 'html/line.gif'
+- 'html/listbox.gif'
+- 'html/listcont.oz'
+- 'html/load.gif'
+- 'html/menubutton.gif'
+- 'html/message.gif'
+- 'html/node1.html'
+- 'html/node10.html'
+- 'html/node11.html'
+- 'html/node12.html'
+- 'html/node13.html'
+- 'html/node14.html'
+- 'html/node15.html'
+- 'html/node16.html'
+- 'html/node17.html'
+- 'html/node18.html'
+- 'html/node19.html'
+- 'html/node2.html'
+- 'html/node20.html'
+- 'html/node21.html'
+- 'html/node22.html'
+- 'html/node23.html'
+- 'html/node24.html'
+- 'html/node25.html'
+- 'html/node26.html'
+- 'html/node27.html'
+- 'html/node28.html'
+- 'html/node29.html'
+- 'html/node3.html'
+- 'html/node30.html'
+- 'html/node31.html'
+- 'html/node32.html'
+- 'html/node33.html'
+- 'html/node34.html'
+- 'html/node35.html'
+- 'html/node36.html'
+- 'html/node37.html'
+- 'html/node38.html'
+- 'html/node39.html'
+- 'html/node4.html'
+- 'html/node40.html'
+- 'html/node41.html'
+- 'html/node42.html'
+- 'html/node43.html'
+- 'html/node44.html'
+- 'html/node45.html'
+- 'html/node5.html'
+- 'html/node6.html'
+- 'html/node7.html'
+- 'html/node8.html'
+- 'html/node9.html'
+- 'html/notepad.oz'
+- 'html/numberentry.gif'
+- 'html/ozdoc.css'
+- 'html/page.gif'
+- 'html/panel.gif'
+- 'html/picture1.gif'
+- 'html/picture10.gif'
+- 'html/picture100.gif'
+- 'html/picture11.gif'
+- 'html/picture2.gif'
+- 'html/picture3.gif'
+- 'html/picture4.gif'
+- 'html/picture5.gif'
+- 'html/picture6.gif'
+- 'html/picture8.gif'
+- 'html/picture9.gif'
+- 'html/placeholder.gif'
+- 'html/printcanvas.gif'
+- 'html/radiobutton.gif'
+- 'html/rubberframe.gif'
+- 'html/scale.gif'
+- 'html/scrollbar.gif'
+- 'html/scrollframe.gif'
+- 'html/space.gif'
+- 'html/tbbutton.gif'
+- 'html/tbcheckbutton.gif'
+- 'html/tbradiobutton.gif'
+- 'html/tdlr.gif'
+- 'html/text.gif'
+- 'html/toplevel.gif'
+- ]
+ )
+diff -ur mozart-1.3.2.20060615-std.orig/xml/makefile.oz mozart-1.3.2.20060615-std/xml/makefile.oz
+--- mozart-1.3.2.20060615-std.orig/xml/makefile.oz 2004-05-18 11:33:42.000000000 +1200
++++ mozart-1.3.2.20060615-std/xml/makefile.oz 2007-02-17 12:31:52.000000000 +1300
+@@ -1,4 +1,3 @@
+ makefile(
+ subdirs:['parser']
+- doc : ['index.html']
+ )
+\ No newline at end of file
+diff -ur mozart-1.3.2.20060615-std.orig/xml/parser/makefile.oz mozart-1.3.2.20060615-std/xml/parser/makefile.oz
+--- mozart-1.3.2.20060615-std.orig/xml/parser/makefile.oz 2004-05-18 11:33:42.000000000 +1200
++++ mozart-1.3.2.20060615-std/xml/parser/makefile.oz 2007-02-17 12:37:58.000000000 +1300
+@@ -1,6 +1,5 @@
+ makefile(
+ lib : ['Parser.ozf']
+- doc : ['index.html' 'example.xml']
+ version : '0.5'
+ uri : 'x-oz://system/xml'
+ % mogul : 'mogul:/duchier/xml/parser'
diff --git a/dev-lang/mozart-stdlib/files/mozart-stdlib-1.3.2-ozmake.patch b/dev-lang/mozart-stdlib/files/mozart-stdlib-1.3.2-ozmake.patch
new file mode 100644
index 000000000000..1f6b2022001c
--- /dev/null
+++ b/dev-lang/mozart-stdlib/files/mozart-stdlib-1.3.2-ozmake.patch
@@ -0,0 +1,78 @@
+diff -ur mozart-1.3.2.20060615-std.orig/Makefile.in mozart-1.3.2.20060615-std/Makefile.in
+--- mozart-1.3.2.20060615-std.orig/Makefile.in 2004-05-19 02:22:05.000000000 +1200
++++ mozart-1.3.2.20060615-std/Makefile.in 2007-02-17 11:12:09.000000000 +1300
+@@ -12,6 +12,7 @@
+ NOTDIRSRCDIR = $(notdir $(SRCDIR))
+ BUILDDATE = $(shell date '+%Y%m%d')
+ VERSION = $(shell $(OZTOOL) version)
++BINDIR = /usr/bin
+
+ ifeq ($(PLATFORM),win32-i486)
+ OZEMULATOR = $(shell $(CYGPATH) $(PREFIX)/platform/win32-i486/emulator.dll)
+@@ -22,11 +23,14 @@
+ $(OZENGINE) ozmake/ozmake.ozf --prefix=$(CYG_PREFIX) --srcdir=$(CYG_SRCDIR)
+
+ build.ozmake:
+- cd ozmake && $(MAKE) ozmake.ozf
++ cd ozmake && $(MAKE) ozmake
+
+ install: all
+ $(OZENGINE) ozmake/ozmake.ozf --prefix=$(CYG_PREFIX) --srcdir=$(CYG_SRCDIR) --install --nosavedb
+ $(OZENGINE) ozmake/ozmake.ozf --prefix=$(CYG_PREFIX) --srcdir=$(CYG_SRCDIR)/ozmake --builddir=$(CYG_BUILDDIR_OZMAKE) --install --nosavedb
++ mkdir -p $(BINDIR)
++ cp ozmake/ozmake $(BINDIR)
++ chmod +x $(BINDIR)/ozmake
+
+ export CLEANDIR
+
+diff -ur mozart-1.3.2.20060615-std.orig/ozmake/Attribs.oz mozart-1.3.2.20060615-std/ozmake/Attribs.oz
+--- mozart-1.3.2.20060615-std.orig/ozmake/Attribs.oz 2004-05-15 03:21:43.000000000 +1200
++++ mozart-1.3.2.20060615-std/ozmake/Attribs.oz 2007-02-17 09:29:47.000000000 +1300
+@@ -458,7 +458,7 @@
+ end
+
+ meth get_oz_home($) {Path.expand {Property.get 'oz.home'}} end
+- meth get_oz_bindir($) {Path.resolve Attribs,get_oz_home($) 'bin'} end
++ meth get_oz_bindir($) {Path.resolve '/usr' 'bin'} end
+ meth get_oz_engine($)
+ if @OzEngine==unit then
+ P={Path.resolveAtom Attribs,get_oz_bindir($) 'ozengine.exe'}
+diff -ur mozart-1.3.2.20060615-std.orig/ozmake/Makefile.in mozart-1.3.2.20060615-std/ozmake/Makefile.in
+--- mozart-1.3.2.20060615-std.orig/ozmake/Makefile.in 2004-04-01 00:52:55.000000000 +1200
++++ mozart-1.3.2.20060615-std/ozmake/Makefile.in 2007-02-17 10:55:26.000000000 +1300
+@@ -37,8 +37,8 @@
+
+ # these additional 2 lines makes it possible to build in a directory
+ # different from the source directory
+-OZLOAD = prefix=$(CYGSRCDIR)=$(CYGBUILDDIR)$(OZLOADSEP)root=$(CYGBUILDDIR)$(OZLOADSEP)root=$(CYGSRCDIR)$(OZLOADSEP)cache=~/.oz/cache$(OZLOADSEP)cache=$(OZHOME)/cache
+-export OZLOAD
++# OZLOAD = prefix=$(CYGSRCDIR)=$(CYGBUILDDIR)$(OZLOADSEP)root=$(CYGBUILDDIR)$(OZLOADSEP)root=$(CYGSRCDIR)$(OZLOADSEP)cache=~/.oz/cache$(OZLOADSEP)cache=$(OZHOME)/cache
++# export OZLOAD
+
+ XSLTPROC = @VAR_XSLTPROC@
+ LYNX = @VAR_LYNX@
+diff -ur mozart-1.3.2.20060615-std.orig/ozmake/Makefile.vars mozart-1.3.2.20060615-std/ozmake/Makefile.vars
+--- mozart-1.3.2.20060615-std.orig/ozmake/Makefile.vars 2005-06-05 01:47:45.000000000 +1200
++++ mozart-1.3.2.20060615-std/ozmake/Makefile.vars 2007-02-17 08:42:20.000000000 +1300
+@@ -13,6 +13,6 @@
+ MakeGUI.oz Fixes.oz DatabaseLib.oz CHANGES Config.oz Mogul.oz \
+ Pickler.oz ExecutorFast.oz Depends.oz Requires.oz
+ PKG_INSTALLS = ozmake.ozf
+-PKG_INSTALLS_BIN= ozmake ozmake.win
++PKG_INSTALLS_BIN= ozmake
+ PKG_UPDATE = tgz tarz
+ PKG_INSTALLS_DOC= index.html CHANGES
+diff -ur mozart-1.3.2.20060615-std.orig/ozmake/makefile.oz mozart-1.3.2.20060615-std/ozmake/makefile.oz
+--- mozart-1.3.2.20060615-std.orig/ozmake/makefile.oz 2004-05-22 09:37:24.000000000 +1200
++++ mozart-1.3.2.20060615-std/ozmake/makefile.oz 2007-02-17 12:15:46.000000000 +1300
+@@ -4,8 +4,8 @@
+ mogul : 'mogul:/mozart/ozmake'
+ author: 'mogul:/duchier/denys'
+ lib : ['ozmake.ozf']
+- bin : ['ozmake.exe']
+- doc : ['index.html' 'CHANGES']
++% bin : ['ozmake.exe']
++% doc : ['index.html' 'CHANGES']
+ rules :
+ o(
+ 'ozmake.ozf' : ozl('Main.ozf')
diff --git a/dev-lang/mozart-stdlib/metadata.xml b/dev-lang/mozart-stdlib/metadata.xml
new file mode 100644
index 000000000000..5391604cf31e
--- /dev/null
+++ b/dev-lang/mozart-stdlib/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>keri@gentoo.org</email>
+ <name>Keri Harris</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-lang/mozart-stdlib/mozart-stdlib-1.3.2.ebuild b/dev-lang/mozart-stdlib/mozart-stdlib-1.3.2.ebuild
new file mode 100644
index 000000000000..e502adafffd9
--- /dev/null
+++ b/dev-lang/mozart-stdlib/mozart-stdlib-1.3.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2007 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.3.2.ebuild,v 1.1 2007/02/16 23:58:26 keri Exp $
+
+inherit eutils
+
+MY_P="mozart-${PV}.20060615-std"
+
+DESCRIPTION="The Mozart Standard Library"
+HOMEPAGE="http://www.mozart-oz.org/"
+SRC_URI="http://www.mozart-oz.org/download/mozart-ftp/store/1.3.2-2006-06-15-tar/mozart-1.3.2.20060615-std.tar.gz"
+LICENSE="Mozart"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND="dev-lang/mozart"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-ozmake.patch
+ epatch "${FILESDIR}"/${P}-doc.patch
+}
+
+src_compile() {
+ cd "${S}"
+
+ econf || die "econf failed"
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake -j1 \
+ PREFIX="${D}"/usr/lib/mozart \
+ BINDIR="${D}"/usr/bin \
+ install || die "emake install failed"
+
+ if use doc ; then
+ dohtml -r *
+ fi
+
+ doman ozmake/ozmake.1
+ dodoc ozmake/{CHANGES,DESIGN,NOTES,README}
+}