diff options
author | 2008-01-18 16:11:26 +0000 | |
---|---|---|
committer | 2008-01-18 16:11:26 +0000 | |
commit | fcb73f0521f5ec495c11a8e2304f67aed8f4e11e (patch) | |
tree | 30f36fd60f420d69040253c90e2d26fbeae4b829 /dev-lang | |
parent | Version bump. (diff) | |
download | gentoo-2-fcb73f0521f5ec495c11a8e2304f67aed8f4e11e.tar.gz gentoo-2-fcb73f0521f5ec495c11a8e2304f67aed8f4e11e.tar.bz2 gentoo-2-fcb73f0521f5ec495c11a8e2304f67aed8f4e11e.zip |
Cleanup ebuild.
(Portage version: 2.1.4)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/dmd-bin/ChangeLog | 11 | ||||
-rw-r--r-- | dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild (renamed from dev-lang/dmd-bin/dmd-bin-2.008.ebuild) | 39 | ||||
-rw-r--r-- | dev-lang/dmd-bin/files/digest-dmd-bin-2.008-r1 (renamed from dev-lang/dmd-bin/files/digest-dmd-bin-2.008) | 0 |
3 files changed, 28 insertions, 22 deletions
diff --git a/dev-lang/dmd-bin/ChangeLog b/dev-lang/dmd-bin/ChangeLog index 47f9121e9da7..f0379bdbe2a4 100644 --- a/dev-lang/dmd-bin/ChangeLog +++ b/dev-lang/dmd-bin/ChangeLog @@ -1,6 +1,13 @@ # 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.13 2007/12/24 20:08:28 anant Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/ChangeLog,v 1.14 2008/01/18 16:11:25 anant Exp $ + +*dmd-bin-2.008-r1 (18 Jan 2008) + + 18 Jan 2008; <anant@gentoo.org> -dmd-bin-2.008.ebuild, + +dmd-bin-2.008-r1.ebuild: + Cleanup ebuild, and install only what's neccessary. Fixes bugs #206346 and + #203350 *dmd-bin-2.008 (24 Dec 2007) diff --git a/dev-lang/dmd-bin/dmd-bin-2.008.ebuild b/dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild index 7f7651c153e8..2a7b5fa87691 100644 --- a/dev-lang/dmd-bin/dmd-bin-2.008.ebuild +++ b/dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/dmd-bin-2.008.ebuild,v 1.1 2007/12/24 20:08:28 anant Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild,v 1.1 2008/01/18 16:11:25 anant Exp $ inherit eutils @@ -26,11 +26,6 @@ RDEPEND="amd64? ( app-emulation/emul-linux-x86-compat ) src_unpack() { unpack "${A}" - # Remove unneccessary files - rm -r "${S}/dmd/lib" - rm -r "${S}/dm" - rm dmd/license.txt dmd/readme - # Cleanup line endings cd "${S}/dmd" edos2unix `find . -name '*.c' -type f` @@ -46,11 +41,6 @@ src_unpack() { fperms guo=r `find . -type f` fperms guo=rx `find . -type d` fperms guo=rx bin/dmd bin/dumpobj bin/obj2asm bin/rdmd - mv bin/{dmd,dumpobj,obj2asm,rdmd} . - rm -r bin/ - mkdir bin - mkdir lib - mv ./{dmd,dumpobj,obj2asm,rdmd} bin/ } src_compile() { @@ -75,21 +65,30 @@ DFLAGS=-I/opt/dmd/src/phobos -L-L/opt/dmd/lib END insinto /etc doins bin/dmd.conf - rm bin/dmd.conf # Man pages doman man/man1/dmd.1 doman man/man1/dumpobj.1 doman man/man1/obj2asm.1 - rm -r man # Documentation - dohtml html/d/* html/d/phobos/* - rm -r html + dohtml "html/d/*" "html/d/phobos/*" # Install - mkdir "${D}/opt" - mv "${S}/dmd" "${D}/opt/dmd" + exeinto /opt/dmd/bin + doexe bin/dmd + doexe bin/dumpobj + doexe bin/obj2asm + doexe bin/rdmd + + insinto /opt/dmd/lib + doins lib/libphobos2.a + + insinto /opt/dmd/samples + doins "samples/d/*" + + # Phobos and DMD source + mv src "${D}/opt/dmd/" # Set PATH doenvd "${FILESDIR}/25dmd" @@ -100,7 +99,7 @@ pkg_postinst () { ewarn "env-update && source /etc/profile " ewarn "to be able to use the compiler immediately. " einfo " " - einfo "The bundled sources and samples may be found in " - einfo "/opt/dmd/src and /opt/dmd/samples respectively. " + einfo "The bundled samples and sources may be found in " + einfo "/opt/dmd/samples and /opt/dmd/src respectively. " einfo " " } diff --git a/dev-lang/dmd-bin/files/digest-dmd-bin-2.008 b/dev-lang/dmd-bin/files/digest-dmd-bin-2.008-r1 index c2e63fcae482..c2e63fcae482 100644 --- a/dev-lang/dmd-bin/files/digest-dmd-bin-2.008 +++ b/dev-lang/dmd-bin/files/digest-dmd-bin-2.008-r1 |