From ac096f0aaafe780821c30fae0b01d02150d6743e Mon Sep 17 00:00:00 2001 From: Anant Narayanan Date: Thu, 26 Jul 2007 17:38:29 +0000 Subject: bump to 1.020 (bug #186631) (Portage version: 2.1.3_rc6) --- dev-lang/dmd-bin/ChangeLog | 8 +- dev-lang/dmd-bin/dmd-bin-1.018.ebuild | 109 ---------------------------- dev-lang/dmd-bin/dmd-bin-1.020.ebuild | 109 ++++++++++++++++++++++++++++ dev-lang/dmd-bin/files/digest-dmd-bin-1.018 | 3 - dev-lang/dmd-bin/files/digest-dmd-bin-1.020 | 3 + 5 files changed, 119 insertions(+), 113 deletions(-) delete mode 100644 dev-lang/dmd-bin/dmd-bin-1.018.ebuild create mode 100644 dev-lang/dmd-bin/dmd-bin-1.020.ebuild delete mode 100644 dev-lang/dmd-bin/files/digest-dmd-bin-1.018 create mode 100644 dev-lang/dmd-bin/files/digest-dmd-bin-1.020 (limited to 'dev-lang') diff --git a/dev-lang/dmd-bin/ChangeLog b/dev-lang/dmd-bin/ChangeLog index b20b4590183e..470c2b00d6c1 100644 --- a/dev-lang/dmd-bin/ChangeLog +++ b/dev-lang/dmd-bin/ChangeLog @@ -1,6 +1,12 @@ # 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.8 2007/07/02 14:40:39 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/ChangeLog,v 1.9 2007/07/26 17:38:29 anant Exp $ + +*dmd-bin-1.020 (26 Jul 2007) + + 26 Jul 2007; Anant Narayanan -dmd-bin-1.018.ebuild, + +dmd-bin-1.020.ebuild: + bump to 1.020 (bug #186631) 02 Jul 2007; Piotr JaroszyƄski dmd-bin-1.016.ebuild, dmd-bin-1.018.ebuild: diff --git a/dev-lang/dmd-bin/dmd-bin-1.018.ebuild b/dev-lang/dmd-bin/dmd-bin-1.018.ebuild deleted file mode 100644 index 56f423dd37d6..000000000000 --- a/dev-lang/dmd-bin/dmd-bin-1.018.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# 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.018.ebuild,v 1.3 2007/07/13 06:25:50 mr_bones_ Exp $ - -inherit eutils - -MY_P=${P/-bin/} -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 strip" -SLOT="0" -KEYWORDS="~x86" - -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 - mv ${S}/dmd/lib/libphobos.a ${S}/dmd - rm -r ${S}/dmd/lib - mkdir ${S}/dmd/lib - mv ${S}/dmd/libphobos.a ${S}/dmd/lib - - 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 - - # Cleanup line endings - cd ${S}/dmd - 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` - - # Fix permissions - fperms guo=r `find . -type f` - fperms guo=rx `find . -type d` - fperms guo=rx bin/dmd bin/dumpobj bin/obj2asm bin/rdmd -} - -src_compile() { - cd ${S}/dmd/src/phobos - sed -i -e "s:DMD=.*:DMD=${S}/dmd/bin/dmd -I${S}/dmd/src/phobos -L${S}/dmd/lib/libphobos.a:" linux.mak internal/gc/linux.mak - edos2unix linux.mak internal/gc/linux.mak - make -f linux.mak - cp libphobos.a ${S}/dmd/lib - - # Clean up - make -f linux.mak clean - rm internal/gc/*.o -} - -src_install() { - cd ${S}/dmd - - # Broken dmd.conf - # http://d.puremagic.com/issues/show_bug.cgi?id=278 - mv bin/dmd bin/dmd.bin - cat < "bin/dmd" -#!/bin/sh -${LOC}/bin/dmd.bin -I${LOC}/src/phobos -L${LOC}/lib/libphobos.a \$* -END - fperms guo=rx bin/dmd bin/dmd.bin - - # 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 " " - ewarn "http://d.puremagic.com/issues/show_bug.cgi?id=278" - ewarn " " - ewarn "has been fixed. Meanwhile, please supply all your" - ewarn "configuration options in the /opt/dmd/bin/dmd " - ewarn "shell script. " - ewarn " " - ewarn "You may need to run: " - ewarn " " - ewarn "env-update && source /etc/profile " - ewarn " " - ewarn "to be able to use the compiler immediately. " - ewarn " " -} diff --git a/dev-lang/dmd-bin/dmd-bin-1.020.ebuild b/dev-lang/dmd-bin/dmd-bin-1.020.ebuild new file mode 100644 index 000000000000..13e0be0989cd --- /dev/null +++ b/dev-lang/dmd-bin/dmd-bin-1.020.ebuild @@ -0,0 +1,109 @@ +# 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.020.ebuild,v 1.1 2007/07/26 17:38:29 anant Exp $ + +inherit eutils + +MY_P=${P/-bin/} +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 strip" +SLOT="0" +KEYWORDS="~x86" + +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 + mv ${S}/dmd/lib/libphobos.a ${S}/dmd + rm -r ${S}/dmd/lib + mkdir ${S}/dmd/lib + mv ${S}/dmd/libphobos.a ${S}/dmd/lib + + 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 + + # Cleanup line endings + cd ${S}/dmd + 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` + + # Fix permissions + fperms guo=r `find . -type f` + fperms guo=rx `find . -type d` + fperms guo=rx bin/dmd bin/dumpobj bin/obj2asm bin/rdmd +} + +src_compile() { + cd ${S}/dmd/src/phobos + sed -i -e "s:DMD=.*:DMD=${S}/dmd/bin/dmd -I${S}/dmd/src/phobos -L${S}/dmd/lib/libphobos.a:" linux.mak internal/gc/linux.mak + edos2unix linux.mak internal/gc/linux.mak + make -f linux.mak + cp libphobos.a ${S}/dmd/lib + + # Clean up + make -f linux.mak clean + rm internal/gc/*.o +} + +src_install() { + cd ${S}/dmd + + # Broken dmd.conf + # http://d.puremagic.com/issues/show_bug.cgi?id=278 + mv bin/dmd bin/dmd.bin + cat < "bin/dmd" +#!/bin/sh +${LOC}/bin/dmd.bin -I${LOC}/src/phobos -L${LOC}/lib/libphobos.a \$* +END + fperms guo=rx bin/dmd bin/dmd.bin + + # 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 " " + ewarn "http://d.puremagic.com/issues/show_bug.cgi?id=278" + ewarn " " + ewarn "has been fixed. Meanwhile, please supply all your" + ewarn "configuration options in the /opt/dmd/bin/dmd " + ewarn "shell script. " + ewarn " " + ewarn "You may need to run: " + ewarn " " + ewarn "env-update && source /etc/profile " + ewarn " " + ewarn "to be able to use the compiler immediately. " + ewarn " " +} diff --git a/dev-lang/dmd-bin/files/digest-dmd-bin-1.018 b/dev-lang/dmd-bin/files/digest-dmd-bin-1.018 deleted file mode 100644 index d8f66a135065..000000000000 --- a/dev-lang/dmd-bin/files/digest-dmd-bin-1.018 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 7953ea44dad28ad06fc7eea219407a43 dmd.1.018.zip 4824628 -RMD160 7869056b28416777978325595d33a219333cade8 dmd.1.018.zip 4824628 -SHA256 094c35e2845ed54c519052a4a0b8bb447c0421762a4a4070627d357a1c6c46be dmd.1.018.zip 4824628 diff --git a/dev-lang/dmd-bin/files/digest-dmd-bin-1.020 b/dev-lang/dmd-bin/files/digest-dmd-bin-1.020 new file mode 100644 index 000000000000..230bf5ebe557 --- /dev/null +++ b/dev-lang/dmd-bin/files/digest-dmd-bin-1.020 @@ -0,0 +1,3 @@ +MD5 353c95c5fed434cb8f665451c3dc30fd dmd.1.020.zip 4836471 +RMD160 3c1a7a17ef34a2c838ff333020130ee59708fdab dmd.1.020.zip 4836471 +SHA256 c81df8d718d70e3687e08e67c764186315192c3a786574b30dac9f0638f88045 dmd.1.020.zip 4836471 -- cgit v1.2.3-65-gdbad