Initial import of Mozart - an implementation of Oz 3
authorKeri Harris <keri@gentoo.org>
Wed, 14 Feb 2007 08:30:49 +0000 (08:30 +0000)
committerKeri Harris <keri@gentoo.org>
Wed, 14 Feb 2007 08:30:49 +0000 (08:30 +0000)
Package-Manager: portage-2.1.2-r9

dev-lang/mozart/ChangeLog [new file with mode: 0644]
dev-lang/mozart/Manifest [new file with mode: 0644]
dev-lang/mozart/files/digest-mozart-1.3.2 [new file with mode: 0644]
dev-lang/mozart/files/mozart-1.3.2-contrib.patch [new file with mode: 0644]
dev-lang/mozart/files/mozart-1.3.2-gcc4.patch [new file with mode: 0644]
dev-lang/mozart/files/mozart-1.3.2-nostrip.patch [new file with mode: 0644]
dev-lang/mozart/files/mozart-1.3.2-ozplatform.patch [new file with mode: 0644]
dev-lang/mozart/files/mozart-1.3.2-portage.patch [new file with mode: 0644]
dev-lang/mozart/metadata.xml [new file with mode: 0644]
dev-lang/mozart/mozart-1.3.2.ebuild [new file with mode: 0644]

diff --git a/dev-lang/mozart/ChangeLog b/dev-lang/mozart/ChangeLog
new file mode 100644 (file)
index 0000000..678b8fb
--- /dev/null
@@ -0,0 +1,12 @@
+# ChangeLog for dev-lang/mozart
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mozart/ChangeLog,v 1.1 2007/02/14 08:30:49 keri Exp $
+
+*mozart-1.3.2 (14 Feb 2007)
+
+  14 Feb 2007; keri <keri@gentoo.org> +files/mozart-1.3.2-contrib.patch,
+  +files/mozart-1.3.2-gcc4.patch, +files/mozart-1.3.2-nostrip.patch,
+  +files/mozart-1.3.2-ozplatform.patch, +files/mozart-1.3.2-portage.patch,
+  +metadata.xml, +mozart-1.3.2.ebuild:
+  Initial import.
+
diff --git a/dev-lang/mozart/Manifest b/dev-lang/mozart/Manifest
new file mode 100644 (file)
index 0000000..39c06ff
--- /dev/null
@@ -0,0 +1,37 @@
+AUX mozart-1.3.2-contrib.patch 11137 RMD160 37d8909f2ab0472b3a7fa395236a9212beabb7f5 SHA1 cb71f43518e30ff7d700f66fe63c170fae1b247a SHA256 2263fe230141bf2396018ec0e0694187b86ac06798dcff69ac840ac72b6cd781
+MD5 677df3a8a0994ec5160f23843589d905 files/mozart-1.3.2-contrib.patch 11137
+RMD160 37d8909f2ab0472b3a7fa395236a9212beabb7f5 files/mozart-1.3.2-contrib.patch 11137
+SHA256 2263fe230141bf2396018ec0e0694187b86ac06798dcff69ac840ac72b6cd781 files/mozart-1.3.2-contrib.patch 11137
+AUX mozart-1.3.2-gcc4.patch 1457 RMD160 750055f1b34152fb26c3487d9b67e97c2e39848a SHA1 60aaef37dff8ac48795d5e83d8a3a80e42972f51 SHA256 8d4c251f55b1d321208293fb5be6547e37c77f23f4e0b38e2d54309706df6e3e
+MD5 12cc228ebdaf14c61b700e888fab08eb files/mozart-1.3.2-gcc4.patch 1457
+RMD160 750055f1b34152fb26c3487d9b67e97c2e39848a files/mozart-1.3.2-gcc4.patch 1457
+SHA256 8d4c251f55b1d321208293fb5be6547e37c77f23f4e0b38e2d54309706df6e3e files/mozart-1.3.2-gcc4.patch 1457
+AUX mozart-1.3.2-nostrip.patch 329 RMD160 9d7e8059e0fc0baf556d7508cc266c6ead0b9a58 SHA1 9f6beaa7fd67a4b8edf9ba9812baa4d8e1d05237 SHA256 e4c503de5da5e9beadcfa6d058a6777924cb18bc26aa458de478c75806e75f95
+MD5 b8a5de40ba26dec78a8bd4397d4bcc96 files/mozart-1.3.2-nostrip.patch 329
+RMD160 9d7e8059e0fc0baf556d7508cc266c6ead0b9a58 files/mozart-1.3.2-nostrip.patch 329
+SHA256 e4c503de5da5e9beadcfa6d058a6777924cb18bc26aa458de478c75806e75f95 files/mozart-1.3.2-nostrip.patch 329
+AUX mozart-1.3.2-ozplatform.patch 1065 RMD160 77381b0d52e362c9de7c07401a5614df1ea27a8f SHA1 34f65e33c804337f6fca23d3ac381836eb8928e0 SHA256 5a144c8608d7f73d99cab7d197cc24aba274485f9750f9510c6da40b1126147e
+MD5 0ef6a5e4d6b5e3053ea13f0993f83edf files/mozart-1.3.2-ozplatform.patch 1065
+RMD160 77381b0d52e362c9de7c07401a5614df1ea27a8f files/mozart-1.3.2-ozplatform.patch 1065
+SHA256 5a144c8608d7f73d99cab7d197cc24aba274485f9750f9510c6da40b1126147e files/mozart-1.3.2-ozplatform.patch 1065
+AUX mozart-1.3.2-portage.patch 8987 RMD160 72c457fe7813fcd6f5c5b97294639f51989851aa SHA1 a2cfb80728076f6f72c55df79f09598804f0f9d8 SHA256 64c16e25740b43b6fb7c64496c04c1155dfa98b911e3c132f1e41fae276a5e5f
+MD5 b4e24426ddf86ae761a947ec23a71e0b files/mozart-1.3.2-portage.patch 8987
+RMD160 72c457fe7813fcd6f5c5b97294639f51989851aa files/mozart-1.3.2-portage.patch 8987
+SHA256 64c16e25740b43b6fb7c64496c04c1155dfa98b911e3c132f1e41fae276a5e5f files/mozart-1.3.2-portage.patch 8987
+DIST mozart-1.3.2.20060615-doc.tar.gz 3890265 RMD160 450721bb64cbcc5cefddbaf9c3b0cdfe6261ae5f SHA1 28dfd9f92ba6ee698acb7363146b4a1c0ab4199f SHA256 b169418dd02fb6024d897778908928a6aa800e8ea96b6c76515b064bfac3b84e
+DIST mozart-1.3.2.20060615-src.tar.gz 10798680 RMD160 22dd1f639b6ea525744564b37be009bd599d60ad SHA1 aa980f4de7dcb2b4c2db511a464a5b6497b98109 SHA256 a09acd3365911348fd7b351d73ae1b2ad76ae96ffd335ee08746f5dcca3a55bf
+EBUILD mozart-1.3.2.ebuild 2336 RMD160 54c6a7a82c90f8b11b01e3a90c7db5369a74bf21 SHA1 0df5e2cf4a3b7efd788c712f2a5daea7269fa388 SHA256 fc0b8bb05f67391c0d687024ec9ad89eb3b7614b5a0b6e671141e2a692cf5de5
+MD5 87dd93e2542b68fc8ff455e10cbba60a mozart-1.3.2.ebuild 2336
+RMD160 54c6a7a82c90f8b11b01e3a90c7db5369a74bf21 mozart-1.3.2.ebuild 2336
+SHA256 fc0b8bb05f67391c0d687024ec9ad89eb3b7614b5a0b6e671141e2a692cf5de5 mozart-1.3.2.ebuild 2336
+MISC ChangeLog 505 RMD160 e909b0d53546268f27720f80d6a22efa08b1eb77 SHA1 7fb408646f5f31e0fa65e5e306178d34a37f37c6 SHA256 86d97b29befb2966fed1736d865e9786a61283469e2762ad9700fd4834034a96
+MD5 acc55a6a2c053186de631f244eba20a6 ChangeLog 505
+RMD160 e909b0d53546268f27720f80d6a22efa08b1eb77 ChangeLog 505
+SHA256 86d97b29befb2966fed1736d865e9786a61283469e2762ad9700fd4834034a96 ChangeLog 505
+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 3350474f6e82ff66e7d3b29d5bbf5326 files/digest-mozart-1.3.2 563
+RMD160 81fb36cec0906e8881c36cc8e94ba29151ba9122 files/digest-mozart-1.3.2 563
+SHA256 ab9b390a663dad556757ceb2af8c23c116f823e5dcba45bba732bb1e2a28d4e8 files/digest-mozart-1.3.2 563
diff --git a/dev-lang/mozart/files/digest-mozart-1.3.2 b/dev-lang/mozart/files/digest-mozart-1.3.2
new file mode 100644 (file)
index 0000000..bd68b7e
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 052a5c82f244bab77174e32fbe7e8996 mozart-1.3.2.20060615-doc.tar.gz 3890265
+RMD160 450721bb64cbcc5cefddbaf9c3b0cdfe6261ae5f mozart-1.3.2.20060615-doc.tar.gz 3890265
+SHA256 b169418dd02fb6024d897778908928a6aa800e8ea96b6c76515b064bfac3b84e mozart-1.3.2.20060615-doc.tar.gz 3890265
+MD5 b84fb3932eca573e6b8d5d1b26379371 mozart-1.3.2.20060615-src.tar.gz 10798680
+RMD160 22dd1f639b6ea525744564b37be009bd599d60ad mozart-1.3.2.20060615-src.tar.gz 10798680
+SHA256 a09acd3365911348fd7b351d73ae1b2ad76ae96ffd335ee08746f5dcca3a55bf mozart-1.3.2.20060615-src.tar.gz 10798680
diff --git a/dev-lang/mozart/files/mozart-1.3.2-contrib.patch b/dev-lang/mozart/files/mozart-1.3.2-contrib.patch
new file mode 100644 (file)
index 0000000..0b42c34
--- /dev/null
@@ -0,0 +1,296 @@
+diff -ur mozart-1.3.2.20060615.orig/contrib/ap/Makefile.in mozart-1.3.2.20060615/contrib/ap/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/ap/Makefile.in  2001-08-05 10:24:30.000000000 +1200
++++ mozart-1.3.2.20060615/contrib/ap/Makefile.in       2007-02-13 21:02:43.000000000 +1300
+@@ -21,9 +21,9 @@
+ install: $(NEWCACHEDIR) $(addprefix $(NEWCACHEDIR)/,$(FUNCTORS))
+ $(LIB_DIR) $(NEWCACHEDIR):
+       $(INSTALL_DIR) $@
+-$(LIB_DIR)/%.ozf: %.ozf
++$(LIB_DIR)/%.ozf: %.ozf $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+-$(NEWCACHEDIR)/% : %
++$(NEWCACHEDIR)/% : % $(NEWCACHEDIR)
+       $(INSTALL_LIB) $< $@
+ clean veryclean:
+diff -ur mozart-1.3.2.20060615.orig/contrib/compat/Makefile.in mozart-1.3.2.20060615/contrib/compat/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/compat/Makefile.in      2003-11-26 03:53:51.000000000 +1300
++++ mozart-1.3.2.20060615/contrib/compat/Makefile.in   2007-02-14 19:52:50.000000000 +1300
+@@ -5,7 +5,7 @@
+ VPATH         = @srcdir@
+ PREFIX                = @prefix@
+ PLATFORM      = @PLATFORM@
+-BIN_DIR               = $(PREFIX)/bin
++BINDIR                = $(PREFIX)/bin
+ CACHEDIR      = $(PREFIX)/cache/x-oz/contrib/compat
+ HOMEURL         = @HOMEURL@
+@@ -24,7 +24,7 @@
+ CYGPATH               = $(SRCTOP)/share/lib/cygpath.sh
+ TARGETS               = TextPickle.ozf convertTextPickle$(EXE_EXT)
+-BIN_TARGETS   = $(BIN_DIR)/convertTextPickle$(EXE_EXT)
++BIN_TARGETS   = $(BINDIR)/convertTextPickle$(EXE_EXT)
+ CACHE_TARGETS = $(CACHEDIR)/TextPickle.ozf \
+                 $(CACHEDIR)/TextPickleScanner.so-$(PLATFORM)
+@@ -36,18 +36,18 @@
+ all: $(TARGETS)
+-install: $(BIN_DIR) $(BIN_TARGETS) $(CACHEDIR) $(CACHE_TARGETS)
++install: $(BINDIR) $(BIN_TARGETS) $(CACHEDIR) $(CACHE_TARGETS)
+-$(BIN_DIR) $(CACHEDIR):
++$(BINDIR) $(CACHEDIR):
+       $(INSTALL_DIR) $@
+-$(BIN_DIR)/%: %
++$(BINDIR)/%: % $(BINDIR)
+       $(INSTALL_BIN) $< $@
+-$(CACHEDIR)/%.ozf: %.ozf
++$(CACHEDIR)/%.ozf: %.ozf $(CACHEDIR)
+       $(INSTALL_FILE) $< $@
+-$(CACHEDIR)/%.so-$(PLATFORM): %.so-$(PLATFORM)
++$(CACHEDIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) $(CACHEDIR)
+       $(INSTALL_DLL) $< $@
+ TextPickle.so-$(PLATFORM): TextPickle.ozf
+diff -ur mozart-1.3.2.20060615.orig/contrib/davinci/Makefile.in mozart-1.3.2.20060615/contrib/davinci/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/davinci/Makefile.in     2001-08-05 10:24:30.000000000 +1200
++++ mozart-1.3.2.20060615/contrib/davinci/Makefile.in  2007-02-13 21:04:12.000000000 +1300
+@@ -59,7 +59,7 @@
+ DaVinci.ozf: $(OZFNCTS)
+       $(OZL) -z 9 DaVinciObject.ozf -o $@
+-$(LIB_DIR)/DaVinci.ozf: DaVinci.ozf
++$(LIB_DIR)/DaVinci.ozf: DaVinci.ozf $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+       for f in *.so-$(PLATFORM) ; do \
+       $(INSTALL_DLL) $$f $(LIB_DIR)/$$f ; \
+diff -ur mozart-1.3.2.20060615.orig/contrib/directory/Makefile.in mozart-1.3.2.20060615/contrib/directory/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/directory/Makefile.in   2001-08-05 10:24:31.000000000 +1200
++++ mozart-1.3.2.20060615/contrib/directory/Makefile.in        2007-02-14 19:58:11.000000000 +1300
+@@ -59,13 +59,13 @@
+ $(LIB_DIR) $(NEWCACHEDIR):
+       $(INSTALL_DIR) $@
+-$(LIB_DIR)/%.ozf: %.ozf
++$(LIB_DIR)/%.ozf: %.ozf $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+-$(LIB_DIR)/%.oz: %.oz
++$(LIB_DIR)/%.oz: %.oz $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+-$(NEWCACHEDIR)/%: %
++$(NEWCACHEDIR)/%: % $(NEWCACHEDIR)
+       $(INSTALL_LIB) $< $@
+ #----------------------------------------------------------------------
+diff -ur mozart-1.3.2.20060615.orig/contrib/doc/code/Makefile.in mozart-1.3.2.20060615/contrib/doc/code/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/doc/code/Makefile.in    2002-04-02 00:28:57.000000000 +1200
++++ mozart-1.3.2.20060615/contrib/doc/code/Makefile.in 2007-02-13 21:06:46.000000000 +1300
+@@ -57,13 +57,13 @@
+ $(LIB_DIR) $(ELIB_DIR) $(NEWCACHEDIR):
+       $(INSTALL_DIR) $@
+-$(LIB_TARGETS): $(LIB_DIR)/% : %
++$(LIB_TARGETS): $(LIB_DIR)/% : % $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+-$(NEW_TARGETS): $(NEWCACHEDIR)/% : %
++$(NEW_TARGETS): $(NEWCACHEDIR)/% : % $(NEWCACHEDIR)
+       $(INSTALL_LIB) $< $@
+-$(ELIB_TARGETS): $(ELIB_DIR)/% : %
++$(ELIB_TARGETS): $(ELIB_DIR)/% : % $(ELIB_DIR)
+       $(INSTALL_LIB) $< $@
+ %.ozf: %.oz
+diff -ur mozart-1.3.2.20060615.orig/contrib/doc/sgml/Makefile.in mozart-1.3.2.20060615/contrib/doc/sgml/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/doc/sgml/Makefile.in    2001-08-05 10:24:31.000000000 +1200
++++ mozart-1.3.2.20060615/contrib/doc/sgml/Makefile.in 2007-02-13 21:05:58.000000000 +1300
+@@ -25,10 +25,10 @@
+ $(LIB_DIR) $(NEWCACHEDIR):
+       $(INSTALL_DIR) $@
+-$(LIB_TARGETS): $(LIB_DIR)/% : %
++$(LIB_TARGETS): $(LIB_DIR)/% : % $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+-$(NEW_TARGETS): $(NEWCACHEDIR)/% : %
++$(NEW_TARGETS): $(NEWCACHEDIR)/% : % $(NEWCACHEDIR)
+       $(INSTALL_LIB) $< $@
+ %.ozf: %.oz
+diff -ur mozart-1.3.2.20060615.orig/contrib/fcp/Makefile.in mozart-1.3.2.20060615/contrib/fcp/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/fcp/Makefile.in 2001-08-05 10:24:32.000000000 +1200
++++ mozart-1.3.2.20060615/contrib/fcp/Makefile.in      2007-02-13 21:07:28.000000000 +1300
+@@ -77,10 +77,10 @@
+ $(LIB_DIR):
+       $(INSTALL_DIR) $@
+-$(LIB_DIR)/%.ozf: %.ozf
++$(LIB_DIR)/%.ozf: %.ozf $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+-$(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM)
++$(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) $(LIB_DIR)
+       $(INSTALL_DLL) $< $@
+ #----------------------------------------------------------------------
+diff -ur mozart-1.3.2.20060615.orig/contrib/gdbm/Makefile.in mozart-1.3.2.20060615/contrib/gdbm/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/gdbm/Makefile.in        2003-01-08 02:40:09.000000000 +1300
++++ mozart-1.3.2.20060615/contrib/gdbm/Makefile.in     2007-02-13 21:09:17.000000000 +1300
+@@ -39,16 +39,16 @@
+ $(LIB_DIR) $(NEWCACHEDIR):
+       $(INSTALL_DIR) $@
+-$(LIB_DIR)/gdbm.ozf: gdbm.ozf
++$(LIB_DIR)/gdbm.ozf: gdbm.ozf $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+-$(LIB_DIR)/gdbm.so-$(PLATFORM): gdbm.so-$(PLATFORM)
++$(LIB_DIR)/gdbm.so-$(PLATFORM): gdbm.so-$(PLATFORM) $(LIB_DIR)
+       $(INSTALL_DLL) $< $@
+-$(NEWCACHEDIR)/gdbm.ozf: gdbm.ozf
++$(NEWCACHEDIR)/gdbm.ozf: gdbm.ozf $(NEWCACHEDIR)
+       $(INSTALL_LIB) $< $@
+-$(NEWCACHEDIR)/gdbm.so-$(PLATFORM): gdbm.so-$(PLATFORM)
++$(NEWCACHEDIR)/gdbm.so-$(PLATFORM): gdbm.so-$(PLATFORM) $(NEWCACHEDIR)
+       $(INSTALL_DLL) $< $@
+ gdbm.ozf: gdbm.oz
+diff -ur mozart-1.3.2.20060615.orig/contrib/investigator/Makefile.in mozart-1.3.2.20060615/contrib/investigator/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/investigator/Makefile.in        2001-08-05 10:24:33.000000000 +1200
++++ mozart-1.3.2.20060615/contrib/investigator/Makefile.in     2007-02-13 21:09:53.000000000 +1300
+@@ -70,7 +70,7 @@
+ Investigator.ozf: $(OZFNCTS)
+       $(OZL) -z 9 Main.ozf -o $@
+-$(LIB_DIR)/Investigator.ozf: Investigator.ozf
++$(LIB_DIR)/Investigator.ozf: Investigator.ozf $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+ #----------------------------------------------------------------------
+diff -ur mozart-1.3.2.20060615.orig/contrib/micq/Makefile.in mozart-1.3.2.20060615/contrib/micq/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/micq/Makefile.in        2001-08-05 10:24:34.000000000 +1200
++++ mozart-1.3.2.20060615/contrib/micq/Makefile.in     2007-02-13 21:10:50.000000000 +1300
+@@ -28,14 +28,14 @@
+ install:: $(DEMO_DIR) $(DEMO_DIR)/MIM.oza \
+       $(NEWCACHEDIR) $(addprefix $(NEWCACHEDIR)/,$(APPLETS))
+-$(NEWCACHEDIR)/% : %
++$(NEWCACHEDIR)/% : % $(NEWCACHEDIR)
+       $(INSTALL_LIB) $< $@
+ $(LIB_DIR) $(DEMO_DIR) $(NEWCACHEDIR):
+       $(INSTALL_DIR) $@
+-$(LIB_DIR)/%.oza: %.oza
++$(LIB_DIR)/%.oza: %.oza $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+-$(DEMO_DIR)/MIM.oza: client.oza
++$(DEMO_DIR)/MIM.oza: client.oza $(DEMO_DIR)
+       $(INSTALL_LIB) $< $@
+ BMETH = $(BUILDTOP)/contrib/micq/methods.ozf
+ SMETH = $(SRCDIR)/methods.oz
+diff -ur mozart-1.3.2.20060615.orig/contrib/os/Makefile.in mozart-1.3.2.20060615/contrib/os/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/os/Makefile.in  2001-09-29 01:45:43.000000000 +1200
++++ mozart-1.3.2.20060615/contrib/os/Makefile.in       2007-02-13 21:11:44.000000000 +1300
+@@ -52,16 +52,16 @@
+ $(LIB_DIR) $(NEWCACHEDIR):
+       $(INSTALL_DIR) $@
+-$(LIB_FUNCTORS): $(LIB_DIR)/% : %
++$(LIB_FUNCTORS): $(LIB_DIR)/% : % $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+-$(LIB_NATIVES): $(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM)
++$(LIB_NATIVES): $(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) $(LIB_DIR)
+       $(INSTALL_DLL) $< $@
+-$(NEW_FUNCTORS): $(NEWCACHEDIR)/% : %
++$(NEW_FUNCTORS): $(NEWCACHEDIR)/% : % $(NEWCACHEDIR)
+       $(INSTALL_LIB) $< $@
+-$(NEW_NATIVES): $(NEWCACHEDIR)/%.so-$(PLATFORM): %.so-$(PLATFORM)
++$(NEW_NATIVES): $(NEWCACHEDIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) $(NEWCACHEDIR)
+       $(INSTALL_DLL) $< $@
+ %.ozf: %.oz
+diff -ur mozart-1.3.2.20060615.orig/contrib/reflect/Makefile.in mozart-1.3.2.20060615/contrib/reflect/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/reflect/Makefile.in     2001-08-05 10:24:34.000000000 +1200
++++ mozart-1.3.2.20060615/contrib/reflect/Makefile.in  2007-02-13 21:12:13.000000000 +1300
+@@ -67,10 +67,10 @@
+ $(LIB_DIR):
+       $(INSTALL_DIR) $@
+-$(LIB_DIR)/%.ozf: %.ozf
++$(LIB_DIR)/%.ozf: %.ozf $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+-$(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM)
++$(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) $(LIB_DIR)
+       $(INSTALL_DLL) $< $@
+ #----------------------------------------------------------------------
+diff -ur mozart-1.3.2.20060615.orig/contrib/regex/Makefile.in mozart-1.3.2.20060615/contrib/regex/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/regex/Makefile.in       2003-01-08 02:40:10.000000000 +1300
++++ mozart-1.3.2.20060615/contrib/regex/Makefile.in    2007-02-13 21:13:05.000000000 +1300
+@@ -38,16 +38,16 @@
+ $(LIB_DIR):
+       $(INSTALL_DIR) $@
+-$(LIB_DIR)/regex.ozf: regex.ozf
++$(LIB_DIR)/regex.ozf: regex.ozf $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+-$(LIB_DIR)/regex.so-$(PLATFORM): regex.so-$(PLATFORM)
++$(LIB_DIR)/regex.so-$(PLATFORM): regex.so-$(PLATFORM) $(LIB_DIR)
+       $(INSTALL_DLL) $< $@
+-$(NEWCACHEDIR)/regex.ozf: regex.ozf
++$(NEWCACHEDIR)/regex.ozf: regex.ozf $(NEWCACHEDIR)
+       $(INSTALL_LIB) $< $@
+-$(NEWCACHEDIR)/regex.so-$(PLATFORM): regex.so-$(PLATFORM)
++$(NEWCACHEDIR)/regex.so-$(PLATFORM): regex.so-$(PLATFORM) $(NEWCACHEDIR)
+       $(INSTALL_DLL) $< $@
+ regex.ozf: regex.oz
+diff -ur mozart-1.3.2.20060615.orig/contrib/ri/Makefile.in mozart-1.3.2.20060615/contrib/ri/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/ri/Makefile.in  2002-07-07 01:05:36.000000000 +1200
++++ mozart-1.3.2.20060615/contrib/ri/Makefile.in       2007-02-13 21:13:39.000000000 +1300
+@@ -81,10 +81,10 @@
+ $(LIB_DIR):
+       $(INSTALL_DIR) $@
+-$(LIB_DIR)/%.ozf: %.ozf
++$(LIB_DIR)/%.ozf: %.ozf $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+-$(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM)
++$(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) $(LIB_DIR)
+       $(INSTALL_DLL) $< $@
+diff -ur mozart-1.3.2.20060615.orig/contrib/tk/Makefile.in mozart-1.3.2.20060615/contrib/tk/Makefile.in
+--- mozart-1.3.2.20060615.orig/contrib/tk/Makefile.in  2001-08-05 10:24:35.000000000 +1200
++++ mozart-1.3.2.20060615/contrib/tk/Makefile.in       2007-02-13 21:14:06.000000000 +1300
+@@ -21,9 +21,9 @@
+ install:      $(NEWCACHEDIR) $(addprefix $(NEWCACHEDIR)/,$(FUNCTORS))
+ $(LIB_DIR) $(NEWCACHEDIR):
+       $(INSTALL_DIR) $@
+-$(LIB_DIR)/%.ozf: %.ozf
++$(LIB_DIR)/%.ozf: %.ozf $(LIB_DIR)
+       $(INSTALL_LIB) $< $@
+-$(NEWCACHEDIR)/%.ozf: %.ozf
++$(NEWCACHEDIR)/%.ozf: %.ozf $(NEWCACHEDIR)
+       $(INSTALL_LIB) $< $@
+ clean veryclean:
diff --git a/dev-lang/mozart/files/mozart-1.3.2-gcc4.patch b/dev-lang/mozart/files/mozart-1.3.2-gcc4.patch
new file mode 100644 (file)
index 0000000..ed55f26
--- /dev/null
@@ -0,0 +1,33 @@
+diff -ur mozart-1.3.2.20060615.orig/platform/tools/gump/ozbison/conflicts.c mozart-1.3.2.20060615/platform/tools/gump/ozbison/conflicts.c
+--- mozart-1.3.2.20060615.orig/platform/tools/gump/ozbison/conflicts.c 1998-12-17 02:55:09.000000000 +1300
++++ mozart-1.3.2.20060615/platform/tools/gump/ozbison/conflicts.c      2007-02-11 20:51:52.000000000 +1300
+@@ -18,6 +18,7 @@
+ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+ #include <stdio.h>
++#include <string.h>
+ #include "system.h"
+ #include "machine.h"
+ #include "new.h"
+diff -ur mozart-1.3.2.20060615.orig/platform/tools/gump/ozbison/print.c mozart-1.3.2.20060615/platform/tools/gump/ozbison/print.c
+--- mozart-1.3.2.20060615.orig/platform/tools/gump/ozbison/print.c     1998-02-07 00:30:27.000000000 +1300
++++ mozart-1.3.2.20060615/platform/tools/gump/ozbison/print.c  2007-02-11 20:51:20.000000000 +1300
+@@ -19,6 +19,7 @@
+ #include <stdio.h>
++#include <string.h>
+ #include "system.h"
+ #include "machine.h"
+ #include "new.h"
+diff -ur mozart-1.3.2.20060615.orig/platform/tools/gump/ozbison/symtab.c mozart-1.3.2.20060615/platform/tools/gump/ozbison/symtab.c
+--- mozart-1.3.2.20060615.orig/platform/tools/gump/ozbison/symtab.c    1998-02-07 00:30:29.000000000 +1300
++++ mozart-1.3.2.20060615/platform/tools/gump/ozbison/symtab.c 2007-02-11 20:50:03.000000000 +1300
+@@ -19,6 +19,7 @@
+ #include <stdio.h>
++#include <string.h>
+ #include "system.h"
+ #include "new.h"
+ #include "symtab.h"
diff --git a/dev-lang/mozart/files/mozart-1.3.2-nostrip.patch b/dev-lang/mozart/files/mozart-1.3.2-nostrip.patch
new file mode 100644 (file)
index 0000000..ec36500
--- /dev/null
@@ -0,0 +1,11 @@
+--- mozart-1.3.2.20060615.orig/platform/tools/gump/ozflex/Makefile.in  2001-08-05 10:24:39.000000000 +1200
++++ mozart-1.3.2.20060615/platform/tools/gump/ozflex/Makefile.in       2007-02-11 20:30:41.000000000 +1300
+@@ -65,7 +65,7 @@
+ all: $(FLEX)
+-      $(STRIP) $(FLEX)
++
+ include $(BUILDTOP)/share/Makefile.boot
+ bootstrap: cboot-all
diff --git a/dev-lang/mozart/files/mozart-1.3.2-ozplatform.patch b/dev-lang/mozart/files/mozart-1.3.2-ozplatform.patch
new file mode 100644 (file)
index 0000000..0121085
--- /dev/null
@@ -0,0 +1,31 @@
+--- mozart-1.3.2.20060615.orig/share/bin/Makefile.in   2001-08-05 10:24:41.000000000 +1200
++++ mozart-1.3.2.20060615/share/bin/Makefile.in        2007-02-11 17:14:13.000000000 +1300
+@@ -35,7 +35,7 @@
+ INSTALL_BIN=  $(INSTALL) -m 555
+ INSTALL_FILE= $(INSTALL) -m 444
+-SCRIPTS=      oz ozplatform
++SCRIPTS=      oz
+ LINKS=                ozengine text2pickle pickle2text oldpickle2text oztool
+ LIB_SCRIPTS=  $(addprefix $(BINDIR)/,$(SCRIPTS))
+ LIB_LINKS=    $(addprefix $(BINDIR)/,$(LINKS))
+--- mozart-1.3.2.20060615.orig/share/bin/oz.in 2006-06-14 10:25:01.000000000 +1200
++++ mozart-1.3.2.20060615/share/bin/oz.in      2007-02-11 19:28:21.000000000 +1300
+@@ -4,7 +4,7 @@
+ # to draw links from say /usr/local/bin to OZHOME/bin
+ # see chapter "installation" in the users manual for more information
+-# OZHOME=/usr/local/mozart
++OZHOME=@prefix@/lib/mozart-oz
+@@ -24,7 +24,7 @@
+ fi
+ export OZHOME
+-: ${OZPLATFORM=`"$OZHOME/bin/ozplatform"`}
++: ${OZPLATFORM="@PLATFORM@"}
+ : ${OZEMULATOR="$OZHOME/platform/$OZPLATFORM/emulator.exe"}
+ : ${OZVERSION="@OZVERSION@"}
+ : ${OZ_DOTOZ="$HOME/.oz/$OZVERSION"}
diff --git a/dev-lang/mozart/files/mozart-1.3.2-portage.patch b/dev-lang/mozart/files/mozart-1.3.2-portage.patch
new file mode 100644 (file)
index 0000000..6160dac
--- /dev/null
@@ -0,0 +1,276 @@
+diff -ur mozart-1.3.2.20060615.orig/Makefile.in mozart-1.3.2.20060615/Makefile.in
+--- mozart-1.3.2.20060615.orig/Makefile.in     2004-05-19 10:56:54.000000000 +1200
++++ mozart-1.3.2.20060615/Makefile.in  2007-02-13 21:01:54.000000000 +1300
+@@ -111,7 +111,7 @@
+ ./config.status: ./configure
+       ./config.status --recheck
+-install:: $(ALLFILES)
++install::
+ $(ALLFILES): $(PREFIX)/% : % $(PREFIX)
+       $(INSTALL_FILE) $< $@
+diff -ur mozart-1.3.2.20060615.orig/platform/emulator/Makefile.in mozart-1.3.2.20060615/platform/emulator/Makefile.in
+--- mozart-1.3.2.20060615.orig/platform/emulator/Makefile.in   2004-01-12 23:03:44.000000000 +1300
++++ mozart-1.3.2.20060615/platform/emulator/Makefile.in        2007-02-12 22:36:26.000000000 +1300
+@@ -400,7 +400,7 @@
+ $(NEWCACHEDIR):
+       $(INSTALL_DIR) $@
+-$(NEWCACHEDIR)/% : %
++$(NEWCACHEDIR)/% : % $(NEWCACHEDIR)
+       $(INSTALL_FILE) $< $@
+ install-inc: $(INCDIR)
+diff -ur mozart-1.3.2.20060615.orig/platform/tools/gump/Makefile.in mozart-1.3.2.20060615/platform/tools/gump/Makefile.in
+--- mozart-1.3.2.20060615.orig/platform/tools/gump/Makefile.in 2003-01-08 02:40:10.000000000 +1300
++++ mozart-1.3.2.20060615/platform/tools/gump/Makefile.in      2007-02-13 21:16:13.000000000 +1300
+@@ -66,15 +66,15 @@
+ $(SHAREDIR) $(PLATFORMDIR) $(INCDIR) $(NEWCACHEDIR):
+       $(MKINSTALLDIRS) $@
+-$(NEWCACHEDIR)/GumpScanner.so-$(PLATFORM): GumpScanner.so-$(PLATFORM)
++$(NEWCACHEDIR)/GumpScanner.so-$(PLATFORM): GumpScanner.so-$(PLATFORM) $(NEWCACHEDIR)
+       $(INSTALLDLL) $< $@
+-$(NEWCACHEDIR)/Bison.so-$(PLATFORM): ozbison/Bison.so-$(PLATFORM)
++$(NEWCACHEDIR)/Bison.so-$(PLATFORM): ozbison/Bison.so-$(PLATFORM) $(NEWCACHEDIR)
+       $(INSTALLDLL) $< $@
+-$(PLATFORMDIR)/flex.exe: ozflex/flex.exe
++$(PLATFORMDIR)/flex.exe: ozflex/flex.exe $(PLATFORMDIR)
+       $(INSTALLPRG) $< $@
+-$(INCDIR)/%: %
++$(INCDIR)/%: % $(INCDIR)
+       $(INSTALLFILE) $< $@
+ clean veryclean:
+diff -ur mozart-1.3.2.20060615.orig/share/bin/Makefile.in mozart-1.3.2.20060615/share/bin/Makefile.in
+--- mozart-1.3.2.20060615.orig/share/bin/Makefile.in   2001-08-05 10:24:41.000000000 +1200
++++ mozart-1.3.2.20060615/share/bin/Makefile.in        2007-02-13 21:20:19.000000000 +1300
+@@ -55,13 +55,13 @@
+ install: $(BINDIR) $(LIB_SCRIPTS) $(LIB_LINKS) $(WRAPPERS)
+-$(LIB_SCRIPTS): $(BINDIR)/% : %
++$(LIB_SCRIPTS): $(BINDIR)/% : % $(BINDIR)
+       $(INSTALL_BIN) $< $(BINDIR)
+-$(LIB_LINKS): $(BINDIR)/oz
++$(LIB_LINKS): $(BINDIR)/oz $(BINDIR)
+       cd $(BINDIR); rm -f $@; $(LN_S) oz $@
+-$(WRAPPERS): $(BINDIR)/%: $(SRCTOP)/platform/mswindows/%
++$(WRAPPERS): $(BINDIR)/%: $(SRCTOP)/platform/mswindows/% $(BINDIR)
+       $(INSTALL_FILE) $< $@
+ $(BINDIR):
+diff -ur mozart-1.3.2.20060615.orig/share/demo/Makefile.in mozart-1.3.2.20060615/share/demo/Makefile.in
+--- mozart-1.3.2.20060615.orig/share/demo/Makefile.in  2001-10-16 23:10:03.000000000 +1300
++++ mozart-1.3.2.20060615/share/demo/Makefile.in       2007-02-13 21:23:08.000000000 +1300
+@@ -86,13 +86,13 @@
+ $(OZDEMO) $(SYSTEMDOC) $(SYSTEMOZF):
+       $(INSTALL_DIR) $@
+-$(OZDEMO)/%.oza: %.oza
++$(OZDEMO)/%.oza: %.oza $(OZDEMO)
+       $(INSTALL_FILE) $< $@
+-$(SYSTEMOZF)/%: %
++$(SYSTEMOZF)/%: % $(SYSTEMOZF)
+       $(INSTALL_FILE) $< $@
+-$(SYSTEMDOC)/%: %
++$(SYSTEMDOC)/%: % $(SYSTEMDOC)
+       $(INSTALL_FILE) $< $@
+ #
+@@ -281,17 +281,17 @@
+ $(OZIMGDIRS):
+       $(INSTALL_DIR) $@
+-$(OZIMG)/animated-queens/%.xbm: images/animated-queens/%.xbm
++$(OZIMG)/animated-queens/%.xbm: images/animated-queens/%.xbm $(OZIMGDIRS)
+       $(INSTALL_FILE) $< $@
+-$(OZIMG)/lift/%.xbm: images/lift/%.xbm
++$(OZIMG)/lift/%.xbm: images/lift/%.xbm $(OZIMGDIRS)
+       $(INSTALL_FILE) $< $@
+-$(OZIMG)/transport/%.xbm: images/transport/%.xbm
++$(OZIMG)/transport/%.xbm: images/transport/%.xbm $(OZIMGDIRS)
+       $(INSTALL_FILE) $< $@
+-$(OZIMG)/trucks/%.ppm: images/trucks/%.ppm
++$(OZIMG)/trucks/%.ppm: images/trucks/%.ppm $(OZIMGDIRS)
+       $(INSTALL_FILE) $< $@
+-$(OZIMG)/college/%.xbm: images/college/%.xbm
++$(OZIMG)/college/%.xbm: images/college/%.xbm $(OZIMGDIRS)
+       $(INSTALL_FILE) $< $@
+-$(OZIMG)/dict-client/%: images/dict-client/%
++$(OZIMG)/dict-client/%: images/dict-client/% $(OZIMGDIRS)
+       $(INSTALL_FILE) $< $@
+diff -ur mozart-1.3.2.20060615.orig/share/elisp/Makefile.in mozart-1.3.2.20060615/share/elisp/Makefile.in
+--- mozart-1.3.2.20060615.orig/share/elisp/Makefile.in 2002-04-02 00:31:22.000000000 +1200
++++ mozart-1.3.2.20060615/share/elisp/Makefile.in      2007-02-13 21:23:50.000000000 +1300
+@@ -75,10 +75,10 @@
+ $(ELISPDIR):
+       $(INSTALL_DIR) $@
+-$(ELISPDIR)/%.el: %.el
++$(ELISPDIR)/%.el: %.el $(ELISPDIR)
+       $(INSTALL_FILE) $< $@
+-$(ELISPDIR)/%.elc: %.elc
++$(ELISPDIR)/%.elc: %.elc $(ELISPDIR)
+       $(INSTALL_FILE) $< $@
+ clean:
+diff -ur mozart-1.3.2.20060615.orig/share/examples/Makefile.in mozart-1.3.2.20060615/share/examples/Makefile.in
+--- mozart-1.3.2.20060615.orig/share/examples/Makefile.in      2003-04-23 21:49:55.000000000 +1200
++++ mozart-1.3.2.20060615/share/examples/Makefile.in   2007-02-13 21:26:07.000000000 +1300
+@@ -96,19 +96,19 @@
+       constraints/scheduling-compiler constraints oz
+ SAMPLER = $(SAMPLER0:%=$(OZEX)/sampler/%.oz)
+-$(OZEX)/fd/%.oz: fd/%.oz
++$(OZEX)/fd/%.oz: fd/%.oz $(OZEXDIRS)
+       $(INSTALL_FILE) $< $@
+-$(OZEX)/fd/graphics/%.ozf: %.ozf
++$(OZEX)/fd/graphics/%.ozf: %.ozf $(OZEXDIRS)
+       $(INSTALL_FILE) $< $@
+-$(OZEX)/fd/graphics/%.oz: fd/graphics/%.oz
++$(OZEX)/fd/graphics/%.oz: fd/graphics/%.oz $(OZEXDIRS)
+       $(INSTALL_FILE) $< $@
+-$(OZEX)/grammar/%.oz: grammar/%.oz
++$(OZEX)/grammar/%.oz: grammar/%.oz $(OZEXDIRS)
+       $(INSTALL_FILE) $< $@
+-$(OZEX)/grammar/shieber/%.oz: grammar/shieber/%.oz
++$(OZEX)/grammar/shieber/%.oz: grammar/shieber/%.oz $(OZEXDIRS)
+       $(INSTALL_FILE) $< $@
+-$(OZEX)/sampler/%.oz: sampler/%.oz
++$(OZEX)/sampler/%.oz: sampler/%.oz $(OZEXDIRS)
+       $(INSTALL_FILE) $< $@
+-$(OZEX)/sampler/constraints/%.oz: sampler/constraints/%.oz
++$(OZEX)/sampler/constraints/%.oz: sampler/constraints/%.oz $(OZEXDIRS)
+       $(INSTALL_FILE) $< $@
+diff -ur mozart-1.3.2.20060615.orig/share/lib/Makefile.in mozart-1.3.2.20060615/share/lib/Makefile.in
+--- mozart-1.3.2.20060615.orig/share/lib/Makefile.in   2003-12-05 10:55:34.000000000 +1300
++++ mozart-1.3.2.20060615/share/lib/Makefile.in        2007-02-13 22:43:50.000000000 +1300
+@@ -11,7 +11,7 @@
+ PREFIX                = @prefix@
+ OZPREFIX      = @prefix@
+-OZBIN         = $(PREFIX)/bin
++BINDIR                = $(PREFIX)/bin
+ OZLIB         = $(PREFIX)/share
+ IMAGESDIR     = $(OZLIB)/images
+ SHELL         = /bin/sh
+@@ -343,14 +343,14 @@
+       $(FUNCTORS:%=$(OZLIB)/%)
+ BINFILES = \
+-      $(SYSLETS:%=$(OZBIN)/%)
++      $(SYSLETS:%=$(BINDIR)/%)
+ BOOTINITTXT   = boot-init.ozt
+ BOOTOZCTXT    = boot-ozc.ozt
+ install: install-main install-images install-cache
+-install-main: all $(OZBIN) $(BINFILES)
++install-main: all $(BINDIR) $(BINFILES)
+ NEWCACHEDIR = $(PREFIX)/cache/x-oz/system
+ IMAGES1 = mini-dec.xbm mini-inc.xbm
+@@ -376,7 +376,7 @@
+ $(NEWCACHEDIR) $(NEWIMAGESDIR):
+       $(INSTALL_DIR) $@
+-$(NEWCACHEDIR)/%: %
++$(NEWCACHEDIR)/%: % $(NEWCACHEDIR)
+       $(INSTALL_FILE) $< $@
+ $(CACHEDIR):
+@@ -384,19 +384,19 @@
+       -rm -rf $(CACHEDIR)
+       $(LN_S) ../../.. $(CACHEDIR)
+-$(OZLIB) $(IMAGESDIR) $(OZBIN):
++$(OZLIB) $(IMAGESDIR) $(BINDIR):
+       $(INSTALL_DIR) $@
+-$(OZLIB)/%.ozf: %.ozf
++$(OZLIB)/%.ozf: %.ozf $(OZLIB)
+       $(INSTALL_FILE) $< $@
+-$(IMAGESDIR)/%: images/%
++$(IMAGESDIR)/%: images/% $(IMAGESDIR)
+       $(INSTALL_FILE) $< $@
+-$(OZBIN)/%: %
++$(BINDIR)/%: % $(BINDIR)
+       $(INSTALL_BIN) $< $@
+-$(OZLIB)/boot-%: boot-%
++$(OZLIB)/boot-%: boot-% $(OZLIB)
+       $(INSTALL_FILE) $< $@
+ #---------------------------------------------------------------------
+diff -ur mozart-1.3.2.20060615.orig/share/tools/Makefile.in mozart-1.3.2.20060615/share/tools/Makefile.in
+--- mozart-1.3.2.20060615.orig/share/tools/Makefile.in 2002-01-30 01:39:23.000000000 +1300
++++ mozart-1.3.2.20060615/share/tools/Makefile.in      2007-02-14 20:17:49.000000000 +1300
+@@ -7,7 +7,7 @@
+ PREFIX                = @prefix@
+ PLATFORM      = @PLATFORM@
+-OZBIN         = $(PREFIX)/bin
++BINDIR                = $(PREFIX)/bin
+ OZEX          = $(PREFIX)/examples
+ OZEXGUMP      = $(OZEX)/gump
+ OZLOADSEP     = @OZLOADSEP@
+@@ -262,21 +262,21 @@
+ #---------------------------------------------------------------------
+ BINFILES = \
+-      $(SYSLETS:%=$(OZBIN)/%)
++      $(SYSLETS:%=$(BINDIR)/%)
+ install: install-main install-cache
+ install-main: all \
+-      $(OZBIN) $(BINFILES) \
++      $(BINDIR) $(BINFILES) \
+       $(OZEX) $(OZEXGUMP) $(EXAMPLEFILES)
+-$(OZBIN) $(OZEX) $(OZEXGUMP):
++$(BINDIR) $(OZEX) $(OZEXGUMP):
+       $(INSTALL_DIR) $@
+-$(OZBIN)/%: %
++$(BINDIR)/%: % $(BINDIR)
+       $(INSTALL_BIN) $< $@
+-$(OZEXGUMP)/%: gump/examples/%
++$(OZEXGUMP)/%: gump/examples/% $(OZEXGUMP)
+       $(INSTALL_FILE) $< $@
+ install-cache: \
+@@ -288,13 +288,13 @@
+ $(CACHEDIR) $(IMAGESDIR) $(OZCARIMAGESDIR) $(INSPECTORIMAGESDIR):
+       $(INSTALL_DIR) $@
+-$(CACHEDIR)/%: %
++$(CACHEDIR)/%: % $(CACHEDIR)
+       $(INSTALL_FILE) $< $@
+-$(OZCARIMAGESDIR)/%: ozcar/images/%
++$(OZCARIMAGESDIR)/%: ozcar/images/% $(OZCARIMAGESDIR)
+       $(INSTALL_FILE) $< $@
+-$(INSPECTORIMAGESDIR)/%: inspector/images/%
++$(INSPECTORIMAGESDIR)/%: inspector/images/% $(INSPECTORIMAGESDIR)
+       $(INSTALL_FILE) $< $@
+ #---------------------------------------------------------------------
diff --git a/dev-lang/mozart/metadata.xml b/dev-lang/mozart/metadata.xml
new file mode 100644 (file)
index 0000000..5391604
--- /dev/null
@@ -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/mozart-1.3.2.ebuild b/dev-lang/mozart/mozart-1.3.2.ebuild
new file mode 100644 (file)
index 0000000..4162db6
--- /dev/null
@@ -0,0 +1,96 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mozart/mozart-1.3.2.ebuild,v 1.1 2007/02/14 08:30:49 keri Exp $
+
+inherit eutils
+
+MY_P="mozart-${PV}.20060615"
+
+DESCRIPTION="The Mozart Programming System is an advanced development platform for intelligent, distributed applications"
+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-src.tar.gz
+       doc? ( http://www.mozart-oz.org/download/mozart-ftp/store/1.3.2-2006-06-15-tar/mozart-1.3.2.20060615-doc.tar.gz )"
+LICENSE="Mozart"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc emacs gdbm static tcl threads tk"
+
+DEPEND="dev-lang/perl
+       dev-libs/gmp
+       sys-devel/bison
+       sys-devel/flex
+       sys-libs/zlib
+       gdbm? ( sys-libs/gdbm  )
+       tcl? ( tk? (
+                       dev-lang/tk
+                       dev-lang/tcl ) )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${MY_P}
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       epatch "${FILESDIR}"/${P}-portage.patch
+       epatch "${FILESDIR}"/${P}-contrib.patch
+       epatch "${FILESDIR}"/${P}-gcc4.patch
+       epatch "${FILESDIR}"/${P}-nostrip.patch
+       epatch "${FILESDIR}"/${P}-ozplatform.patch
+}
+
+src_compile() {
+       cd "${S}"
+       local myconf="\
+                       --without-global-oz \
+                       --enable-opt=none"
+
+       if use emacs ; then
+               myconf="${myconf} --enable-compile-elisp"
+       else
+               myconf="${myconf} --disable-compile-elisp"
+       fi
+
+       if use tcl && use tk ; then
+               myconf="${myconf} --enable-wish"
+       else
+               myconf="${myconf} --disable-wish"
+       fi
+
+       econf \
+               ${myconf} \
+               --enable-contrib \
+               --enable-contrib-regex \
+               --enable-contrib-os \
+               --enable-contrib-micq \
+               --enable-contrib-ri \
+               --enable-contrib-davinci \
+               --enable-contrib-reflect \
+               --enable-contrib-investigator \
+               --enable-contrib-fcp \
+               --enable-contrib-compat \
+               --enable-contrib-directory \
+               --disable-contrib-psql \
+               --disable-contrib-lp \
+               --disable-doc \
+               $(use_enable doc contrib-doc) \
+               $(use_enable gdbm contrib-gdbm) \
+               $(use_enable static link-static) \
+               $(use_enable threads threaded) \
+               || die "econf failed"
+
+       emake -j1 bootstrap || die "emake bootstrap 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 "${WORKDIR}"/mozart/doc/*
+       fi
+
+       dodoc README
+}