summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-02 04:11:02 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-02 04:11:02 +0000
commit0cd7590e6c7f78d51f6730a6733fbb6668e0cd12 (patch)
treece20458c6adf7dbf9ad2d5bbc5370d1f788fd0bf /dev-lang/cm3-bin
parentstable on mips (diff)
downloadhistorical-0cd7590e6c7f78d51f6730a6733fbb6668e0cd12.tar.gz
historical-0cd7590e6c7f78d51f6730a6733fbb6668e0cd12.tar.bz2
historical-0cd7590e6c7f78d51f6730a6733fbb6668e0cd12.zip
Version bump #81799 by Stefan Sperling.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-lang/cm3-bin')
-rw-r--r--dev-lang/cm3-bin/ChangeLog10
-rw-r--r--dev-lang/cm3-bin/Manifest8
-rw-r--r--dev-lang/cm3-bin/cm3-bin-5.2.7_pre050331.ebuild60
-rw-r--r--dev-lang/cm3-bin/files/cm3.cfg21
-rw-r--r--dev-lang/cm3-bin/files/digest-cm3-bin-5.2.7_pre0503311
5 files changed, 82 insertions, 18 deletions
diff --git a/dev-lang/cm3-bin/ChangeLog b/dev-lang/cm3-bin/ChangeLog
index 9b61044e36da..c02120b81673 100644
--- a/dev-lang/cm3-bin/ChangeLog
+++ b/dev-lang/cm3-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/cm3-bin
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3-bin/ChangeLog,v 1.3 2004/06/24 22:47:44 agriffis Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3-bin/ChangeLog,v 1.4 2005/04/02 04:11:02 vapier Exp $
+
+*cm3-bin-5.2.7_pre050331 (02 Apr 2005)
+
+ 02 Apr 2005; Mike Frysinger <vapier@gentoo.org> files/cm3.cfg,
+ +cm3-bin-5.2.7_pre050331.ebuild:
+ Version bump #81799 by Stefan Sperling.
28 Jul 2003; Michael Sterrett <msterret@gentoo.org> cm3-bin-5.2.6.ebuild:
only IUSE if actually used
diff --git a/dev-lang/cm3-bin/Manifest b/dev-lang/cm3-bin/Manifest
index e3eb6386f9bf..d266d75731ad 100644
--- a/dev-lang/cm3-bin/Manifest
+++ b/dev-lang/cm3-bin/Manifest
@@ -1,8 +1,10 @@
-MD5 d856f4c37d81cb73b3bc452cc181bb39 ChangeLog 438
-MD5 43766096cc1c6c58250f68b9f69af3e8 cm3-bin-5.2.6.ebuild 1558
+MD5 998934d5aa8087991ec997c66dadce0a ChangeLog 619
MD5 4a92760230ce87e45653db9797a26de6 metadata.xml 1943
+MD5 85b167f505529a8f32d6c5acd9d7140e cm3-bin-5.2.7_pre050331.ebuild 1731
+MD5 43766096cc1c6c58250f68b9f69af3e8 cm3-bin-5.2.6.ebuild 1558
MD5 a071e91cf56b602fba2b046c25fa0826 files/05cm3 26
-MD5 08242bcab24cbeb3ca6adff542f7e746 files/cm3.cfg 5171
+MD5 b0387f56bb86fe8fdbb31cb841d57161 files/cm3.cfg 4916
MD5 9e6999a8078829ff6e304a50188d16dc files/m3build 26
MD5 14dee9e93009ef0a53a4a8a24968cae2 files/digest-cm3-bin-5.2.6 159
MD5 5e3a7f25af13b2b9d199d0e361f04556 files/m3ship 25
+MD5 8a5aff788e14c6e0b51d9c4364eb892a files/digest-cm3-bin-5.2.7_pre050331 92
diff --git a/dev-lang/cm3-bin/cm3-bin-5.2.7_pre050331.ebuild b/dev-lang/cm3-bin/cm3-bin-5.2.7_pre050331.ebuild
new file mode 100644
index 000000000000..f49230619cd9
--- /dev/null
+++ b/dev-lang/cm3-bin/cm3-bin-5.2.7_pre050331.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3-bin/cm3-bin-5.2.7_pre050331.ebuild,v 1.1 2005/04/02 04:11:02 vapier Exp $
+
+inherit toolchain-funcs
+
+STAMP=${PV/*_pre}
+MY_PV=${PV/_pre*}-20${STAMP:0:2}-${STAMP:2:2}-${STAMP:4:2}
+DESCRIPTION="Critical Mass Modula-3 compiler (binary version)"
+HOMEPAGE="http://www.elegosoft.com/cm3/"
+SRC_URI="x86? ( http://www.elegosoft.com/cm3/cm3-min-POSIX-LINUXLIBC6-d${MY_PV}.tgz )
+ amd64? ( http://www.elegosoft.com/cm3/cm3-min-POSIX-LINUXLIBC6-d${MY_PV}.tgz )"
+
+LICENSE="CMASS-M3 DEC-M3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="amd64? ( app-emulation/emul-linux-x86-glibc )"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ tar -zxf system.tgz || die "unpacking system.tgz"
+
+ local TARGET
+ local GNU_PLATFORM
+ case ${ARCH} in
+ amd64|x86)
+ TARGET=LINUXLIBC6
+ GNU_PLATFORM=i486--linuxelf
+ ;;
+ ppc)
+ TARGET=PPC_LINUX
+ GNU_PLATFORM=powerpc-apple-linuxelf
+ ;;
+ esac
+ sed \
+ -e "s:GENTOO_TARGET:${TARGET}:" \
+ -e "s:GENTOO_GNU_PLATFORM:${GNU_PLATFORM}:" \
+ -e "s:GENTOO_INITIAL_REACTOR_EDITOR:${EDITOR:-/usr/bin/nano}:" \
+ -e "s:GENTOO_INSTALL_ROOT:/usr/lib/cm3/:" \
+ -e "s:GENTOO_GNU_CC:$(tc-getCC):" \
+ -e "s:GENTOO_GNU_CFLAGS:${CFLAGS:--O}:" \
+ -e "s:GENTOO_GNU_MAKE:${MAKE:-make}:" \
+ -e "s:GENTOO_ROOT:/usr/lib/cm3/pkg/:" \
+ "${FILESDIR}"/cm3.cfg > bin/cm3.cfg
+}
+
+src_install() {
+ dodir /usr/lib/cm3 /usr/bin
+ mv pkg bin lib "${D}"/usr/lib/cm3/ || die "mv lib"
+ dosym /usr/lib/cm3/bin/cm3 /usr/bin/cm3
+ dosym /usr/lib/cm3/bin/cm3.cfg /usr/bin/cm3.cfg
+ dosym /usr/lib/cm3/bin/cm3cg /usr/bin/cm3cg
+ dobin "${FILESDIR}"/m3{build,ship}
+
+ doenvd "${FILESDIR}"/05cm3
+}
diff --git a/dev-lang/cm3-bin/files/cm3.cfg b/dev-lang/cm3-bin/files/cm3.cfg
index dcc895ccb091..fd485bd0f07e 100644
--- a/dev-lang/cm3-bin/files/cm3.cfg
+++ b/dev-lang/cm3-bin/files/cm3.cfg
@@ -1,8 +1,4 @@
-% Copyright 1996 Critical Mass, Inc. All rights reserved.
-% For definitions of variables see cm3.cfg--default
-
-%M3_PROFILING = TRUE
-%M3_PROFILING = FALSE
+% cm3 config file
readonly TARGET = "GENTOO_TARGET"
if M3_PROFILING
@@ -49,11 +45,10 @@ readonly INSTALL_IMPLS = TRUE
SYSTEM_LIBS = {
"LIBC" : [ "-lm" ],
- "FLEX-BISON" : [ "-L/usr/lib", "-lfl" ],
- "OPENGL" : [ "-L/usr/lib", "-lGLU", "-lGL", "-lXext" ],
- "MOTIF" : [ "-L/usr/X11R6/lib", "-lXm" ],
- "X11" : [ "-L/usr/X11R6/lib", "-lXaw", "-lXmu", "-lXext",
- "-lXt", "-lSM", "-lICE", "-lX11" ],
+ "FLEX-BISON" : [ "-lfl" ],
+ "OPENGL" : [ "-lGLU", "-lGL", "-lXext" ],
+ "MOTIF" : [ "-lXm" ],
+ "X11" : [ "-lXaw", "-lXmu", "-lXext", "-lXt", "-lSM", "-lICE", "-lX11" ],
% "POSTGRES95" : [ ]
% "ODBC" : [ ]
"TCP" : [ ]
@@ -62,9 +57,9 @@ SYSTEM_LIBS = {
SYSTEM_LIBORDER = [ "OPENGL", "DECPEX", "MOTIF", "X11", "TCP", "ODBC",
"POSTGRES95", "FLEX-BISON", "LEX-YACC", "LIBC" ]
-readonly SYSTEM_CC = "/usr/bin/gcc"
-readonly SYSTEM_AR = "/usr/bin/ar"
-readonly SYSTEM_ASM = "/usr/bin/as"
+readonly SYSTEM_CC = "gcc"
+readonly SYSTEM_AR = "ar"
+readonly SYSTEM_ASM = "as"
readonly m3back = "@" & BIN_USE & "/cm3cg"
diff --git a/dev-lang/cm3-bin/files/digest-cm3-bin-5.2.7_pre050331 b/dev-lang/cm3-bin/files/digest-cm3-bin-5.2.7_pre050331
new file mode 100644
index 000000000000..16799bee5be9
--- /dev/null
+++ b/dev-lang/cm3-bin/files/digest-cm3-bin-5.2.7_pre050331
@@ -0,0 +1 @@
+MD5 d0c2f6cd8e0d5d90aa613dc00f3994df cm3-min-POSIX-LINUXLIBC6-d5.2.7-2005-03-31.tgz 5307142