summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/dmd-bin/ChangeLog11
-rw-r--r--dev-lang/dmd-bin/Manifest20
-rw-r--r--dev-lang/dmd-bin/dmd-bin-1.0.0.ebuild84
-rw-r--r--dev-lang/dmd-bin/files/25dmd2
-rw-r--r--dev-lang/dmd-bin/files/digest-dmd-bin-1.0.03
-rw-r--r--dev-lang/dmd-bin/metadata.xml13
6 files changed, 133 insertions, 0 deletions
diff --git a/dev-lang/dmd-bin/ChangeLog b/dev-lang/dmd-bin/ChangeLog
new file mode 100644
index 000000000000..b5bf1c210b8e
--- /dev/null
+++ b/dev-lang/dmd-bin/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-lang/dmd-bin
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/ChangeLog,v 1.1 2007/03/09 14:56:18 anant Exp $
+
+*dmd-bin-1.0.0 (08 Mar 2007)
+
+ 08 Mar 2007; <anant@gentoo.org> +files/25dmd, +metadata.xml,
+ +dmd-bin-1.0.0.ebuild:
+ Introduce version 1.0 of the D compiler from Digital Mars. Thanks go to Thomas
+ Kuhne for inputs (bug #46806)
+
diff --git a/dev-lang/dmd-bin/Manifest b/dev-lang/dmd-bin/Manifest
new file mode 100644
index 000000000000..b9bc59f83b50
--- /dev/null
+++ b/dev-lang/dmd-bin/Manifest
@@ -0,0 +1,20 @@
+AUX 25dmd 40 RMD160 cb1eb838eaf98d9898134384d3aefeec86bdd50a SHA1 1b7b42ad749a3541fb80bb944a49706ff974bd91 SHA256 40a0ac49424a2ce0a372c66fac3c77b6634138beaacffda0c167f3a81d4a286c
+MD5 ce9610602af9ec245759402355292cc6 files/25dmd 40
+RMD160 cb1eb838eaf98d9898134384d3aefeec86bdd50a files/25dmd 40
+SHA256 40a0ac49424a2ce0a372c66fac3c77b6634138beaacffda0c167f3a81d4a286c files/25dmd 40
+DIST dmd.1.00.zip 4664857 RMD160 b7ec04dd75d11d188b6ec2945aabdcfdc84870b2 SHA1 40d85ca8c2e3f4bfe8560d55e62c147e5e9ab107 SHA256 42474b3071268d2b00fcd94ee1fa0be902f6808023efc268c52f9a28063cd823
+EBUILD dmd-bin-1.0.0.ebuild 1996 RMD160 bfdd71c2bdf4fec2e2475deaa46e2b593e058164 SHA1 0847b2ff3c8ac46426b888d738b71f82dec60f21 SHA256 44a03ff8ac046b131ab407bd4e3711f8500a26084db43bfec0895460a0b725e9
+MD5 2c7f958160239ca825cda76a59c89741 dmd-bin-1.0.0.ebuild 1996
+RMD160 bfdd71c2bdf4fec2e2475deaa46e2b593e058164 dmd-bin-1.0.0.ebuild 1996
+SHA256 44a03ff8ac046b131ab407bd4e3711f8500a26084db43bfec0895460a0b725e9 dmd-bin-1.0.0.ebuild 1996
+MISC ChangeLog 349 RMD160 f12670a0fef6b25907ebc688fdd6cf6a4b2242f1 SHA1 fed318b05e1036375ec55d1736cc1e04386846f6 SHA256 4d1bb7f6d9172056334ab936d67c2d27edef6b372b049cb5e6d2e20b5548873f
+MD5 c4cfaf6d2374df9f92e59ab20e31e010 ChangeLog 349
+RMD160 f12670a0fef6b25907ebc688fdd6cf6a4b2242f1 ChangeLog 349
+SHA256 4d1bb7f6d9172056334ab936d67c2d27edef6b372b049cb5e6d2e20b5548873f ChangeLog 349
+MISC metadata.xml 377 RMD160 13a78c943806783fb1fee7aa1e85d172de4d7374 SHA1 bb8415f5926bf8ed23d01a2be2fd3fe41c51b3e1 SHA256 5d3fc7d4a252235ca9ede55a655d65b71d68e7edcacb2ef341589da7e07892e3
+MD5 4abe2134e6ee3e0730cfa6fd890c9f15 metadata.xml 377
+RMD160 13a78c943806783fb1fee7aa1e85d172de4d7374 metadata.xml 377
+SHA256 5d3fc7d4a252235ca9ede55a655d65b71d68e7edcacb2ef341589da7e07892e3 metadata.xml 377
+MD5 616eddc68f499cd50b1e0de5b84c9451 files/digest-dmd-bin-1.0.0 220
+RMD160 9b8155f03b936b99a4bbcde99097939f5b666159 files/digest-dmd-bin-1.0.0 220
+SHA256 fda742947f43b1dabe094522df84bcca749909dfb5a7167d6be9d8278547ac86 files/digest-dmd-bin-1.0.0 220
diff --git a/dev-lang/dmd-bin/dmd-bin-1.0.0.ebuild b/dev-lang/dmd-bin/dmd-bin-1.0.0.ebuild
new file mode 100644
index 000000000000..5bb3afb94e3a
--- /dev/null
+++ b/dev-lang/dmd-bin/dmd-bin-1.0.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/dmd-bin-1.0.0.ebuild,v 1.1 2007/03/09 14:56:18 anant Exp $
+
+inherit eutils
+
+MY_P=${P/-bin/}
+MY_P=${MY_P/0./0}
+MY_P=${MY_P/-/.}
+
+DESCRIPTION="Digital Mars D Compiler"
+HOMEPAGE="http://www.digitalmars.com/d/"
+SRC_URI="http://ftp.digitalmars.com/${MY_P}.zip"
+
+LICENSE="DMD"
+RESTRICT="mirror nostrip"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+LOC="/opt/dmd"
+S="${WORKDIR}"
+
+DEPEND="sys-apps/findutils"
+RDEPEND="amd64? ( app-emulation/emul-linux-x86-compat )
+ x86? ( sys-libs/libstdc++-v3 )"
+
+src_unpack() {
+ unpack ${A}
+
+ # Remove unneccessary files
+ rm -r ${S}/dm
+ rm ${S}/dmd/bin/*.dll ${S}/dmd/bin/*.exe ${S}/dmd/bin/readme.txt
+ rm ${S}/dmd/bin/sc.ini ${S}/dmd/bin/windbg.hlp
+ rm ${S}/dmd/lib/*.LIB ${S}/dmd/lib/*.lib ${S}/dmd/lib/*.obj
+}
+
+src_install() {
+ cd ${S}/dmd
+
+ # Cleanup line endings
+ edos2unix `find . -name '*.c' -type f`
+ edos2unix `find . -name '*.d' -type f`
+ edos2unix `find . -name '*.ddoc' -type f`
+ edos2unix `find . -name '*.h' -type f`
+ edos2unix `find . -name '*.mak' -type f`
+ edos2unix `find . -name '*.txt' -type f`
+ edos2unix `find samples -name '*.html' -type f`
+
+ # Broken dmd.conf
+ # http://d.puremagic.com/issues/show_bug.cgi?id=278
+ mv bin/dmd bin/dmd.bin
+ cat <<END > "bin/dmd"
+#!/bin/sh
+${LOC}/bin/dmd.bin -I${LOC}/src/phobos -L${LOC}/lib \$*
+END
+
+ # Fix permissions
+ fperms guo=r `find . -type f`
+ fperms guo=rx `find . -type d`
+ fperms guo=rx bin/dmd bin/dmd.bin bin/dumpobj bin/obj2asm bin/rdmd
+
+ # Man pages
+ doman man/man1/dmd.1
+ doman man/man1/dumpobj.1
+ doman man/man1/obj2asm.1
+ rm -r man
+
+ # Install
+ mkdir "${D}/opt"
+ mv "${S}/dmd" "${D}/opt/dmd"
+
+ # Set PATH
+ doenvd "${FILESDIR}/25dmd"
+}
+
+pkg_postinst () {
+ ewarn "The DMD Configuration file has been disabled,"
+ ewarn "and will be re-enabled when: "
+ ewarn "http://d.puremagic.com/issues/show_bug.cgi?id=278"
+ ewarn "has been fixed. Meanwhile, please supply all your"
+ ewarn "configuration options in the /opt/dmd/bin/dmd"
+ ewarn "shell script."
+}
diff --git a/dev-lang/dmd-bin/files/25dmd b/dev-lang/dmd-bin/files/25dmd
new file mode 100644
index 000000000000..ab7699d90d75
--- /dev/null
+++ b/dev-lang/dmd-bin/files/25dmd
@@ -0,0 +1,2 @@
+PATH=/opt/dmd/bin
+ROOTPATH=/opt/dmd/bin
diff --git a/dev-lang/dmd-bin/files/digest-dmd-bin-1.0.0 b/dev-lang/dmd-bin/files/digest-dmd-bin-1.0.0
new file mode 100644
index 000000000000..c41e5b5acf8e
--- /dev/null
+++ b/dev-lang/dmd-bin/files/digest-dmd-bin-1.0.0
@@ -0,0 +1,3 @@
+MD5 d237f95ed2c576438e0252b890e83075 dmd.1.00.zip 4664857
+RMD160 b7ec04dd75d11d188b6ec2945aabdcfdc84870b2 dmd.1.00.zip 4664857
+SHA256 42474b3071268d2b00fcd94ee1fa0be902f6808023efc268c52f9a28063cd823 dmd.1.00.zip 4664857
diff --git a/dev-lang/dmd-bin/metadata.xml b/dev-lang/dmd-bin/metadata.xml
new file mode 100644
index 000000000000..dbcecef3f079
--- /dev/null
+++ b/dev-lang/dmd-bin/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>lang-misc</herd>
+<maintainer>
+ <email>anant@gentoo.org</email>
+ <name>Anant Narayanan</name>
+</maintainer>
+<longdescription>
+ This package provides a binary version of
+ the D language compiler from Digital Mars
+</longdescription>
+</pkgmetadata>