--- /dev/null
+# 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)
+
--- /dev/null
+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 2094 RMD160 b4fb683d2843c6ccc375726f32aaa86ef9d70f6f SHA1 8e5f77e01920d4219482333a163ba0fb112121cc SHA256 df07802864f0d20423e1c9826d048fb5470303f405416aabdcb3d05edd023d0b
+MD5 25a4c51addff6c3954541def93dea370 dmd-bin-1.0.0.ebuild 2094
+RMD160 b4fb683d2843c6ccc375726f32aaa86ef9d70f6f dmd-bin-1.0.0.ebuild 2094
+SHA256 df07802864f0d20423e1c9826d048fb5470303f405416aabdcb3d05edd023d0b dmd-bin-1.0.0.ebuild 2094
+MISC ChangeLog 436 RMD160 1e573ac4a35a725629fe6a3f040067a485e1d491 SHA1 8258754b36779ee673284bc63be384160923e60c SHA256 60c83e56264f4e5feb04a3a899e253ba5d2daf0d6efdea2b61edc4f5b09c50d3
+MD5 22ea17cf3852fb34f862c1315fde1c4c ChangeLog 436
+RMD160 1e573ac4a35a725629fe6a3f040067a485e1d491 ChangeLog 436
+SHA256 60c83e56264f4e5feb04a3a899e253ba5d2daf0d6efdea2b61edc4f5b09c50d3 ChangeLog 436
+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
--- /dev/null
+# 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."
+}
--- /dev/null
+PATH=/opt/dmd/bin
+ROOTPATH=/opt/dmd/bin
--- /dev/null
+MD5 d237f95ed2c576438e0252b890e83075 dmd.1.00.zip 4664857
+RMD160 b7ec04dd75d11d188b6ec2945aabdcfdc84870b2 dmd.1.00.zip 4664857
+SHA256 42474b3071268d2b00fcd94ee1fa0be902f6808023efc268c52f9a28063cd823 dmd.1.00.zip 4664857
--- /dev/null
+<?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>