summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-06-15 16:12:46 +0000
committerJustin Lecher <jlec@gentoo.org>2010-06-15 16:12:46 +0000
commit2d6d857e2a97b602164bc93f8b21f0cb47ccb733 (patch)
treeb6118b452909313f33367a779fb7f0c3f0d1b582 /media-gfx/graphviz
parentMove dev-util/tig to dev-vcs/tig (diff)
downloadgentoo-2-2d6d857e2a97b602164bc93f8b21f0cb47ccb733.tar.gz
gentoo-2-2d6d857e2a97b602164bc93f8b21f0cb47ccb733.tar.bz2
gentoo-2-2d6d857e2a97b602164bc93f8b21f0cb47ccb733.zip
Fixes for prefix and keyworded for ~-linux
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/graphviz')
-rw-r--r--media-gfx/graphviz/graphviz-2.26.3-r1.ebuild22
1 files changed, 11 insertions, 11 deletions
diff --git a/media-gfx/graphviz/graphviz-2.26.3-r1.ebuild b/media-gfx/graphviz/graphviz-2.26.3-r1.ebuild
index 2b5ecff581bd..baf9b12bbaf4 100644
--- a/media-gfx/graphviz/graphviz-2.26.3-r1.ebuild
+++ b/media-gfx/graphviz/graphviz-2.26.3-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.26.3-r1.ebuild,v 1.2 2010/05/22 19:26:13 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.26.3-r1.ebuild,v 1.3 2010/06/15 16:12:46 jlec Exp $
-EAPI=2
+EAPI=3
inherit eutils autotools multilib python
DESCRIPTION="Open Source Graph Visualization Software"
@@ -11,7 +11,7 @@ SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz"
LICENSE="CPL-1.0"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="cairo doc examples gtk java lasi nls perl python ruby static-libs tcl"
# Requires ksh
@@ -112,9 +112,9 @@ src_prepare() {
# Update this file from our local libtool which is much newer than the
# bundled one. This allows MAKEOPTS=-j2 to work on FreeBSD.
if has_version ">=sys-devel/libtool-2" ; then
- cp /usr/share/libtool/config/install-sh config || die
+ cp "${EPREFIX}"/usr/share/libtool/config/install-sh config || die
else
- cp /usr/share/libtool/install-sh config || die
+ cp "${EPREFIX}"/usr/share/libtool/install-sh config || die
fi
# no nls, no gettext, no iconv macro, so disable it
@@ -186,17 +186,17 @@ src_install() {
sed -i -e "s:htmldir:htmlinfodir:g" doc/info/Makefile || die
emake DESTDIR="${D}" \
- txtdir=/usr/share/doc/${PF} \
- htmldir=/usr/share/doc/${PF}/html \
- htmlinfodir=/usr/share/doc/${PF}/html/info \
- pdfdir=/usr/share/doc/${PF}/pdf \
- pkgconfigdir=/usr/$(get_libdir)/pkgconfig \
+ txtdir="${EPREFIX}"/usr/share/doc/${PF} \
+ htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
+ htmlinfodir="${EPREFIX}"/usr/share/doc/${PF}/html/info \
+ pdfdir="${EPREFIX}"/usr/share/doc/${PF}/pdf \
+ pkgconfigdir="${EPREFIX}"/usr/$(get_libdir)/pkgconfig \
install || die "emake install failed"
use examples || rm -rf "${D}/usr/share/graphviz/demo"
if ! use static-libs; then
- find "${D}"/usr/$(get_libdir)/ -name '*.la' -delete || die
+ find "${ED}"/usr/$(get_libdir)/ -name '*.la' -delete || die
fi
dodoc AUTHORS ChangeLog NEWS README