diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2007-07-26 14:00:00 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2007-07-26 14:00:00 +0000 |
commit | f88a0f957eff20d14c3f7b1943576319f9f0f294 (patch) | |
tree | e1393cba7acd192e9651da58e67dc1387925aba3 /dev-scheme | |
parent | Stable on sparc (diff) | |
download | gentoo-2-f88a0f957eff20d14c3f7b1943576319f9f0f294.tar.gz gentoo-2-f88a0f957eff20d14c3f7b1943576319f9f0f294.tar.bz2 gentoo-2-f88a0f957eff20d14c3f7b1943576319f9f0f294.zip |
fix docdir path
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/drscheme/ChangeLog | 6 | ||||
-rw-r--r-- | dev-scheme/drscheme/drscheme-370.6_p20070725.ebuild | 29 |
2 files changed, 17 insertions, 18 deletions
diff --git a/dev-scheme/drscheme/ChangeLog b/dev-scheme/drscheme/ChangeLog index 15e030aa1b7e..f487734a38a7 100644 --- a/dev-scheme/drscheme/ChangeLog +++ b/dev-scheme/drscheme/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-scheme/drscheme # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.51 2007/07/25 17:36:58 hkbst Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.52 2007/07/26 14:00:00 hkbst Exp $ + + 26 Jul 2007; Marijn Schouten <hkBst@gentoo.org> + drscheme-370.6_p20070725.ebuild: + fix docdir path *drscheme-360-r3 (25 Jul 2007) diff --git a/dev-scheme/drscheme/drscheme-370.6_p20070725.ebuild b/dev-scheme/drscheme/drscheme-370.6_p20070725.ebuild index 84184f2e0554..49cc71cb9f33 100644 --- a/dev-scheme/drscheme/drscheme-370.6_p20070725.ebuild +++ b/dev-scheme/drscheme/drscheme-370.6_p20070725.ebuild @@ -1,22 +1,19 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/drscheme-370.6_p20070725.ebuild,v 1.1 2007/07/25 16:44:27 hkbst Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/drscheme-370.6_p20070725.ebuild,v 1.2 2007/07/26 14:00:00 hkbst Exp $ -inherit eutils multilib flag-o-matic libtool +inherit eutils -DESCRIPTION="DrScheme programming environment. Includes mzscheme." -HOMEPAGE="http://www.plt-scheme.org/software/drscheme/" - -MY_PV=${PV%%_p*} - -SRC_URI="mirror://gentoo/plt-${MY_PV}-src-unix.tgz" +SRC_URI="mirror://gentoo/plt-${PV%%_p*}-src-unix.tgz" # http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz # http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz" +DESCRIPTION="DrScheme programming environment. Includes mzscheme." +HOMEPAGE="http://www.plt-scheme.org/software/drscheme/" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="cgc backtrace cairo doc llvm opengl profile X xft xrender" +IUSE="backtrace cairo cgc llvm opengl profile X xft xrender" RDEPEND="X? ( x11-libs/libICE x11-libs/libSM @@ -32,7 +29,12 @@ RDEPEND="X? ( x11-libs/libICE DEPEND="${RDEPEND}" -S="${WORKDIR}/plt-${MY_PV}" +S="${WORKDIR}/plt-${PV%%_p*}" + +src_unpack() { + unpack ${A}; cd "${S}" + sed "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," -i src/configure +} src_compile() { cd src @@ -69,13 +71,6 @@ src_install() { emake DESTDIR="${D}" install-cgc || die "make install-cgc failed" fi - use doc && mv -f "${D}"/usr/share/plt/doc/* "${D}/usr/share/doc/${PF}/" - rm -rf "${D}/usr/share/plt/doc" - - # needed so online help works - keepdir /usr/share/plt - dosym "/usr/share/doc/${PF}" "/usr/share/plt/doc" - if use X; then newicon ../collects/icons/PLT-206.png drscheme.png make_desktop_entry drscheme "DrScheme" drscheme.png "Development" |